Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009352/0.0009352, allocations: 81.81 kB / 21.42 MB, free: 3.062 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009731/0.0009731, allocations: 163.5 kB / 24.82 MB, free: 9.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.993/0.993, allocations: 177 MB / 205.1 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2862/0.2862, allocations: 34.86 MB / 296.6 MB, free: 0.4961 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.726e-06/2.726e-06, allocations: 3.984 kB / 379.2 MB, free: 1.801 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.633e-05/2.906e-05, allocations: 4.984 kB / 379.2 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01182/0.01184, allocations: 14.07 MB / 393.3 MB, free: 3.656 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008822/0.02067, allocations: 4.902 MB / 398.2 MB, free: 14.74 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001671/0.02234, allocations: 119.4 kB / 398.3 MB, free: 14.62 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003834/0.02617, allocations: 4.24 MB / 402.6 MB, free: 10.37 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003503/0.02968, allocations: 2.492 MB / 405.1 MB, free: 7.867 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001604/0.03128, allocations: 1.302 MB / 406.4 MB, free: 6.562 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005401/0.03668, allocations: 7.358 MB / 413.7 MB, free: 15.19 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003497/0.04018, allocations: 4.431 MB / 418.2 MB, free: 10.69 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003889/0.04407, allocations: 4.386 MB / 422.5 MB, free: 6.293 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002922/0.04699, allocations: 3.293 MB / 425.8 MB, free: 2.992 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006256/0.04761, allocations: 472 kB / 426.3 MB, free: 2.531 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001679/0.04929, allocations: 1.478 MB / 427.8 MB, free: 1.051 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001661/0.05095, allocations: 2.922 MB / 430.7 MB, free: 14.12 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001427/0.05238, allocations: 1.784 MB / 432.5 MB, free: 12.33 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004569/0.05695, allocations: 6.283 MB / 438.8 MB, free: 6.027 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.05695, allocations: 0 / 438.8 MB, free: 6.027 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.05695, allocations: 0 / 438.8 MB, free: 6.027 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.181e-05/0.05704, allocations: 0 / 438.8 MB, free: 6.027 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.1804/0.2374, allocations: 6.942 MB / 445.7 MB, free: 92.53 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.2375, allocations: 11.47 kB / 445.7 MB, free: 92.53 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01464/0.2521, allocations: 2.925 MB / 448.6 MB, free: 92.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005966/0.2581, allocations: 3.01 MB / 451.7 MB, free: 91.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001784/0.2583, allocations: 308.7 kB / 452 MB, free: 91.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007739/0.259, allocations: 429.5 kB / 452.4 MB, free: 91.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01125/0.2703, allocations: 7.658 MB / 460 MB, free: 87.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001625/0.2704, allocations: 57.59 kB / 460.1 MB, free: 87.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003891/0.2708, allocations: 201.2 kB / 460.3 MB, free: 87.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001653/0.2725, allocations: 2.259 MB / 462.5 MB, free: 87.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007594/0.2801, allocations: 3.538 MB / 466.1 MB, free: 86.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03461/0.3147, allocations: 55.17 MB / 0.509 GB, free: 42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007504/0.3222, allocations: 3.066 MB / 0.512 GB, free: 41.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001271/0.3235, allocations: 0.8352 MB / 0.5128 GB, free: 41.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008346/0.3318, allocations: 6.568 MB / 0.5193 GB, free: 35.87 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.3318, allocations: 55.64 kB / 0.5193 GB, free: 35.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=199): time 4.087e-06/0.3318, allocations: 7.391 kB / 0.5193 GB, free: 35.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=225): time 0.0214/0.3532, allocations: 9.844 MB / 0.5289 GB, free: 27.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.3533, allocations: 257.3 kB / 0.5292 GB, free: 27.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002937/0.3562, allocations: 4.512 MB / 0.5336 GB, free: 22.81 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.961e-05/0.3563, allocations: 61.7 kB / 0.5336 GB, free: 22.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001268/0.3576, allocations: 4.407 MB / 0.5379 GB, free: 18.31 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004081/0.358, allocations: 0.9305 MB / 0.5389 GB, free: 17.37 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001091/0.3591, allocations: 1.678 MB / 0.5405 GB, free: 15.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.406e-05/0.3591, allocations: 476.8 kB / 0.5409 GB, free: 15.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009677/0.3601, allocations: 0.745 MB / 0.5417 GB, free: 14.47 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002529/0.3626, allocations: 7.717 MB / 0.5492 GB, free: 3.609 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004978/0.3676, allocations: 9.153 MB / 0.5581 GB, free: 7.383 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.363e-05/0.3676, allocations: 44 kB / 0.5582 GB, free: 7.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=1002) (initialization): time 0.005962/0.3736, allocations: 6.108 MB / 0.5642 GB, free: 1.219 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.893e-05/0.3737, allocations: 72 kB / 0.5642 GB, free: 1.148 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.261e-05/0.3738, allocations: 164 kB / 0.5644 GB, free: 0.9883 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000372/0.3741, allocations: 291.6 kB / 0.5647 GB, free: 0.6953 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002739/0.3769, allocations: 1.766 MB / 0.5664 GB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001451/0.3783, allocations: 3.774 MB / 0.5701 GB, free: 10.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002247/0.3806, allocations: 332 kB / 0.5704 GB, free: 10.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003151/0.3809, allocations: 396 kB / 0.5708 GB, free: 10.21 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 739 * 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 (976): * Single equations (assignments): 971 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001208/0.3821, allocations: 0.7985 MB / 0.5715 GB, free: 9.402 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000433/0.3825, allocations: 0.4971 MB / 0.572 GB, free: 8.902 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001455/0.384, allocations: 1.419 MB / 0.5734 GB, free: 7.465 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.696e-05/0.384, allocations: 24 kB / 0.5734 GB, free: 7.441 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.384, allocations: 0 / 0.5734 GB, free: 7.441 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.384, allocations: 11.97 kB / 0.5734 GB, free: 7.43 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007356/0.3914, allocations: 6.101 MB / 0.5794 GB, free: 1.168 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.824e-06/0.3914, allocations: 4 kB / 0.5794 GB, free: 1.164 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008911/0.3923, allocations: 364.1 kB / 0.5798 GB, free: 0.8086 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001996/0.3925, allocations: 87.3 kB / 0.5798 GB, free: 0.7148 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.969e-05/0.3925, allocations: 51.92 kB / 0.5799 GB, free: 0.6641 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001342/0.3939, allocations: 3.478 MB / 0.5833 GB, free: 12.96 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.3939, allocations: 8 kB / 0.5833 GB, free: 12.95 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00236/0.3962, allocations: 2.625 MB / 0.5859 GB, free: 10.21 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004382/0.3967, allocations: 424.9 kB / 0.5863 GB, free: 9.789 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002592/0.3969, allocations: 44 kB / 0.5863 GB, free: 9.746 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007463/0.3977, allocations: 59.98 kB / 0.5864 GB, free: 9.688 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001562/0.3978, allocations: 140.9 kB / 0.5865 GB, free: 9.551 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.38e-05/0.3979, allocations: 48 kB / 0.5865 GB, free: 9.504 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001486/0.3994, allocations: 1.832 MB / 0.5883 GB, free: 7.676 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3994, allocations: 0 / 0.5883 GB, free: 7.676 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003424/0.4028, allocations: 1.301 MB / 0.5896 GB, free: 6.375 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (201): * Single equations (assignments): 196 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000316/0.4031, allocations: 194.8 kB / 0.5898 GB, free: 6.176 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003555/0.4067, allocations: 3.572 MB / 0.5933 GB, free: 2.602 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.4067, allocations: 0 / 0.5933 GB, free: 2.602 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007919/0.4075, allocations: 0.9579 MB / 0.5942 GB, free: 1.609 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001546/0.409, allocations: 0.5396 MB / 0.5947 GB, free: 1.086 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01012/0.4192, allocations: 9.831 MB / 0.6043 GB, free: 7.086 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001297/0.4205, allocations: 1.614 MB / 0.6059 GB, free: 5.449 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001477/0.4219, allocations: 0.6414 MB / 0.6065 GB, free: 4.805 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001156/0.4231, allocations: 0.7792 MB / 0.6073 GB, free: 4.023 MB / 474.7 MB Notification: Performance of SimCode: time 9.42e-07/0.4231, allocations: 0 / 0.6073 GB, free: 4.023 MB / 474.7 MB Notification: Performance of Templates: time 0.2006/0.6237, allocations: 39.47 MB / 0.6458 GB, free: 128.7 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.621948966756463]