Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.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.0009733/0.0009733, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001169/0.001169, allocations: 166.4 kB / 24.99 MB, free: 8.746 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 1.023/1.023, allocations: 177.1 MB / 205.3 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.265/0.265, allocations: 32.8 MB / 294.6 MB, free: 1.277 MB / 266.7 MB " [Timeout remaining time 180] 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.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.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 376 MB, free: 4.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.881e-05/3.069e-05, allocations: 2.312 kB / 376 MB, free: 4.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.03017/0.0302, allocations: 12.77 MB / 388.8 MB, free: 8.145 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01262/0.04282, allocations: 4.759 MB / 393.5 MB, free: 3.371 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001867/0.04468, allocations: 99.56 kB / 393.6 MB, free: 3.273 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004503/0.04919, allocations: 4.264 MB / 397.9 MB, free: 15 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00462/0.05381, allocations: 2.317 MB / 400.2 MB, free: 12.67 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002016/0.05582, allocations: 1.314 MB / 401.5 MB, free: 11.35 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006321/0.06215, allocations: 6.546 MB / 408.1 MB, free: 4.797 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004617/0.06676, allocations: 4.674 MB / 412.7 MB, free: 52 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004313/0.07108, allocations: 3.337 MB / 416.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003567/0.07464, allocations: 3.309 MB / 419.4 MB, free: 9.391 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009269/0.07557, allocations: 0.5078 MB / 419.9 MB, free: 8.883 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0021/0.07767, allocations: 1.599 MB / 421.5 MB, free: 7.281 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001955/0.07963, allocations: 2.856 MB / 424.4 MB, free: 4.418 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002089/0.08171, allocations: 1.796 MB / 426.2 MB, free: 2.617 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006065/0.08778, allocations: 6.342 MB / 432.5 MB, free: 12.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.08778, allocations: 0 / 432.5 MB, free: 12.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.08779, allocations: 0 / 432.5 MB, free: 12.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001818/0.08797, allocations: 0 / 432.5 MB, free: 12.25 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.009629/0.0976, allocations: 7.064 MB / 439.6 MB, free: 5.109 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.09764, allocations: 8.031 kB / 439.6 MB, free: 5.102 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00919/0.1068, allocations: 3.348 MB / 442.9 MB, free: 1.746 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1643/0.2712, allocations: 3.291 MB / 446.2 MB, free: 100.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002632/0.2714, allocations: 370.2 kB / 446.6 MB, free: 100.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008696/0.2723, allocations: 436.1 kB / 447 MB, free: 100.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01333/0.2856, allocations: 8.508 MB / 455.5 MB, free: 95.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001659/0.2858, allocations: 51.91 kB / 455.6 MB, free: 95.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004255/0.2862, allocations: 198.5 kB / 455.7 MB, free: 95.72 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002192/0.2884, allocations: 2.412 MB / 458.2 MB, free: 95.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01225/0.3007, allocations: 4.774 MB / 462.9 MB, free: 94.53 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04141/0.3421, allocations: 54.4 MB / 0.5052 GB, free: 50.87 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007638/0.3497, allocations: 2.693 MB / 0.5078 GB, free: 50.35 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001796/0.3515, allocations: 0.977 MB / 0.5088 GB, free: 50.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01051/0.362, allocations: 7.3 MB / 0.5159 GB, free: 44.92 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.028e-05/0.3621, allocations: 59.62 kB / 0.516 GB, free: 44.85 MB / 410.7 MB Notification: Performance of pre-optimization done (n=197): time 5.781e-06/0.3621, allocations: 0 / 0.516 GB, free: 44.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=248): time 0.06766/0.4297, allocations: 31.33 MB / 0.5466 GB, free: 14.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/0.4298, allocations: 235.6 kB / 0.5468 GB, free: 14.58 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004081/0.4339, allocations: 4.068 MB / 0.5508 GB, free: 10.49 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004614/0.4343, allocations: 69.69 kB / 0.5508 GB, free: 10.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001588/0.4359, allocations: 4.16 MB / 0.5549 GB, free: 6.211 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008903/0.4368, allocations: 1.004 MB / 0.5559 GB, free: 5.199 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001366/0.4382, allocations: 1.58 MB / 0.5574 GB, free: 3.609 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.28e-05/0.4382, allocations: 476.8 kB / 0.5579 GB, free: 3.141 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00175/0.44, allocations: 1.174 MB / 0.559 GB, free: 1.965 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005086/0.4451, allocations: 7.491 MB / 0.5663 GB, free: 7.59 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0097/0.4548, allocations: 9.498 MB / 0.5756 GB, free: 11.23 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001593/0.4549, allocations: 44 kB / 0.5757 GB, free: 11.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=963) (initialization): time 0.01722/0.4721, allocations: 9.154 MB / 0.5846 GB, free: 2.012 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.853e-05/0.4722, allocations: 73.94 kB / 0.5847 GB, free: 1.941 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001697/0.4724, allocations: 151.9 kB / 0.5848 GB, free: 1.793 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007573/0.48, allocations: 2.874 MB / 0.5876 GB, free: 14.91 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003879/0.4839, allocations: 1.622 MB / 0.5892 GB, free: 13.29 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01132/0.4952, allocations: 6.976 MB / 0.596 GB, free: 6.188 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004875/0.5001, allocations: 0.4916 MB / 0.5965 GB, free: 5.695 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009866/0.501, allocations: 432 kB / 0.5969 GB, free: 5.273 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 679 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.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 (880): * Single equations (assignments): 876 * 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,58,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00231/0.5034, allocations: 0.739 MB / 0.5976 GB, free: 4.52 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009249/0.5043, allocations: 481.3 kB / 0.5981 GB, free: 4.047 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1933/0.6976, allocations: 4.778 MB / 0.6028 GB, free: 126 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.082e-05/0.6976, allocations: 24.69 kB / 0.6028 GB, free: 126 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.597e-05/0.6976, allocations: 11.59 kB / 0.6028 GB, free: 126 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.816e-05/0.6977, allocations: 16.45 kB / 0.6028 GB, free: 126 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02048/0.7182, allocations: 11.38 MB / 0.6139 GB, free: 125 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.343e-05/0.7182, allocations: 3.375 kB / 0.6139 GB, free: 125 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001288/0.7195, allocations: 398.5 kB / 0.6143 GB, free: 125 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007158/0.7266, allocations: 2.928 MB / 0.6172 GB, free: 125 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004806/0.7271, allocations: 44.95 kB / 0.6172 GB, free: 125 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008845/0.7359, allocations: 5.828 MB / 0.6229 GB, free: 122.1 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.736, allocations: 6.031 kB / 0.6229 GB, free: 122.1 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01178/0.7477, allocations: 6.561 MB / 0.6293 GB, free: 120.6 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001684/0.7494, allocations: 385.8 kB / 0.6297 GB, free: 120.6 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007413/0.7502, allocations: 45.84 kB / 0.6297 GB, free: 120.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00164/0.7518, allocations: 250.4 kB / 0.63 GB, free: 120.6 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006005/0.7524, allocations: 151.7 kB / 0.6301 GB, free: 120.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001437/0.7525, allocations: 66.19 kB / 0.6302 GB, free: 120.5 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002778/0.7553, allocations: 1.763 MB / 0.6319 GB, free: 119.9 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7553, allocations: 1.094 kB / 0.6319 GB, free: 119.9 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005745/0.7611, allocations: 1.575 MB / 0.6334 GB, free: 119.8 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (revolute.phi,revolute.w) * 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 (173): * Single equations (assignments): 169 * 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,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006441/0.7617, allocations: 234.6 kB / 0.6337 GB, free: 119.6 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008369/0.7701, allocations: 4.649 MB / 0.6382 GB, free: 118.3 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/0.7701, allocations: 1 kB / 0.6382 GB, free: 118.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002392/0.7725, allocations: 1.609 MB / 0.6398 GB, free: 117.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002301/0.7748, allocations: 490.8 kB / 0.6402 GB, free: 117.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0178/0.7926, allocations: 10.23 MB / 0.6502 GB, free: 112.7 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00194/0.7945, allocations: 1.65 MB / 0.6518 GB, free: 112.2 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003847/0.7984, allocations: 1.801 MB / 0.6536 GB, free: 112 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008691/0.7992, allocations: 275.6 kB / 0.6539 GB, free: 111.9 MB / 458.7 MB Notification: Performance of SimCode: time 1.704e-06/0.7992, allocations: 0 / 0.6539 GB, free: 111.9 MB / 458.7 MB Notification: Performance of Templates: time 0.07365/0.8729, allocations: 59.95 MB / 0.7124 GB, free: 53.51 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUSP2/JointUSP2.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: 4.977872013114393]