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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001851/0.001851, allocations: 117 kB / 19.12 MB, free: 3.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002332/0.002332, allocations: 214.6 kB / 22.08 MB, free: 0.9727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.494/1.494, allocations: 227.4 MB / 252.3 MB, free: 108 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2241/0.2241, allocations: 46.15 MB / 351.8 MB, free: 14.29 MB / 286.1 MB " [Timeout remaining time 180] 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=5002,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=5002,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002348/0.002348, allocations: 81.86 kB / 490.9 MB, free: 28.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1229, allocations: 62.45 MB / 0.5404 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01176/0.1347, allocations: 9.471 MB / 0.5496 GB, free: 10.72 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007953/0.1427, allocations: 3.8 MB / 0.5533 GB, free: 6.902 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001813/0.1446, allocations: 55.81 kB / 0.5534 GB, free: 6.848 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004815/0.1495, allocations: 2.282 MB / 0.5556 GB, free: 4.559 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004449/0.1539, allocations: 1.609 MB / 0.5572 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001738/0.1557, allocations: 0.694 MB / 0.5578 GB, free: 2.25 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006282/0.162, allocations: 3.804 MB / 0.5616 GB, free: 14.44 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004145/0.1662, allocations: 2.899 MB / 0.5644 GB, free: 11.49 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002371/0.1686, allocations: 1.277 MB / 0.5656 GB, free: 10.21 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002729/0.1713, allocations: 1.725 MB / 0.5673 GB, free: 8.477 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007313/0.1721, allocations: 280 kB / 0.5676 GB, free: 8.203 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002381/0.1745, allocations: 1.151 MB / 0.5687 GB, free: 7.051 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001986/0.1765, allocations: 1.578 MB / 0.5703 GB, free: 5.469 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002651/0.1792, allocations: 1.856 MB / 0.5721 GB, free: 3.602 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008069/0.1872, allocations: 6.234 MB / 0.5782 GB, free: 13.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.1873, allocations: 0 / 0.5782 GB, free: 13.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1873, allocations: 0 / 0.5782 GB, free: 13.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001413/0.1874, allocations: 0 / 0.5782 GB, free: 13.34 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.009326/0.1968, allocations: 4.254 MB / 0.5823 GB, free: 9.016 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.1968, allocations: 8.031 kB / 0.5823 GB, free: 9.008 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008364/0.2052, allocations: 2.022 MB / 0.5843 GB, free: 6.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00516/0.2104, allocations: 2.339 MB / 0.5866 GB, free: 4.594 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001733/0.2106, allocations: 193.3 kB / 0.5868 GB, free: 4.402 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007551/0.2114, allocations: 267.9 kB / 0.587 GB, free: 4.141 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01494/0.2263, allocations: 8.584 MB / 0.5954 GB, free: 10.94 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001047/0.2265, allocations: 39.7 kB / 0.5954 GB, free: 10.9 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003843/0.2268, allocations: 123.9 kB / 0.5956 GB, free: 10.78 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003247/0.2301, allocations: 1.743 MB / 0.5973 GB, free: 9.035 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01526/0.2454, allocations: 7.564 MB / 0.6046 GB, free: 1.461 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3137/0.5591, allocations: 34.21 MB / 0.6381 GB, free: 31.07 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006712/0.5658, allocations: 3.083 MB / 0.6411 GB, free: 29.68 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00235/0.5682, allocations: 1.911 MB / 0.6429 GB, free: 28.86 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003707/0.5686, allocations: 331 kB / 0.6432 GB, free: 28.56 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.5687, allocations: 45.62 kB / 0.6433 GB, free: 28.51 MB / 462.1 MB Notification: Performance of pre-optimization done (n=135): time 4.769e-06/0.5687, allocations: 5.375 kB / 0.6433 GB, free: 28.51 MB / 462.1 MB Notification: Performance of matching and sorting (n=156): time 0.03518/0.6039, allocations: 15.53 MB / 0.6585 GB, free: 19.98 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.39e-05/0.604, allocations: 171.2 kB / 0.6586 GB, free: 19.78 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003862/0.6078, allocations: 3.516 MB / 0.6621 GB, free: 16.33 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003329/0.6082, allocations: 49.7 kB / 0.6621 GB, free: 16.27 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0013/0.6095, allocations: 2.745 MB / 0.6648 GB, free: 13.68 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006322/0.6101, allocations: 0.6304 MB / 0.6654 GB, free: 13.05 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001258/0.6114, allocations: 1.115 MB / 0.6665 GB, free: 11.93 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.778e-05/0.6115, allocations: 305.1 kB / 0.6668 GB, free: 11.63 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002284/0.6138, allocations: 2.119 MB / 0.6688 GB, free: 9.504 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003391/0.6172, allocations: 5.341 MB / 0.6741 GB, free: 2.551 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009509/0.6267, allocations: 8.027 MB / 0.6819 GB, free: 8.93 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.521e-05/0.6268, allocations: 39.98 kB / 0.6819 GB, free: 8.891 MB / 478.1 MB Notification: Performance of matching and sorting (n=697) (initialization): time 0.01638/0.6432, allocations: 8.301 MB / 0.69 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.781e-05/0.6433, allocations: 57.62 kB / 0.6901 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001464/0.6435, allocations: 118 kB / 0.6902 GB, free: 428 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003217/0.6467, allocations: 1.226 MB / 0.6914 GB, free: 15.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004072/0.6508, allocations: 1.216 MB / 0.6926 GB, free: 13.97 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01083/0.6617, allocations: 7.602 MB / 0.7 GB, free: 6.227 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003947/0.6656, allocations: 307.6 kB / 0.7003 GB, free: 5.926 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007262/0.6664, allocations: 336 kB / 0.7006 GB, free: 5.598 MB / 494.1 MB 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.003088/0.6695, allocations: 1.848 MB / 0.7024 GB, free: 3.734 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006768/0.6702, allocations: 321.8 kB / 0.7028 GB, free: 3.418 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006878/0.6771, allocations: 3.572 MB / 0.7062 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.451e-05/0.6771, allocations: 23.59 kB / 0.7063 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/0.6772, allocations: 4 kB / 0.7063 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.122e-05/0.6772, allocations: 7.969 kB / 0.7063 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01566/0.6928, allocations: 8.168 MB / 0.7142 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-05/0.6929, allocations: 4 kB / 0.7143 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001273/0.6942, allocations: 223.7 kB / 0.7145 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002948/0.6972, allocations: 1.062 MB / 0.7155 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002319/0.6974, allocations: 24 kB / 0.7155 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0104/0.7078, allocations: 7.267 MB / 0.7226 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.7079, allocations: 288 / 0.7226 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01041/0.7183, allocations: 6.292 MB / 0.7288 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001103/0.7194, allocations: 378.8 kB / 0.7291 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005754/0.72, allocations: 31.94 kB / 0.7292 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001445/0.7215, allocations: 111.7 kB / 0.7293 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000328/0.7218, allocations: 88.42 kB / 0.7294 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001362/0.7219, allocations: 43.98 kB / 0.7294 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003598/0.7256, allocations: 2.196 MB / 0.7315 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7256, allocations: 0 / 0.7315 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004356/0.73, allocations: 0.8866 MB / 0.7324 GB, free: 4.836 MB / 0.5137 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.000432/0.7304, allocations: 160.4 kB / 0.7326 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008902/0.7393, allocations: 5.142 MB / 0.7376 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/0.7394, allocations: 0 / 0.7376 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003385/0.7428, allocations: 1.865 MB / 0.7394 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002402/0.7452, allocations: 372.5 kB / 0.7398 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01655/0.7617, allocations: 8.786 MB / 0.7483 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003461/0.7652, allocations: 2.873 MB / 0.7511 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00108/0.7663, allocations: 251.4 kB / 0.7514 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of SimCode: time 6.31e-07/0.7664, allocations: 3.938 kB / 0.7514 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of Templates: time 0.1046/0.871, allocations: 67.83 MB / 0.8176 GB, free: 13.55 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 13.265711633954197]