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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") translateModel(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 110.7 kB / 18.45 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 187.1 kB / 19.39 MB, free: 3.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 222.9 MB / 243.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2101/0.2101, allocations: 44.19 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 67.89 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3204, allocations: 60.82 MB / 0.5196 GB, free: 3.867 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01024/0.3307, allocations: 9.566 MB / 0.5289 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008429/0.3391, allocations: 3.809 MB / 0.5326 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001613/0.3408, allocations: 60.62 kB / 0.5327 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004052/0.3449, allocations: 2.293 MB / 0.5349 GB, free: 8.727 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004226/0.3491, allocations: 1.69 MB / 0.5366 GB, free: 7.547 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001595/0.3507, allocations: 0.6948 MB / 0.5373 GB, free: 7.082 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00532/0.3561, allocations: 3.817 MB / 0.541 GB, free: 4.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003381/0.3595, allocations: 2.92 MB / 0.5439 GB, free: 3.258 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002111/0.3616, allocations: 1.305 MB / 0.5451 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002165/0.3638, allocations: 1.748 MB / 0.5468 GB, free: 204 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005753/0.3644, allocations: 284 kB / 0.5471 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002284/0.3667, allocations: 1.182 MB / 0.5483 GB, free: 14.74 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001345/0.368, allocations: 1.629 MB / 0.5499 GB, free: 13.11 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001785/0.3698, allocations: 1.903 MB / 0.5517 GB, free: 11.19 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006923/0.3768, allocations: 6.393 MB / 0.558 GB, free: 4.773 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.3768, allocations: 0 / 0.558 GB, free: 4.773 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3768, allocations: 0 / 0.558 GB, free: 4.773 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001333/0.3769, allocations: 0 / 0.558 GB, free: 4.773 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1305 * Number of variables: 1305 Notification: Performance of Generate backend data structure: time 0.007901/0.3848, allocations: 4.335 MB / 0.5622 GB, free: 376 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.3849, allocations: 8.031 kB / 0.5622 GB, free: 368 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008471/0.3934, allocations: 2.054 MB / 0.5642 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005091/0.3985, allocations: 2.386 MB / 0.5665 GB, free: 11.87 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001446/0.3987, allocations: 197.4 kB / 0.5667 GB, free: 11.67 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005556/0.3992, allocations: 268 kB / 0.567 GB, free: 11.41 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01243/0.4117, allocations: 8.766 MB / 0.5755 GB, free: 2.031 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.853e-05/0.4118, allocations: 51.62 kB / 0.5756 GB, free: 1.98 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003382/0.4121, allocations: 123.9 kB / 0.5757 GB, free: 1.859 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0031/0.4152, allocations: 1.794 MB / 0.5775 GB, free: 68 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01294/0.4282, allocations: 7.725 MB / 0.585 GB, free: 8.332 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03892/0.4671, allocations: 34.64 MB / 0.6188 GB, free: 4.707 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006762/0.4739, allocations: 3.097 MB / 0.6218 GB, free: 1.457 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002172/0.4761, allocations: 1.915 MB / 0.6237 GB, free: 15.54 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003541/0.4765, allocations: 331.9 kB / 0.624 GB, free: 15.15 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.4765, allocations: 51.16 kB / 0.6241 GB, free: 15.09 MB / 494.1 MB Notification: Performance of pre-optimization done (n=135): time 4.088e-06/0.4766, allocations: 0 / 0.6241 GB, free: 15.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=156): time 0.03879/0.5154, allocations: 15.57 MB / 0.6393 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.667e-05/0.5155, allocations: 171.2 kB / 0.6395 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00526/0.5207, allocations: 3.557 MB / 0.6429 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003206/0.5211, allocations: 45.7 kB / 0.643 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001857/0.5229, allocations: 2.804 MB / 0.6457 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000778/0.5237, allocations: 0.6398 MB / 0.6463 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001373/0.5251, allocations: 1.115 MB / 0.6474 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.5252, allocations: 312.9 kB / 0.6477 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002835/0.5281, allocations: 2.138 MB / 0.6498 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005068/0.5332, allocations: 5.382 MB / 0.6551 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008931/0.5421, allocations: 8.096 MB / 0.663 GB, free: 3.828 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.351e-05/0.5422, allocations: 32 kB / 0.663 GB, free: 3.797 MB / 0.5137 GB Notification: Performance of matching and sorting (n=703) (initialization): time 0.01329/0.5555, allocations: 8.348 MB / 0.6712 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.258e-05/0.5556, allocations: 52 kB / 0.6712 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001353/0.5557, allocations: 119.9 kB / 0.6713 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003008/0.5587, allocations: 1.231 MB / 0.6725 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003591/0.5623, allocations: 1.224 MB / 0.6737 GB, free: 8.809 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009708/0.572, allocations: 7.603 MB / 0.6811 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003871/0.5759, allocations: 311.6 kB / 0.6814 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007245/0.5767, allocations: 328 kB / 0.6818 GB, free: 444 kB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 522 * Number of states: 0 () * Number of discrete variables: 26 (torque.arrow.arrowLine.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 (655): * Single equations (assignments): 651 * 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 {(3,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003097/0.5798, allocations: 1.892 MB / 0.6836 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007371/0.5805, allocations: 321.8 kB / 0.6839 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006649/0.5872, allocations: 3.565 MB / 0.6874 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.69e-05/0.5872, allocations: 11.91 kB / 0.6874 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.5873, allocations: 7.938 kB / 0.6874 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001027/0.5883, allocations: 378.8 kB / 0.6878 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007614/0.5891, allocations: 20 kB / 0.6878 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001627/0.5907, allocations: 103.8 kB / 0.6879 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003205/0.591, allocations: 96.84 kB / 0.688 GB, free: 10.01 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00752/0.5985, allocations: 4.149 MB / 0.692 GB, free: 5.852 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006489/0.605, allocations: 5.339 MB / 0.6972 GB, free: 496 kB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001897/0.607, allocations: 1.404 MB / 0.6986 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003653/0.6106, allocations: 2.221 MB / 0.7008 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of Backend: time 1.032e-06/0.6106, allocations: 288 / 0.7008 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008204/0.6189, allocations: 4.159 MB / 0.7048 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01211/0.631, allocations: 8.261 MB / 0.7129 GB, free: 400 kB / 0.5606 GB Notification: Performance of Templates: time 0.3272/0.9582, allocations: 44.32 MB / 0.7562 GB, free: 174.9 MB / 0.5762 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat","/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) Reference file matches