Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00122/0.00122, allocations: 115 kB / 18.46 MB, free: 4.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001252/0.001252, allocations: 215.9 kB / 19.42 MB, free: 3.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 227.4 MB / 247.6 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2078/0.2078, allocations: 46.11 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 75.88 kB / 482 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3377, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.009778/0.3475, allocations: 9.462 MB / 0.5409 GB, free: 6.191 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006866/0.3544, allocations: 3.807 MB / 0.5446 GB, free: 3.227 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001125/0.3555, allocations: 56.84 kB / 0.5447 GB, free: 3.215 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003855/0.3594, allocations: 2.277 MB / 0.5469 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003593/0.363, allocations: 1.641 MB / 0.5485 GB, free: 468 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001424/0.3645, allocations: 0.7019 MB / 0.5492 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00466/0.3692, allocations: 3.804 MB / 0.5529 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00327/0.3724, allocations: 2.894 MB / 0.5557 GB, free: 9.004 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001835/0.3743, allocations: 1.293 MB / 0.557 GB, free: 7.707 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002383/0.3767, allocations: 1.725 MB / 0.5587 GB, free: 5.977 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006412/0.3774, allocations: 280 kB / 0.5589 GB, free: 5.703 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002026/0.3794, allocations: 1.159 MB / 0.5601 GB, free: 4.543 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001436/0.3808, allocations: 1.586 MB / 0.5616 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001865/0.3827, allocations: 1.856 MB / 0.5634 GB, free: 1.086 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005896/0.3886, allocations: 6.239 MB / 0.5695 GB, free: 10.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.3886, allocations: 0 / 0.5695 GB, free: 10.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3887, allocations: 0 / 0.5695 GB, free: 10.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.764e-05/0.3887, allocations: 0 / 0.5695 GB, free: 10.82 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.006618/0.3953, allocations: 4.258 MB / 0.5737 GB, free: 6.492 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.3954, allocations: 8.031 kB / 0.5737 GB, free: 6.484 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006904/0.4023, allocations: 2.022 MB / 0.5757 GB, free: 4.457 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004282/0.4066, allocations: 2.343 MB / 0.578 GB, free: 2.066 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001322/0.4067, allocations: 193.3 kB / 0.5781 GB, free: 1.875 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004682/0.4072, allocations: 260 kB / 0.5784 GB, free: 1.621 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01201/0.4192, allocations: 8.588 MB / 0.5868 GB, free: 8.414 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001015/0.4194, allocations: 39.7 kB / 0.5868 GB, free: 8.375 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004253/0.4198, allocations: 123.9 kB / 0.5869 GB, free: 8.254 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002966/0.4228, allocations: 1.743 MB / 0.5886 GB, free: 6.512 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01371/0.4365, allocations: 7.561 MB / 0.596 GB, free: 14.93 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04007/0.4766, allocations: 34.21 MB / 0.6294 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006193/0.4829, allocations: 3.112 MB / 0.6325 GB, free: 8.488 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002191/0.4851, allocations: 1.907 MB / 0.6343 GB, free: 6.566 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004007/0.4855, allocations: 327.8 kB / 0.6346 GB, free: 6.188 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.759e-05/0.4856, allocations: 51.2 kB / 0.6347 GB, free: 6.129 MB / 494.1 MB Notification: Performance of pre-optimization done (n=135): time 6.642e-06/0.4856, allocations: 0 / 0.6347 GB, free: 6.129 MB / 494.1 MB Notification: Performance of matching and sorting (n=156): time 0.03496/0.5205, allocations: 15.51 MB / 0.6498 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.567e-05/0.5207, allocations: 179.2 kB / 0.65 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004614/0.5253, allocations: 3.524 MB / 0.6535 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001638/0.5255, allocations: 49.69 kB / 0.6535 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001598/0.5271, allocations: 2.738 MB / 0.6562 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005751/0.5276, allocations: 0.6358 MB / 0.6568 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001392/0.529, allocations: 1.103 MB / 0.6579 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.528e-05/0.5291, allocations: 305.1 kB / 0.6582 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002772/0.5319, allocations: 2.123 MB / 0.6602 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004519/0.5364, allocations: 5.349 MB / 0.6655 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007555/0.544, allocations: 8.03 MB / 0.6733 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-05/0.5441, allocations: 32 kB / 0.6733 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of matching and sorting (n=697) (initialization): time 0.01246/0.5566, allocations: 8.303 MB / 0.6814 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.313e-05/0.5567, allocations: 52 kB / 0.6815 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001355/0.5568, allocations: 116 kB / 0.6816 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002895/0.5597, allocations: 1.223 MB / 0.6828 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003789/0.5635, allocations: 1.216 MB / 0.684 GB, free: 240 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009278/0.5728, allocations: 7.613 MB / 0.6914 GB, free: 8.484 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003594/0.5764, allocations: 311.6 kB / 0.6917 GB, free: 8.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007101/0.5772, allocations: 324 kB / 0.692 GB, free: 7.863 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 (649): * Single equations (assignments): 645 * 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.003147/0.5803, allocations: 1.852 MB / 0.6938 GB, free: 5.996 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000665/0.581, allocations: 313.9 kB / 0.6941 GB, free: 5.688 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006156/0.5872, allocations: 3.576 MB / 0.6976 GB, free: 2.098 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-05/0.5872, allocations: 7.969 kB / 0.6976 GB, free: 2.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/0.5872, allocations: 4 kB / 0.6976 GB, free: 2.086 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006425/0.5879, allocations: 370.8 kB / 0.698 GB, free: 1.703 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004868/0.5884, allocations: 28.22 kB / 0.698 GB, free: 1.676 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001342/0.5897, allocations: 111.8 kB / 0.6981 GB, free: 1.566 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002801/0.59, allocations: 96.84 kB / 0.6982 GB, free: 1.473 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007288/0.5973, allocations: 4.13 MB / 0.7022 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006546/0.6039, allocations: 5.351 MB / 0.7075 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001732/0.6056, allocations: 1.401 MB / 0.7088 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004201/0.6098, allocations: 2.2 MB / 0.711 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of Backend: time 2.134e-06/0.6099, allocations: 0 / 0.711 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009778/0.6196, allocations: 4.133 MB / 0.715 GB, free: 228 kB / 0.5606 GB Notification: Performance of SimCode: time 0.01625/0.6359, allocations: 8.139 MB / 0.723 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of Templates: time 0.6408/1.277, allocations: 43.91 MB / 0.7659 GB, free: 158 MB / 0.5762 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches