Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001017/0.001017, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.00118/0.00118, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8165/0.8165, allocations: 158.6 MB / 185.7 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1385/0.1385, allocations: 32.38 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 347.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.03e-05/2.185e-05, allocations: 6.25 kB / 347.7 MB, free: 9.434 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01149/0.01152, allocations: 14.52 MB / 362.2 MB, free: 10.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008572/0.02009, allocations: 4.942 MB / 367.1 MB, free: 5.902 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001695/0.02178, allocations: 123.4 kB / 367.3 MB, free: 5.781 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004191/0.02597, allocations: 4.314 MB / 371.6 MB, free: 1.449 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003903/0.02988, allocations: 2.531 MB / 374.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001653/0.03153, allocations: 1.302 MB / 375.4 MB, free: 13.6 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0051/0.03663, allocations: 6.868 MB / 382.3 MB, free: 6.719 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003433/0.04006, allocations: 4.459 MB / 386.7 MB, free: 2.195 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00308/0.04314, allocations: 3.36 MB / 390.1 MB, free: 14.83 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003158/0.0463, allocations: 3.344 MB / 393.4 MB, free: 11.48 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006932/0.04699, allocations: 468 kB / 393.9 MB, free: 11.02 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002153/0.04915, allocations: 1.513 MB / 395.4 MB, free: 9.504 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001958/0.05111, allocations: 2.957 MB / 398.4 MB, free: 6.539 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002107/0.05321, allocations: 1.811 MB / 400.2 MB, free: 4.723 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005987/0.0592, allocations: 6.376 MB / 406.6 MB, free: 14.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.05921, allocations: 0 / 406.6 MB, free: 14.32 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.05921, allocations: 0 / 406.6 MB, free: 14.32 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001026/0.05931, allocations: 0 / 406.6 MB, free: 14.32 MB / 346.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.008203/0.06751, allocations: 7.338 MB / 413.9 MB, free: 6.906 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.06755, allocations: 11.97 kB / 413.9 MB, free: 6.895 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01256/0.08012, allocations: 3.937 MB / 417.8 MB, free: 2.949 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005317/0.08543, allocations: 3.772 MB / 421.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001628/0.0856, allocations: 308.4 kB / 421.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005536/0.08615, allocations: 428.3 kB / 422.3 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01199/0.09814, allocations: 8.718 MB / 431.1 MB, free: 4.453 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001102/0.09825, allocations: 59.47 kB / 431.1 MB, free: 4.395 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003678/0.09862, allocations: 195.8 kB / 431.3 MB, free: 4.203 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002511/0.1011, allocations: 2.531 MB / 433.8 MB, free: 1.668 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009768/0.1109, allocations: 4.934 MB / 438.8 MB, free: 12.72 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1958/0.3067, allocations: 55.65 MB / 494.4 MB, free: 49.88 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007363/0.3141, allocations: 3.565 MB / 498 MB, free: 49.7 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001342/0.3154, allocations: 1.223 MB / 499.2 MB, free: 49.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008902/0.3243, allocations: 8.813 MB / 0.4961 GB, free: 45.82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.3244, allocations: 65.56 kB / 0.4962 GB, free: 45.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=230): time 5.28e-06/0.3244, allocations: 1.078 kB / 0.4962 GB, free: 45.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=267): time 0.03677/0.3612, allocations: 20.56 MB / 0.5163 GB, free: 28.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.711e-05/0.3612, allocations: 263.6 kB / 0.5165 GB, free: 28.14 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003363/0.3646, allocations: 4.398 MB / 0.5208 GB, free: 23.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001243/0.3647, allocations: 65.7 kB / 0.5209 GB, free: 23.83 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001474/0.3662, allocations: 4.242 MB / 0.525 GB, free: 19.9 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005248/0.3667, allocations: 1.068 MB / 0.526 GB, free: 18.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001225/0.3679, allocations: 1.636 MB / 0.5276 GB, free: 17.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.073e-05/0.368, allocations: 476.8 kB / 0.5281 GB, free: 16.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001387/0.3693, allocations: 1.006 MB / 0.5291 GB, free: 15.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003208/0.3726, allocations: 7.487 MB / 0.5364 GB, free: 5.383 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006974/0.3795, allocations: 9.249 MB / 0.5454 GB, free: 9.543 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.292e-05/0.3796, allocations: 44 kB / 0.5455 GB, free: 9.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.01002/0.3896, allocations: 7.269 MB / 0.5526 GB, free: 2.215 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.184e-05/0.3897, allocations: 74.64 kB / 0.5526 GB, free: 2.145 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001054/0.3898, allocations: 152.1 kB / 0.5528 GB, free: 1.996 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001734/0.3915, allocations: 0.8153 MB / 0.5536 GB, free: 1.176 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003336/0.3949, allocations: 1.829 MB / 0.5554 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004548/0.3994, allocations: 5.779 MB / 0.561 GB, free: 9.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003085/0.4025, allocations: 0.499 MB / 0.5615 GB, free: 8.844 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004049/0.4029, allocations: 444 kB / 0.5619 GB, free: 8.41 MB / 410.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.00136/0.4043, allocations: 0.7839 MB / 0.5627 GB, free: 7.613 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000574/0.4048, allocations: 0.5089 MB / 0.5632 GB, free: 7.102 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004263/0.4091, allocations: 2.654 MB / 0.5658 GB, free: 4.426 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.011e-05/0.4091, allocations: 31.94 kB / 0.5658 GB, free: 4.395 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.385e-05/0.4092, allocations: 11.98 kB / 0.5658 GB, free: 4.383 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.795e-05/0.4092, allocations: 7.969 kB / 0.5658 GB, free: 4.375 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01321/0.4224, allocations: 7.523 MB / 0.5732 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/0.4224, allocations: 2.672 kB / 0.5732 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001804/0.4242, allocations: 0.5032 MB / 0.5737 GB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001887/0.4261, allocations: 0.577 MB / 0.5742 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001787/0.4263, allocations: 50.33 kB / 0.5743 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004928/0.4312, allocations: 5.313 MB / 0.5795 GB, free: 6.199 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.4312, allocations: 7.703 kB / 0.5795 GB, free: 6.195 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006671/0.4379, allocations: 3.879 MB / 0.5833 GB, free: 2.234 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001497/0.4394, allocations: 0.7819 MB / 0.584 GB, free: 1.449 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003834/0.4397, allocations: 43.94 kB / 0.5841 GB, free: 1.406 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001626/0.4414, allocations: 250.3 kB / 0.5843 GB, free: 1.164 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003436/0.4417, allocations: 149.6 kB / 0.5844 GB, free: 1.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001688/0.4419, allocations: 67.98 kB / 0.5845 GB, free: 0.9531 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00266/0.4445, allocations: 1.934 MB / 0.5864 GB, free: 15.02 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4445, allocations: 0 / 0.5864 GB, free: 15.02 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004911/0.4495, allocations: 1.512 MB / 0.5879 GB, free: 13.51 MB / 442.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.0004699/0.4499, allocations: 218.4 kB / 0.5881 GB, free: 13.29 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005826/0.4557, allocations: 4.275 MB / 0.5923 GB, free: 9.004 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.4558, allocations: 4.312 kB / 0.5923 GB, free: 9 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001384/0.4571, allocations: 1.377 MB / 0.5936 GB, free: 7.582 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00166/0.4588, allocations: 0.5376 MB / 0.5941 GB, free: 7.062 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1359/0.5947, allocations: 10.29 MB / 0.6042 GB, free: 142.7 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00159/0.5963, allocations: 1.644 MB / 0.6058 GB, free: 142.5 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003482/0.5998, allocations: 1.96 MB / 0.6077 GB, free: 142.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008211/0.6006, allocations: 313.5 kB / 0.608 GB, free: 142.5 MB / 442.7 MB Notification: Performance of SimCode: time 2.785e-06/0.6006, allocations: 0 / 0.608 GB, free: 142.5 MB / 442.7 MB Notification: Performance of Templates: time 0.05367/0.6542, allocations: 46.34 MB / 0.6533 GB, free: 107 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.772312754765153]