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.000764/0.000764, allocations: 80.8 kB / 21.5 MB, free: 2.996 MB / 18.57 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.0008983/0.0008983, allocations: 170.8 kB / 24.91 MB, free: 8.73 MB / 18.57 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 0.9744/0.9744, allocations: 177.1 MB / 205.3 MB, free: 5.09 MB / 186.7 MB " [Timeout remaining time 179] 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.2656/0.2656, allocations: 34.25 MB / 296.1 MB, free: 0.6016 MB / 266.7 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: 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_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.634e-06/1.634e-06, allocations: 0 / 325.3 MB, free: 7.684 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.531e-05/2.694e-05, allocations: 3.156 kB / 325.3 MB, free: 7.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.00982/0.009847, allocations: 9.001 MB / 334.3 MB, free: 14.63 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008787/0.01863, allocations: 3.844 MB / 338.1 MB, free: 10.78 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00154/0.02017, allocations: 63.69 kB / 338.2 MB, free: 10.71 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002596/0.02277, allocations: 2.445 MB / 340.6 MB, free: 8.262 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00284/0.02561, allocations: 1.719 MB / 342.3 MB, free: 6.535 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.02667, allocations: 0.7717 MB / 343.1 MB, free: 5.762 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003372/0.03004, allocations: 4.189 MB / 347.3 MB, free: 1.566 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002007/0.03205, allocations: 2.722 MB / 350 MB, free: 14.77 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002267/0.03431, allocations: 2.483 MB / 352.5 MB, free: 12.28 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0016/0.03591, allocations: 1.792 MB / 354.3 MB, free: 10.48 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003198/0.03623, allocations: 284 kB / 354.6 MB, free: 10.21 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001193/0.03743, allocations: 1.096 MB / 355.7 MB, free: 9.109 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001187/0.03861, allocations: 1.702 MB / 357.4 MB, free: 7.402 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000965/0.03958, allocations: 1.059 MB / 358.4 MB, free: 6.34 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003037/0.04261, allocations: 4.087 MB / 362.5 MB, free: 2.238 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.04262, allocations: 0 / 362.5 MB, free: 2.238 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.04262, allocations: 0 / 362.5 MB, free: 2.238 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.81e-05/0.04267, allocations: 4 kB / 362.5 MB, free: 2.234 MB / 330.7 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.004174/0.04684, allocations: 3.869 MB / 366.4 MB, free: 14.32 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.04688, allocations: 12.03 kB / 366.4 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002209/0.04909, allocations: 0.9684 MB / 367.4 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001695/0.05079, allocations: 1.641 MB / 369 MB, free: 11.66 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.514e-05/0.05087, allocations: 193.3 kB / 369.2 MB, free: 11.47 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002823/0.05115, allocations: 260.2 kB / 369.4 MB, free: 11.21 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004202/0.05535, allocations: 4.183 MB / 373.6 MB, free: 6.406 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.88e-05/0.05541, allocations: 39.69 kB / 373.7 MB, free: 6.367 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001957/0.05561, allocations: 123.9 kB / 373.8 MB, free: 6.246 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001118/0.05673, allocations: 1.481 MB / 375.3 MB, free: 4.766 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002936/0.05966, allocations: 2.08 MB / 377.4 MB, free: 2.664 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01895/0.07861, allocations: 26.78 MB / 404.1 MB, free: 6.836 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002372/0.08099, allocations: 1.153 MB / 405.3 MB, free: 5.641 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002896/0.08128, allocations: 244.8 kB / 405.5 MB, free: 5.391 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003053/0.08433, allocations: 2.498 MB / 408 MB, free: 2.859 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.08436, allocations: 38.94 kB / 408.1 MB, free: 2.812 MB / 378.7 MB Notification: Performance of pre-optimization done (n=99): time 2.114e-06/0.08436, allocations: 0 / 408.1 MB, free: 2.812 MB / 378.7 MB Notification: Performance of matching and sorting (n=104): time 0.008567/0.09292, allocations: 3.869 MB / 411.9 MB, free: 14.91 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/0.09298, allocations: 170.7 kB / 412.1 MB, free: 14.7 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002114/0.0951, allocations: 2.791 MB / 414.9 MB, free: 11.89 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.84e-05/0.09514, allocations: 37.7 kB / 414.9 MB, free: 11.84 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001188/0.09633, allocations: 2.716 MB / 417.6 MB, free: 9.098 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003092/0.09664, allocations: 464.6 kB / 418.1 MB, free: 8.641 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009369/0.09758, allocations: 1.001 MB / 419.1 MB, free: 7.629 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.932e-05/0.09765, allocations: 301.1 kB / 419.4 MB, free: 7.332 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/0.09876, allocations: 0.6305 MB / 420 MB, free: 6.695 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002938/0.1017, allocations: 3.925 MB / 423.9 MB, free: 1.047 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004095/0.1058, allocations: 4.973 MB / 428.9 MB, free: 10.37 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-05/0.1058, allocations: 32 kB / 429 MB, free: 10.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=678) (initialization): time 0.005056/0.1109, allocations: 3.667 MB / 432.6 MB, free: 6.664 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.087e-05/0.111, allocations: 56 kB / 432.7 MB, free: 6.609 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.371e-05/0.111, allocations: 124 kB / 432.8 MB, free: 6.488 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008767/0.1119, allocations: 340.5 kB / 433.1 MB, free: 6.152 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00235/0.1143, allocations: 1.154 MB / 434.3 MB, free: 4.996 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002196/0.1165, allocations: 2.157 MB / 436.4 MB, free: 2.742 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002148/0.1186, allocations: 239.7 kB / 436.7 MB, free: 2.508 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002976/0.1189, allocations: 280 kB / 436.9 MB, free: 2.234 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 550 * 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 (645): * Single equations (assignments): 641 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009259/0.1198, allocations: 0.5393 MB / 437.5 MB, free: 1.684 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003044/0.1201, allocations: 171.7 kB / 437.7 MB, free: 1.516 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001183/0.1213, allocations: 0.648 MB / 438.3 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-05/0.1213, allocations: 16 kB / 438.3 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1213, allocations: 0 / 438.3 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.1214, allocations: 7.984 kB / 438.3 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004673/0.126, allocations: 2.966 MB / 441.3 MB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.126, allocations: 0 / 441.3 MB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003864/0.1264, allocations: 119.8 kB / 441.4 MB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008939/0.1273, allocations: 332.3 kB / 441.7 MB, free: 13.35 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-05/0.1274, allocations: 19.98 kB / 441.8 MB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00184/0.1292, allocations: 1.916 MB / 443.7 MB, free: 11.32 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.1292, allocations: 4 kB / 443.7 MB, free: 11.32 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001689/0.1309, allocations: 1.38 MB / 445.1 MB, free: 9.891 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003096/0.1312, allocations: 250 kB / 445.3 MB, free: 9.645 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002178/0.1314, allocations: 19.98 kB / 445.3 MB, free: 9.625 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005999/0.132, allocations: 20.03 kB / 445.3 MB, free: 9.605 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.1321, allocations: 60.33 kB / 445.4 MB, free: 9.547 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.654e-05/0.1322, allocations: 31.92 kB / 445.4 MB, free: 9.516 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001039/0.1332, allocations: 0.9851 MB / 446.4 MB, free: 8.527 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1332, allocations: 0 / 446.4 MB, free: 8.527 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003353/0.1366, allocations: 0.8476 MB / 447.3 MB, free: 7.68 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (74): * Single equations (assignments): 70 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002926/0.1369, allocations: 144.1 kB / 447.4 MB, free: 7.527 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002632/0.1395, allocations: 2.109 MB / 449.5 MB, free: 5.418 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001724/0.1397, allocations: 88.16 kB / 449.6 MB, free: 5.324 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005434/0.1402, allocations: 405 kB / 450 MB, free: 4.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001576/0.1418, allocations: 497.7 kB / 450.5 MB, free: 4.422 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1311/0.2729, allocations: 5.937 MB / 456.4 MB, free: 123.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007461/0.2736, allocations: 1.018 MB / 457.4 MB, free: 123.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009786/0.2746, allocations: 416.9 kB / 457.8 MB, free: 123.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004705/0.2751, allocations: 445.2 kB / 458.3 MB, free: 123 MB / 426.7 MB Notification: Performance of SimCode: time 1.834e-06/0.2751, allocations: 2.156 kB / 458.3 MB, free: 123 MB / 426.7 MB Notification: Performance of Templates: time 0.03148/0.3065, allocations: 24.31 MB / 482.6 MB, free: 107.6 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.942047134041786]