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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 176.9 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008098/0.0008097, allocations: 91.88 kB / 292.1 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2981/0.2981, allocations: 44.22 MB / 387.5 MB, free: 39 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002819/0.0002819, allocations: 8 kB / 459.9 MB, free: 1.762 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2678, allocations: 61.9 MB / 0.5096 GB, free: 37.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1291/0.397, allocations: 113.6 MB / 0.6205 GB, free: 13.5 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/0.3972, allocations: 79.97 kB / 0.6206 GB, free: 13.42 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5038/0.9011, allocations: 112.8 MB / 0.7307 GB, free: 95.62 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.9012, allocations: 0 / 0.7307 GB, free: 95.62 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003264/0.9015, allocations: 110.8 kB / 0.7309 GB, free: 95.62 MB / 490.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.02059/0.9221, allocations: 6.341 MB / 0.737 GB, free: 92.63 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.9222, allocations: 10.23 kB / 0.7371 GB, free: 92.63 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02428/0.9464, allocations: 6.886 MB / 0.7438 GB, free: 91.59 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01864/0.9651, allocations: 6.814 MB / 0.7504 GB, free: 89.13 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004242/0.9656, allocations: 412.2 kB / 0.7508 GB, free: 88.97 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002604/0.9682, allocations: 0.5394 MB / 0.7514 GB, free: 88.82 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03033/0.9986, allocations: 14.12 MB / 0.7651 GB, free: 80.09 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003462/0.999, allocations: 78.19 kB / 0.7652 GB, free: 80.04 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002078/1.001, allocations: 266.1 kB / 0.7655 GB, free: 79.89 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00185/1.003, allocations: 1.362 MB / 0.7668 GB, free: 78.54 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02304/1.026, allocations: 11.73 MB / 0.7783 GB, free: 66.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06249/1.089, allocations: 60.68 MB / 0.8375 GB, free: 4.438 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01431/1.103, allocations: 5.81 MB / 0.8432 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02161/1.125, allocations: 14.72 MB / 0.8576 GB, free: 15.19 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.214e-05/1.125, allocations: 56.55 kB / 0.8576 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=227): time 4.929e-06/1.125, allocations: 3.938 kB / 0.8576 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of matching and sorting (n=264): time 0.3644/1.489, allocations: 25.49 MB / 0.8825 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/1.489, allocations: 264.4 kB / 0.8828 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007072/1.496, allocations: 4.433 MB / 0.8871 GB, free: 116.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000645/1.497, allocations: 65.97 kB / 0.8872 GB, free: 116.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002719/1.5, allocations: 3.978 MB / 0.891 GB, free: 114 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00128/1.501, allocations: 0.9883 MB / 0.892 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003636/1.501, allocations: 150.5 kB / 0.8922 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003748/1.502, allocations: 0.6128 MB / 0.8928 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00377/1.506, allocations: 2.574 MB / 0.8953 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006314/1.512, allocations: 6.917 MB / 0.902 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006574/1.518, allocations: 4.125 MB / 0.906 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001518/1.519, allocations: 43.38 kB / 0.9061 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=966) (initialization): time 0.0212/1.54, allocations: 9.726 MB / 0.9156 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003567/1.54, allocations: 70.12 kB / 0.9157 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000517/1.541, allocations: 152.4 kB / 0.9158 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001762/1.543, allocations: 0.5893 MB / 0.9164 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006418/1.549, allocations: 1.743 MB / 0.9181 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005949/1.555, allocations: 5.72 MB / 0.9237 GB, free: 98.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006482/1.561, allocations: 410.1 kB / 0.9241 GB, free: 98.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001705/1.563, allocations: 440.8 kB / 0.9245 GB, free: 97.96 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 696 * 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 (916): * Single equations (assignments): 911 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00628/1.57, allocations: 2.634 MB / 0.927 GB, free: 96.75 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001161/1.571, allocations: 466.2 kB / 0.9275 GB, free: 96.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007576/1.578, allocations: 4.011 MB / 0.9314 GB, free: 94.87 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.251e-05/1.578, allocations: 28.14 kB / 0.9314 GB, free: 94.87 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-05/1.578, allocations: 5.688 kB / 0.9314 GB, free: 94.87 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.499e-05/1.578, allocations: 13.66 kB / 0.9315 GB, free: 94.87 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0324/1.611, allocations: 10.27 MB / 0.9415 GB, free: 91.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.744e-05/1.611, allocations: 2.516 kB / 0.9415 GB, free: 91.06 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003686/1.615, allocations: 469 kB / 0.9419 GB, free: 91.03 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001472/1.616, allocations: 349 kB / 0.9423 GB, free: 90.94 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000479/1.617, allocations: 47.94 kB / 0.9423 GB, free: 90.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006431/1.623, allocations: 5.061 MB / 0.9473 GB, free: 87.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/1.623, allocations: 3.469 kB / 0.9473 GB, free: 87.18 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01321/1.636, allocations: 7.139 MB / 0.9542 GB, free: 84.01 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002279/1.639, allocations: 0.493 MB / 0.9547 GB, free: 83.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001448/1.64, allocations: 43.34 kB / 0.9547 GB, free: 83.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003689/1.644, allocations: 155.4 kB / 0.9549 GB, free: 83.57 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004984/1.644, allocations: 148.6 kB / 0.955 GB, free: 83.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003226/1.645, allocations: 69.69 kB / 0.9551 GB, free: 83.52 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007938/1.653, allocations: 3.111 MB / 0.9581 GB, free: 82.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.41e-07/1.653, allocations: 0 / 0.9581 GB, free: 82.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007408/1.66, allocations: 1.297 MB / 0.9594 GB, free: 82.34 MB / 0.5105 GB 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 (224): * Single equations (assignments): 219 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006504/1.661, allocations: 202.7 kB / 0.9596 GB, free: 82.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009/1.67, allocations: 6.45 MB / 0.9659 GB, free: 79.56 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.824e-06/1.67, allocations: 4 kB / 0.9659 GB, free: 79.55 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002484/1.672, allocations: 2.216 MB / 0.9681 GB, free: 77.57 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003132/1.675, allocations: 0.5737 MB / 0.9686 GB, free: 77.07 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02031/1.696, allocations: 14.38 MB / 0.9827 GB, free: 63.93 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003953/1.7, allocations: 4.217 MB / 0.9868 GB, free: 60.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005691/1.706, allocations: 2.399 MB / 0.9891 GB, free: 59.27 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009758/1.707, allocations: 325.9 kB / 0.9894 GB, free: 58.96 MB / 0.5105 GB Notification: Performance of SimCode: time 1.283e-06/1.707, allocations: 0 / 0.9894 GB, free: 58.96 MB / 0.5105 GB Notification: Performance of Templates: time 0.07201/1.779, allocations: 44.84 MB / 1.033 GB, free: 20.5 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) 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","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches