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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001174/0.001174, allocations: 196.1 kB / 18.1 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 226.5 MB / 245.4 MB, free: 6.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008688/0.0008691, allocations: 98.33 kB / 297.5 MB, free: 6.672 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3477/0.3477, allocations: 44.82 MB / 394.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002973/0.0002975, allocations: 8 kB / 467.9 MB, free: 12.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3889/0.3892, allocations: 62.97 MB / 0.5184 GB, free: 37.5 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1652/0.5545, allocations: 114.5 MB / 0.6302 GB, free: 6.629 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/0.5548, allocations: 83.95 kB / 0.6303 GB, free: 6.551 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5746/1.129, allocations: 112.3 MB / 0.74 GB, free: 97.77 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.372e-06/1.129, allocations: 0 / 0.74 GB, free: 97.77 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004226/1.13, allocations: 120.7 kB / 0.7401 GB, free: 97.75 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.02145/1.151, allocations: 6.118 MB / 0.7461 GB, free: 93.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/1.151, allocations: 15.31 kB / 0.7461 GB, free: 93.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0292/1.181, allocations: 5.248 MB / 0.7512 GB, free: 90.91 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01553/1.196, allocations: 5.456 MB / 0.7566 GB, free: 87.63 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005847/1.197, allocations: 413.1 kB / 0.757 GB, free: 87.44 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003335/1.2, allocations: 0.5473 MB / 0.7575 GB, free: 87.24 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03566/1.236, allocations: 13.96 MB / 0.7711 GB, free: 72.94 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004367/1.236, allocations: 67.59 kB / 0.7712 GB, free: 72.87 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002449/1.239, allocations: 267.8 kB / 0.7714 GB, free: 72.61 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001985/1.241, allocations: 1.364 MB / 0.7728 GB, free: 71.24 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02342/1.264, allocations: 11.52 MB / 0.784 GB, free: 59.71 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06603/1.33, allocations: 60.55 MB / 0.8431 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01621/1.347, allocations: 5.781 MB / 0.8488 GB, free: 7.352 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004974/1.352, allocations: 3.299 MB / 0.852 GB, free: 4.051 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02474/1.376, allocations: 14.59 MB / 0.8663 GB, free: 4.906 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.035e-05/1.377, allocations: 60.5 kB / 0.8663 GB, free: 4.84 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=227): time 5.921e-06/1.377, allocations: 0 / 0.8663 GB, free: 4.84 MB / 0.5105 GB Notification: Performance of matching and sorting (n=264): time 0.3389/1.715, allocations: 25.21 MB / 0.8909 GB, free: 134.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.376e-05/1.716, allocations: 261.1 kB / 0.8912 GB, free: 134.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00685/1.722, allocations: 4.989 MB / 0.896 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004786/1.723, allocations: 64.55 kB / 0.8961 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002351/1.725, allocations: 3.976 MB / 0.9 GB, free: 132.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000985/1.726, allocations: 0.9953 MB / 0.901 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003003/1.727, allocations: 143.8 kB / 0.9011 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003171/1.727, allocations: 0.6151 MB / 0.9017 GB, free: 131.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003199/1.73, allocations: 2.575 MB / 0.9042 GB, free: 131.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004589/1.735, allocations: 6.939 MB / 0.911 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01028/1.745, allocations: 10.38 MB / 0.9211 GB, free: 119 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001771/1.745, allocations: 45.19 kB / 0.9212 GB, free: 119 MB / 0.5261 GB Notification: Performance of matching and sorting (n=966) (initialization): time 0.01744/1.763, allocations: 9.719 MB / 0.9307 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002414/1.763, allocations: 75.97 kB / 0.9307 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002903/1.763, allocations: 152.3 kB / 0.9309 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001303/1.765, allocations: 0.5688 MB / 0.9314 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00598/1.771, allocations: 1.744 MB / 0.9331 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00586/1.776, allocations: 5.626 MB / 0.9386 GB, free: 111 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006589/1.783, allocations: 396.9 kB / 0.939 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001294/1.784, allocations: 440.8 kB / 0.9394 GB, free: 110.8 MB / 0.5261 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.006344/1.791, allocations: 2.642 MB / 0.942 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001253/1.792, allocations: 471 kB / 0.9425 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007183/1.799, allocations: 4.016 MB / 0.9464 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.599e-05/1.799, allocations: 29.33 kB / 0.9464 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.227e-05/1.799, allocations: 3.406 kB / 0.9464 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.7e-05/1.799, allocations: 18.41 kB / 0.9464 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01922/1.819, allocations: 10.28 MB / 0.9565 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.587e-05/1.819, allocations: 0 / 0.9565 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002172/1.821, allocations: 471.4 kB / 0.9569 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008737/1.822, allocations: 345.8 kB / 0.9573 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002445/1.822, allocations: 47.47 kB / 0.9573 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004323/1.826, allocations: 4.965 MB / 0.9621 GB, free: 100 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/1.826, allocations: 6.891 kB / 0.9622 GB, free: 100 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009163/1.835, allocations: 7.044 MB / 0.969 GB, free: 96.96 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001771/1.837, allocations: 499.8 kB / 0.9695 GB, free: 96.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001679/1.839, allocations: 46.09 kB / 0.9696 GB, free: 96.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002686/1.842, allocations: 157.7 kB / 0.9697 GB, free: 96.52 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003724/1.842, allocations: 146.6 kB / 0.9698 GB, free: 96.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001807/1.842, allocations: 66.38 kB / 0.9699 GB, free: 96.48 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005875/1.848, allocations: 3.109 MB / 0.9729 GB, free: 95.46 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.42e-07/1.848, allocations: 0 / 0.9729 GB, free: 95.46 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007573/1.856, allocations: 1.3 MB / 0.9742 GB, free: 95.3 MB / 0.5261 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.0008063/1.857, allocations: 207.7 kB / 0.9744 GB, free: 95.16 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00905/1.866, allocations: 6.454 MB / 0.9807 GB, free: 89.65 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/1.866, allocations: 8 kB / 0.9807 GB, free: 89.64 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002698/1.868, allocations: 2.213 MB / 0.9829 GB, free: 87.66 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004534/1.873, allocations: 0.5811 MB / 0.9834 GB, free: 87.15 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02416/1.897, allocations: 14.44 MB / 0.9976 GB, free: 73.96 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006366/1.903, allocations: 4.113 MB / 1.002 GB, free: 70.82 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006942/1.91, allocations: 2.384 MB / 1.004 GB, free: 69.29 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00157/1.912, allocations: 321.8 kB / 1.004 GB, free: 68.99 MB / 0.5261 GB Notification: Performance of SimCode: time 1.032e-06/1.912, allocations: 0 / 1.004 GB, free: 68.99 MB / 0.5261 GB Notification: Performance of Templates: time 0.0859/1.998, allocations: 45.06 MB / 1.048 GB, free: 28.68 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/LineForceWithMass/LineForceWithMass.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches