Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.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.001481/0.001481, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.00163/0.00163, allocations: 165.8 kB / 24.99 MB, free: 8.336 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.9826/0.9826, allocations: 177.1 MB / 205.3 MB, free: 5.602 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.2837/0.2837, allocations: 32.8 MB / 294.6 MB, free: 1.297 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.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 3.938 kB / 376 MB, free: 5.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.987e-05/2.13e-05, allocations: 2.312 kB / 376 MB, free: 5.008 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01041/0.01043, allocations: 14.39 MB / 390.4 MB, free: 6.555 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007716/0.01815, allocations: 4.918 MB / 395.3 MB, free: 1.621 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001273/0.01942, allocations: 115.4 kB / 395.4 MB, free: 1.508 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004343/0.02377, allocations: 4.303 MB / 399.7 MB, free: 13.19 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003631/0.0274, allocations: 2.488 MB / 402.2 MB, free: 10.69 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001635/0.02903, allocations: 1.302 MB / 403.5 MB, free: 9.387 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005681/0.03471, allocations: 7.352 MB / 410.9 MB, free: 2.02 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003229/0.03794, allocations: 4.431 MB / 415.3 MB, free: 13.52 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002727/0.04067, allocations: 3.329 MB / 418.6 MB, free: 10.18 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002848/0.04352, allocations: 3.34 MB / 422 MB, free: 6.836 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005364/0.04405, allocations: 468 kB / 422.4 MB, free: 6.379 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001704/0.04576, allocations: 1.498 MB / 423.9 MB, free: 4.879 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001694/0.04745, allocations: 2.93 MB / 426.9 MB, free: 1.941 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001486/0.04894, allocations: 1.788 MB / 428.6 MB, free: 152 kB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00495/0.05389, allocations: 6.306 MB / 434.9 MB, free: 9.816 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.05389, allocations: 0 / 434.9 MB, free: 9.816 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.05389, allocations: 0 / 434.9 MB, free: 9.816 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.197e-05/0.05399, allocations: 0 / 434.9 MB, free: 9.816 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: 1941 * Number of variables: 1941 Notification: Performance of Generate backend data structure: time 0.008863/0.06285, allocations: 7.307 MB / 442.3 MB, free: 2.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.0629, allocations: 12.03 kB / 442.3 MB, free: 2.418 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1795/0.2424, allocations: 3.941 MB / 446.2 MB, free: 77.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006995/0.2494, allocations: 3.718 MB / 449.9 MB, free: 77.42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002208/0.2496, allocations: 311 kB / 450.2 MB, free: 77.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001033/0.2507, allocations: 439.3 kB / 450.7 MB, free: 77.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01228/0.263, allocations: 8.723 MB / 459.4 MB, free: 73.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001476/0.2631, allocations: 58.62 kB / 459.4 MB, free: 73.72 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003836/0.2635, allocations: 201.6 kB / 459.6 MB, free: 73.72 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002293/0.2658, allocations: 2.528 MB / 462.2 MB, free: 73.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01152/0.2773, allocations: 4.933 MB / 467.1 MB, free: 73.65 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04195/0.3193, allocations: 55.64 MB / 0.5105 GB, free: 30.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01021/0.3295, allocations: 3.572 MB / 0.514 GB, free: 29.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002029/0.3315, allocations: 1.212 MB / 0.5152 GB, free: 29.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01066/0.3422, allocations: 8.817 MB / 0.5238 GB, free: 23.72 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.349e-05/0.3422, allocations: 66.42 kB / 0.5238 GB, free: 23.65 MB / 410.7 MB Notification: Performance of pre-optimization done (n=230): time 4.749e-06/0.3422, allocations: 0 / 0.5238 GB, free: 23.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=267): time 0.04339/0.3856, allocations: 20.49 MB / 0.5438 GB, free: 5.559 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.49e-05/0.3857, allocations: 260.7 kB / 0.5441 GB, free: 5.254 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004115/0.3898, allocations: 4.341 MB / 0.5483 GB, free: 0.8906 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003498/0.3901, allocations: 69.7 kB / 0.5484 GB, free: 0.8164 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002091/0.3922, allocations: 4.232 MB / 0.5525 GB, free: 12.61 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001087/0.3933, allocations: 1.077 MB / 0.5536 GB, free: 11.55 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00153/0.3948, allocations: 1.624 MB / 0.5552 GB, free: 9.918 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.395, allocations: 480.7 kB / 0.5556 GB, free: 9.445 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001565/0.3965, allocations: 0.9988 MB / 0.5566 GB, free: 8.445 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00468/0.4012, allocations: 7.494 MB / 0.5639 GB, free: 14.09 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008549/0.4098, allocations: 9.253 MB / 0.573 GB, free: 2.273 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001389/0.4099, allocations: 41.53 kB / 0.573 GB, free: 2.234 MB / 442.7 MB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.01235/0.4222, allocations: 7.265 MB / 0.5801 GB, free: 10.96 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.275e-05/0.4223, allocations: 68 kB / 0.5802 GB, free: 10.89 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001331/0.4224, allocations: 152 kB / 0.5803 GB, free: 10.75 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001801/0.4242, allocations: 0.8185 MB / 0.5811 GB, free: 9.922 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004062/0.4283, allocations: 1.833 MB / 0.5829 GB, free: 8.086 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005083/0.4334, allocations: 5.779 MB / 0.5885 GB, free: 2.074 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004387/0.4378, allocations: 499.3 kB / 0.589 GB, free: 1.586 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008871/0.4387, allocations: 444 kB / 0.5894 GB, free: 1.152 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 687 * Number of states: 0 () * Number of discrete variables: 57 (lineForceWithMass.lineShapeColor[3],lineForceWithMass.lineShapeColor[2],lineForceWithMass.lineShapeColor[1],lineForceWithMass.massColor[3],lineForceWithMass.massColor[2],lineForceWithMass.massColor[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[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 (951): * Single equations (assignments): 946 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001898/0.4406, allocations: 0.7791 MB / 0.5902 GB, free: 364 kB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009244/0.4415, allocations: 0.505 MB / 0.5907 GB, free: 15.84 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00404/0.4455, allocations: 2.655 MB / 0.5933 GB, free: 13.17 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.243e-05/0.4456, allocations: 30.81 kB / 0.5933 GB, free: 13.14 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-05/0.4456, allocations: 8 kB / 0.5933 GB, free: 13.14 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.711e-05/0.4456, allocations: 11.95 kB / 0.5933 GB, free: 13.12 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01305/0.4586, allocations: 7.482 MB / 0.6006 GB, free: 5.648 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/0.4586, allocations: 4 kB / 0.6006 GB, free: 5.645 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001474/0.4601, allocations: 0.4993 MB / 0.6011 GB, free: 5.145 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001514/0.4616, allocations: 0.5825 MB / 0.6017 GB, free: 4.559 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001614/0.4618, allocations: 44 kB / 0.6017 GB, free: 4.516 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1833/0.6451, allocations: 5.31 MB / 0.6069 GB, free: 117.6 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.6451, allocations: 0 / 0.6069 GB, free: 117.6 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006838/0.652, allocations: 3.878 MB / 0.6107 GB, free: 116.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001286/0.6533, allocations: 434.4 kB / 0.6111 GB, free: 116.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005628/0.6538, allocations: 43.44 kB / 0.6112 GB, free: 116.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001729/0.6555, allocations: 234.5 kB / 0.6114 GB, free: 116.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003536/0.6559, allocations: 161.8 kB / 0.6115 GB, free: 116.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001218/0.656, allocations: 70.11 kB / 0.6116 GB, free: 116.9 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002536/0.6586, allocations: 1.902 MB / 0.6135 GB, free: 116.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6586, allocations: 0 / 0.6135 GB, free: 116.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004828/0.6634, allocations: 1.483 MB / 0.6149 GB, free: 116.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.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 (227): * Single equations (assignments): 222 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005169/0.6639, allocations: 206 kB / 0.6151 GB, free: 116.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005752/0.6697, allocations: 4.273 MB / 0.6193 GB, free: 116.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.6697, allocations: 0 / 0.6193 GB, free: 116.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001482/0.6711, allocations: 1.367 MB / 0.6206 GB, free: 115.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00246/0.6736, allocations: 0.5441 MB / 0.6211 GB, free: 115.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01382/0.6874, allocations: 10.26 MB / 0.6312 GB, free: 111.9 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001446/0.6889, allocations: 1.641 MB / 0.6328 GB, free: 111.7 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00375/0.6926, allocations: 1.961 MB / 0.6347 GB, free: 111.6 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001123/0.6937, allocations: 308.4 kB / 0.635 GB, free: 111.6 MB / 474.7 MB Notification: Performance of SimCode: time 2.394e-06/0.6937, allocations: 5.75 kB / 0.635 GB, free: 111.6 MB / 474.7 MB Notification: Performance of Templates: time 0.07064/0.7644, allocations: 45.72 MB / 0.6796 GB, free: 89.18 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/LineForceWithMass/LineForceWithMass.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.986164426896721]