Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 107.1 kB / 20.44 MB, free: 1.172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 208.4 kB / 23.73 MB, free: 4.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.447/1.447, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2372/0.2372, allocations: 46.95 MB / 360.9 MB, free: 4.012 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 67.89 kB / 0.4961 GB, free: 7.688 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3475, allocations: 66.04 MB / 0.5606 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01139/0.3589, allocations: 8.369 MB / 0.5688 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008403/0.3673, allocations: 3.614 MB / 0.5723 GB, free: 8.059 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001629/0.3689, allocations: 63.69 kB / 0.5724 GB, free: 7.996 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00476/0.3736, allocations: 2.231 MB / 0.5745 GB, free: 5.758 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004846/0.3785, allocations: 1.661 MB / 0.5762 GB, free: 4.094 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001787/0.3803, allocations: 0.694 MB / 0.5768 GB, free: 3.398 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006214/0.3865, allocations: 3.802 MB / 0.5806 GB, free: 15.59 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003463/0.39, allocations: 2.312 MB / 0.5828 GB, free: 13.22 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002409/0.3924, allocations: 1.316 MB / 0.5841 GB, free: 11.9 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002795/0.3952, allocations: 1.865 MB / 0.5859 GB, free: 10.03 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006805/0.3958, allocations: 280 kB / 0.5862 GB, free: 9.754 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002179/0.398, allocations: 1.073 MB / 0.5872 GB, free: 8.68 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001717/0.3997, allocations: 1.624 MB / 0.5888 GB, free: 7.051 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001743/0.4015, allocations: 1.386 MB / 0.5902 GB, free: 5.656 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008373/0.4098, allocations: 6.327 MB / 0.5964 GB, free: 15.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/0.4099, allocations: 4 kB / 0.5964 GB, free: 15.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.4099, allocations: 0 / 0.5964 GB, free: 15.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002031/0.4101, allocations: 0 / 0.5964 GB, free: 15.3 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1276 * Number of variables: 1276 Notification: Performance of Generate backend data structure: time 0.0114/0.4215, allocations: 4.272 MB / 0.6005 GB, free: 10.97 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/0.4215, allocations: 12.03 kB / 0.6005 GB, free: 10.96 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00119/0.4227, allocations: 0.6082 MB / 0.6011 GB, free: 10.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02089/0.4436, allocations: 3.77 MB / 0.6048 GB, free: 6.566 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006241/0.4498, allocations: 2.474 MB / 0.6072 GB, free: 4.035 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001972/0.45, allocations: 193.3 kB / 0.6074 GB, free: 3.844 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008985/0.4509, allocations: 263.8 kB / 0.6077 GB, free: 3.586 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01478/0.4657, allocations: 8.551 MB / 0.616 GB, free: 10.41 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001235/0.4658, allocations: 47.67 kB / 0.6161 GB, free: 10.36 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003805/0.4662, allocations: 119.9 kB / 0.6162 GB, free: 10.24 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003041/0.4693, allocations: 1.743 MB / 0.6179 GB, free: 8.5 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01495/0.4842, allocations: 7.404 MB / 0.6251 GB, free: 1.09 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04396/0.5282, allocations: 32.47 MB / 0.6568 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006497/0.5347, allocations: 2.446 MB / 0.6592 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002342/0.537, allocations: 1.708 MB / 0.6609 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003182/0.5373, allocations: 92.59 kB / 0.661 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.151e-05/0.5374, allocations: 55.16 kB / 0.661 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 4.418e-06/0.5374, allocations: 0 / 0.661 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=156): time 0.03579/0.5732, allocations: 14.31 MB / 0.675 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/0.5733, allocations: 171.2 kB / 0.6751 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005571/0.5789, allocations: 3.719 MB / 0.6788 GB, free: 9 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000457/0.5793, allocations: 49.7 kB / 0.6788 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002302/0.5816, allocations: 2.765 MB / 0.6815 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008285/0.5824, allocations: 0.6319 MB / 0.6821 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001485/0.5839, allocations: 1.068 MB / 0.6832 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.5841, allocations: 301.1 kB / 0.6835 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003048/0.5871, allocations: 2.013 MB / 0.6854 GB, free: 2.121 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005893/0.593, allocations: 5.247 MB / 0.6906 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0101/0.6031, allocations: 7.847 MB / 0.6982 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.699e-05/0.6032, allocations: 39.88 kB / 0.6983 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of matching and sorting (n=678) (initialization): time 0.01442/0.6176, allocations: 7.803 MB / 0.7059 GB, free: 9.969 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.4e-05/0.6177, allocations: 52 kB / 0.7059 GB, free: 9.918 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001429/0.6178, allocations: 116.8 kB / 0.706 GB, free: 9.805 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002392/0.6202, allocations: 0.9686 MB / 0.707 GB, free: 8.832 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004086/0.6243, allocations: 1.185 MB / 0.7082 GB, free: 7.645 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009466/0.6338, allocations: 6.746 MB / 0.7147 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004109/0.6379, allocations: 295.6 kB / 0.715 GB, free: 0.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009954/0.6389, allocations: 320 kB / 0.7153 GB, free: 192 kB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 516 * Number of states: 0 () * Number of discrete variables: 26 (torque.arrow.twoHeadedArrow,torque.arrow.headAtOrigin,universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],torque.color[3],torque.color[2],torque.color[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (630): * Single equations (assignments): 626 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003247/0.6421, allocations: 1.852 MB / 0.7171 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006871/0.6428, allocations: 321.8 kB / 0.7174 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00588/0.6487, allocations: 3.19 MB / 0.7206 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.272e-05/0.6488, allocations: 16 kB / 0.7206 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.596e-05/0.6488, allocations: 4 kB / 0.7206 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.202e-05/0.6488, allocations: 11.98 kB / 0.7206 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01469/0.6635, allocations: 7.427 MB / 0.7278 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.544e-05/0.6635, allocations: 3.938 kB / 0.7278 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/0.6647, allocations: 231.6 kB / 0.7281 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002188/0.6669, allocations: 0.8085 MB / 0.7289 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001721/0.6671, allocations: 24 kB / 0.7289 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3311/0.9981, allocations: 6.313 MB / 0.735 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.9981, allocations: 0.9062 kB / 0.735 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007119/1.005, allocations: 5.827 MB / 0.7407 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009641/1.006, allocations: 305.9 kB / 0.741 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003441/1.007, allocations: 21.59 kB / 0.741 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/1.008, allocations: 96.81 kB / 0.7411 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002663/1.008, allocations: 92.8 kB / 0.7412 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001231/1.008, allocations: 41.12 kB / 0.7413 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00309/1.011, allocations: 2.209 MB / 0.7434 GB, free: 149 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.011, allocations: 0 / 0.7434 GB, free: 149 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003958/1.015, allocations: 0.8546 MB / 0.7443 GB, free: 148.9 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 111 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006919/1.022, allocations: 6.463 MB / 0.7506 GB, free: 145.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005889/1.028, allocations: 4.698 MB / 0.7552 GB, free: 141 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/1.028, allocations: 0 / 0.7552 GB, free: 141 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002144/1.03, allocations: 1.66 MB / 0.7568 GB, free: 139.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002328/1.033, allocations: 401.1 kB / 0.7572 GB, free: 139.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04795/1.08, allocations: 40.88 MB / 0.7971 GB, free: 94.23 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002208/1.083, allocations: 2.334 MB / 0.7994 GB, free: 91.86 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003155/1.086, allocations: 1.709 MB / 0.801 GB, free: 90.15 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001723/1.088, allocations: 1.561 MB / 0.8026 GB, free: 88.59 MB / 0.5606 GB Notification: Performance of SimCode: time 1.753e-06/1.088, allocations: 0 / 0.8026 GB, free: 88.59 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1046/1.192, allocations: 65.59 MB / 0.8666 GB, free: 23.71 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.23/16.42, allocations: 22.83 kB / 0.8666 GB, free: 23.7 MB / 0.5606 GB " [Timeout remaining time 643] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.594054927001707]