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.001002/0.001002, allocations: 80.92 kB / 21.49 MB, free: 2.992 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.0009815/0.0009815, allocations: 167.9 kB / 24.91 MB, free: 9.184 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.964/0.964, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.2679/0.2679, allocations: 34.26 MB / 296.1 MB, free: 0.7344 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.523e-06/1.523e-06, allocations: 0 / 325.3 MB, free: 7.652 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.393e-05/1.545e-05, allocations: 3.531 kB / 325.3 MB, free: 7.648 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.006977/0.006992, allocations: 9.053 MB / 334.4 MB, free: 14.55 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00454/0.01153, allocations: 3.836 MB / 338.2 MB, free: 10.7 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005021/0.01203, allocations: 67.69 kB / 338.3 MB, free: 10.64 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00219/0.01422, allocations: 2.41 MB / 340.7 MB, free: 8.219 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001905/0.01613, allocations: 1.695 MB / 342.4 MB, free: 6.516 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007974/0.01693, allocations: 0.7522 MB / 343.1 MB, free: 5.762 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002648/0.01957, allocations: 4.184 MB / 347.3 MB, free: 1.566 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001751/0.02133, allocations: 2.605 MB / 349.9 MB, free: 14.89 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001782/0.02311, allocations: 2.46 MB / 352.4 MB, free: 12.42 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001441/0.02455, allocations: 1.781 MB / 354.1 MB, free: 10.64 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002658/0.02481, allocations: 287.9 kB / 354.4 MB, free: 10.36 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00106/0.02587, allocations: 1.139 MB / 355.6 MB, free: 9.215 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008795/0.02675, allocations: 1.695 MB / 357.3 MB, free: 7.516 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007364/0.02749, allocations: 1.063 MB / 358.3 MB, free: 6.449 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002745/0.03023, allocations: 4.079 MB / 362.4 MB, free: 2.355 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.03024, allocations: 0 / 362.4 MB, free: 2.355 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.03024, allocations: 0 / 362.4 MB, free: 2.355 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.469e-05/0.03029, allocations: 0 / 362.4 MB, free: 2.355 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.003904/0.0342, allocations: 3.884 MB / 366.3 MB, free: 14.42 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.03423, allocations: 8.031 kB / 366.3 MB, free: 14.41 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002416/0.03664, allocations: 0.9684 MB / 367.3 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001865/0.03851, allocations: 1.645 MB / 368.9 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.219e-05/0.0386, allocations: 193.3 kB / 369.1 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002758/0.03888, allocations: 260.2 kB / 369.3 MB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004222/0.0431, allocations: 4.183 MB / 373.5 MB, free: 6.512 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.653e-05/0.04318, allocations: 39.69 kB / 373.6 MB, free: 6.473 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002619/0.04344, allocations: 123.9 kB / 373.7 MB, free: 6.352 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001596/0.04503, allocations: 1.481 MB / 375.2 MB, free: 4.871 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003993/0.04903, allocations: 2.084 MB / 377.3 MB, free: 2.766 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02019/0.06922, allocations: 26.78 MB / 404 MB, free: 6.945 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003178/0.0724, allocations: 1.166 MB / 405.2 MB, free: 5.746 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003796/0.07278, allocations: 253 kB / 405.4 MB, free: 5.488 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003232/0.07601, allocations: 2.486 MB / 407.9 MB, free: 2.973 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.07604, allocations: 50.92 kB / 408 MB, free: 2.914 MB / 378.7 MB Notification: Performance of pre-optimization done (n=99): time 2.785e-06/0.07605, allocations: 0 / 408 MB, free: 2.914 MB / 378.7 MB Notification: Performance of matching and sorting (n=104): time 0.01172/0.08777, allocations: 3.875 MB / 411.9 MB, free: 15 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.768e-05/0.08785, allocations: 166.7 kB / 412 MB, free: 14.8 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002534/0.09038, allocations: 2.787 MB / 414.8 MB, free: 11.99 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.569e-05/0.09044, allocations: 41.69 kB / 414.8 MB, free: 11.94 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001401/0.09184, allocations: 2.716 MB / 417.6 MB, free: 9.195 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00032/0.09216, allocations: 472.5 kB / 418 MB, free: 8.73 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009781/0.09313, allocations: 1.001 MB / 419 MB, free: 7.719 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.311e-05/0.09321, allocations: 305.1 kB / 419.3 MB, free: 7.418 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001138/0.09435, allocations: 0.6305 MB / 420 MB, free: 6.781 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002756/0.0971, allocations: 3.918 MB / 423.9 MB, free: 1.141 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00401/0.1011, allocations: 4.974 MB / 428.8 MB, free: 10.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.573e-05/0.1012, allocations: 36 kB / 428.9 MB, free: 10.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=678) (initialization): time 0.004819/0.106, allocations: 3.661 MB / 432.5 MB, free: 6.758 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.143e-05/0.106, allocations: 56.22 kB / 432.6 MB, free: 6.703 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001022/0.1061, allocations: 124 kB / 432.7 MB, free: 6.582 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008967/0.107, allocations: 347.7 kB / 433.1 MB, free: 6.238 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00178/0.1088, allocations: 1.197 MB / 434.3 MB, free: 5.039 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001729/0.1105, allocations: 2.153 MB / 436.4 MB, free: 2.789 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/0.112, allocations: 235.7 kB / 436.6 MB, free: 2.559 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002263/0.1122, allocations: 292 kB / 436.9 MB, free: 2.273 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.0007542/0.1129, allocations: 0.5355 MB / 437.5 MB, free: 1.727 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002177/0.1132, allocations: 167.8 kB / 437.6 MB, free: 1.562 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009151/0.1141, allocations: 0.6518 MB / 438.3 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/0.1141, allocations: 15.94 kB / 438.3 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1141, allocations: 4 kB / 438.3 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.1141, allocations: 3.984 kB / 438.3 MB, free: 0.875 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003319/0.1174, allocations: 2.963 MB / 441.3 MB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.1174, allocations: 3.938 kB / 441.3 MB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003014/0.1177, allocations: 123.9 kB / 441.4 MB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006895/0.1184, allocations: 336.2 kB / 441.7 MB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.689e-05/0.1185, allocations: 19.98 kB / 441.7 MB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001472/0.1199, allocations: 1.912 MB / 443.6 MB, free: 11.36 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.1199, allocations: 8.031 kB / 443.7 MB, free: 11.35 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/0.1212, allocations: 1.378 MB / 445 MB, free: 9.922 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002148/0.1215, allocations: 242.1 kB / 445.3 MB, free: 9.684 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/0.1216, allocations: 23.98 kB / 445.3 MB, free: 9.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000399/0.122, allocations: 16 kB / 445.3 MB, free: 9.645 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.401e-05/0.1221, allocations: 56.33 kB / 445.4 MB, free: 9.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.394e-05/0.1221, allocations: 35.92 kB / 445.4 MB, free: 9.555 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007608/0.1229, allocations: 0.9851 MB / 446.4 MB, free: 8.566 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1229, allocations: 0 / 446.4 MB, free: 8.566 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002183/0.1251, allocations: 0.8475 MB / 447.2 MB, free: 7.719 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.0002744/0.1254, allocations: 144.1 kB / 447.4 MB, free: 7.566 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002066/0.1274, allocations: 2.109 MB / 449.5 MB, free: 5.457 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001429/0.1276, allocations: 88.16 kB / 449.6 MB, free: 5.363 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000461/0.128, allocations: 409.5 kB / 450 MB, free: 4.941 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/0.1292, allocations: 0.4906 MB / 450.5 MB, free: 4.461 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1335/0.2627, allocations: 5.95 MB / 456.4 MB, free: 124.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000965/0.2636, allocations: 1.019 MB / 457.4 MB, free: 124.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001164/0.2648, allocations: 411.8 kB / 457.8 MB, free: 124.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006219/0.2654, allocations: 439.5 kB / 458.3 MB, free: 124.3 MB / 426.7 MB Notification: Performance of SimCode: time 1.312e-06/0.2654, allocations: 0 / 458.3 MB, free: 124.3 MB / 426.7 MB Notification: Performance of Templates: time 0.03173/0.2972, allocations: 24.3 MB / 482.6 MB, free: 109.1 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 -s gbode -gbm=radauIIA3 -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.8701239321380854]