Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001825/0.001825, allocations: 119.6 kB / 20.44 MB, free: 1.297 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.001492/0.001492, allocations: 214.5 kB / 23.74 MB, free: 4.527 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.479/1.479, allocations: 230.6 MB / 257.5 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2415/0.2415, allocations: 44.9 MB / 358.8 MB, free: 6.254 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002147/0.002147, allocations: 60.19 kB / 0.4931 GB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.349, allocations: 65.49 MB / 0.557 GB, free: 7.504 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01242/0.3614, allocations: 9.535 MB / 0.5663 GB, free: 14.18 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007923/0.3694, allocations: 3.847 MB / 0.5701 GB, free: 10.32 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001398/0.3708, allocations: 67.62 kB / 0.5702 GB, free: 10.25 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005004/0.3758, allocations: 2.324 MB / 0.5724 GB, free: 7.918 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005032/0.3808, allocations: 1.646 MB / 0.574 GB, free: 6.266 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001886/0.3827, allocations: 0.7018 MB / 0.5747 GB, free: 5.562 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006067/0.3888, allocations: 3.814 MB / 0.5785 GB, free: 1.742 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003533/0.3923, allocations: 2.316 MB / 0.5807 GB, free: 15.37 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002579/0.3949, allocations: 1.308 MB / 0.582 GB, free: 14.06 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003292/0.3982, allocations: 1.869 MB / 0.5838 GB, free: 12.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008605/0.399, allocations: 280 kB / 0.5841 GB, free: 11.91 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002588/0.4016, allocations: 1.19 MB / 0.5853 GB, free: 10.72 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002275/0.4039, allocations: 1.624 MB / 0.5868 GB, free: 9.09 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00292/0.4068, allocations: 1.887 MB / 0.5887 GB, free: 7.191 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009233/0.416, allocations: 6.304 MB / 0.5948 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.416, allocations: 0 / 0.5948 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.416, allocations: 0 / 0.5948 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001544/0.4162, allocations: 7.938 kB / 0.5948 GB, free: 0.8555 MB / 430.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.009883/0.4261, allocations: 4.278 MB / 0.599 GB, free: 12.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.4261, allocations: 8.031 kB / 0.599 GB, free: 12.52 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001061/0.4272, allocations: 0.6121 MB / 0.5996 GB, free: 11.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02128/0.4485, allocations: 3.758 MB / 0.6033 GB, free: 8.129 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006526/0.455, allocations: 2.474 MB / 0.6057 GB, free: 5.598 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001982/0.4552, allocations: 193.3 kB / 0.6059 GB, free: 5.406 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009029/0.4561, allocations: 263.8 kB / 0.6061 GB, free: 5.148 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01733/0.4734, allocations: 8.522 MB / 0.6145 GB, free: 12 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000139/0.4736, allocations: 43.69 kB / 0.6145 GB, free: 11.96 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004582/0.474, allocations: 119.9 kB / 0.6146 GB, free: 11.84 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003229/0.4772, allocations: 1.742 MB / 0.6163 GB, free: 10.1 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01444/0.4917, allocations: 7.432 MB / 0.6236 GB, free: 2.664 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04771/0.5394, allocations: 33.82 MB / 0.6566 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006982/0.5464, allocations: 2.453 MB / 0.659 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00261/0.549, allocations: 1.692 MB / 0.6607 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003644/0.5494, allocations: 100.5 kB / 0.6608 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.893e-05/0.5494, allocations: 59.14 kB / 0.6608 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 3.838e-06/0.5494, allocations: 4 kB / 0.6608 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=156): time 0.03824/0.5877, allocations: 14.26 MB / 0.6747 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/0.5878, allocations: 171.2 kB / 0.6749 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005113/0.5929, allocations: 3.53 MB / 0.6784 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002881/0.5932, allocations: 49.7 kB / 0.6784 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002218/0.5954, allocations: 2.761 MB / 0.6811 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008611/0.5963, allocations: 0.6319 MB / 0.6817 GB, free: 5.949 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001477/0.5977, allocations: 1.072 MB / 0.6828 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.5979, allocations: 301.1 kB / 0.6831 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003111/0.601, allocations: 2.021 MB / 0.685 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006211/0.6072, allocations: 5.222 MB / 0.6901 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01146/0.6187, allocations: 7.847 MB / 0.6978 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001236/0.6188, allocations: 32 kB / 0.6978 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of matching and sorting (n=678) (initialization): time 0.01658/0.6354, allocations: 7.799 MB / 0.7054 GB, free: 10.43 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.319e-05/0.6354, allocations: 52 kB / 0.7055 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001268/0.6356, allocations: 112 kB / 0.7056 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002467/0.638, allocations: 0.9811 MB / 0.7065 GB, free: 9.289 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004154/0.6422, allocations: 1.178 MB / 0.7077 GB, free: 8.109 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01015/0.6523, allocations: 6.803 MB / 0.7143 GB, free: 1.191 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00448/0.6568, allocations: 299.5 kB / 0.7146 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008285/0.6577, allocations: 328 kB / 0.7149 GB, free: 0.5781 MB / 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.003648/0.6613, allocations: 1.856 MB / 0.7168 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007749/0.6621, allocations: 321.9 kB / 0.7171 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006231/0.6683, allocations: 3.183 MB / 0.7202 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.071e-05/0.6683, allocations: 23.94 kB / 0.7202 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.409e-05/0.6684, allocations: 4 kB / 0.7202 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.681e-05/0.6684, allocations: 3.984 kB / 0.7202 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0165/0.6849, allocations: 7.784 MB / 0.7278 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.641e-05/0.6849, allocations: 0 / 0.7278 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001206/0.6861, allocations: 227.6 kB / 0.728 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00222/0.6883, allocations: 0.8159 MB / 0.7288 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001823/0.6885, allocations: 28 kB / 0.7288 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2996/0.9881, allocations: 6.374 MB / 0.7351 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.9881, allocations: 0 / 0.7351 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006925/0.995, allocations: 5.832 MB / 0.7408 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006714/0.9957, allocations: 297.9 kB / 0.741 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003458/0.996, allocations: 23.66 kB / 0.7411 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/0.9972, allocations: 95.25 kB / 0.7412 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000242/0.9974, allocations: 95.55 kB / 0.7412 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/0.9975, allocations: 37.36 kB / 0.7413 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002591/1, allocations: 2.208 MB / 0.7434 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.61e-07/1, allocations: 3.375 kB / 0.7434 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0035/1.004, allocations: 0.8605 MB / 0.7443 GB, free: 151.6 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.006745/1.01, allocations: 6.453 MB / 0.7506 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005835/1.016, allocations: 4.697 MB / 0.7552 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/1.016, allocations: 4 kB / 0.7552 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00235/1.019, allocations: 1.662 MB / 0.7568 GB, free: 143.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002311/1.021, allocations: 386.9 kB / 0.7572 GB, free: 143 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04883/1.07, allocations: 40.89 MB / 0.7971 GB, free: 97.75 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002604/1.072, allocations: 2.884 MB / 0.7999 GB, free: 94.83 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003425/1.076, allocations: 1.708 MB / 0.8016 GB, free: 93.12 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002242/1.078, allocations: 1.55 MB / 0.8031 GB, free: 91.57 MB / 0.5606 GB Notification: Performance of SimCode: time 1.252e-06/1.078, allocations: 0 / 0.8031 GB, free: 91.57 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1156/1.194, allocations: 67.38 MB / 0.8689 GB, free: 24.62 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.9/24.09, allocations: 10.61 kB / 0.8689 GB, free: 24.61 MB / 0.5606 GB " [Timeout remaining time 636] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 27.33866311899328]