Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001209/0.001209, allocations: 181.4 kB / 17.41 MB, free: 4.285 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.37/2.37, allocations: 205.4 MB / 223.6 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009761/0.000976, allocations: 84.94 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.6318/0.6318, allocations: 43.56 MB / 363.7 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004056/0.0004058, allocations: 12 kB / 432.6 MB, free: 5.645 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.166, allocations: 58.85 MB / 491.4 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5794/0.7454, allocations: 111.9 MB / 0.5892 GB, free: 6.309 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004054/0.7459, allocations: 71.97 kB / 0.5893 GB, free: 6.238 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8794/1.625, allocations: 109.7 MB / 0.6964 GB, free: 88.14 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.849e-06/1.625, allocations: 0 / 0.6964 GB, free: 88.14 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005347/1.626, allocations: 117.7 kB / 0.6965 GB, free: 88.13 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.03384/1.66, allocations: 6.102 MB / 0.7025 GB, free: 85.66 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.93e-05/1.66, allocations: 9.75 kB / 0.7025 GB, free: 85.66 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04299/1.703, allocations: 5.255 MB / 0.7076 GB, free: 85.25 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02471/1.728, allocations: 5.957 MB / 0.7134 GB, free: 84.36 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001512/1.729, allocations: 417 kB / 0.7138 GB, free: 84.35 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005034/1.734, allocations: 0.5464 MB / 0.7143 GB, free: 84.34 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05133/1.786, allocations: 13.95 MB / 0.728 GB, free: 81.14 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001151/1.787, allocations: 72.31 kB / 0.728 GB, free: 81.13 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004762/1.792, allocations: 266.6 kB / 0.7283 GB, free: 81.13 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003782/1.796, allocations: 1.364 MB / 0.7296 GB, free: 80.99 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04269/1.838, allocations: 11.51 MB / 0.7409 GB, free: 77.55 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1104/1.949, allocations: 60.62 MB / 0.8001 GB, free: 33.61 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02637/1.975, allocations: 5.775 MB / 0.8057 GB, free: 31.59 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007717/1.983, allocations: 3.296 MB / 0.8089 GB, free: 30.16 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03697/2.02, allocations: 14.62 MB / 0.8232 GB, free: 17.61 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.159e-05/2.02, allocations: 56.56 kB / 0.8232 GB, free: 17.55 MB / 490.7 MB Notification: Performance of pre-optimization done (n=227): time 8.465e-06/2.02, allocations: 4 kB / 0.8233 GB, free: 17.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=264): time 0.1236/2.144, allocations: 25.29 MB / 0.848 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002268/2.144, allocations: 261.3 kB / 0.8482 GB, free: 9.715 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01722/2.161, allocations: 5.028 MB / 0.8531 GB, free: 4.695 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008407/2.162, allocations: 61.7 kB / 0.8532 GB, free: 4.629 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.006149/2.169, allocations: 3.983 MB / 0.8571 GB, free: 0.6445 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.424/2.593, allocations: 0.9867 MB / 0.858 GB, free: 98.82 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001533/2.594, allocations: 148.6 kB / 0.8582 GB, free: 98.82 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001219/2.596, allocations: 0.6189 MB / 0.8588 GB, free: 98.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01026/2.606, allocations: 2.574 MB / 0.8613 GB, free: 98.48 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0155/2.621, allocations: 6.939 MB / 0.8681 GB, free: 92.92 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02126/2.643, allocations: 10.38 MB / 0.8782 GB, free: 87.36 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006343/2.643, allocations: 44.91 kB / 0.8782 GB, free: 87.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=966) (initialization): time 0.03433/2.678, allocations: 9.727 MB / 0.8877 GB, free: 86.34 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006833/2.679, allocations: 72.03 kB / 0.8878 GB, free: 86.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007992/2.679, allocations: 153.2 kB / 0.888 GB, free: 86.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003402/2.683, allocations: 0.5733 MB / 0.8885 GB, free: 86.31 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01181/2.695, allocations: 1.739 MB / 0.8902 GB, free: 86.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01096/2.706, allocations: 5.64 MB / 0.8957 GB, free: 83.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01159/2.717, allocations: 402.2 kB / 0.8961 GB, free: 83.42 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00309/2.721, allocations: 441.5 kB / 0.8965 GB, free: 83.42 MB / 0.4948 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.01208/2.733, allocations: 2.641 MB / 0.8991 GB, free: 82.98 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002222/2.735, allocations: 474.1 kB / 0.8996 GB, free: 82.98 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01562/2.751, allocations: 4.012 MB / 0.9035 GB, free: 81.35 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001219/2.751, allocations: 31.53 kB / 0.9035 GB, free: 81.35 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.379e-05/2.751, allocations: 4.531 kB / 0.9035 GB, free: 81.35 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.73e-05/2.751, allocations: 14.19 kB / 0.9035 GB, free: 81.35 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04422/2.795, allocations: 10.29 MB / 0.9136 GB, free: 77.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.777e-05/2.795, allocations: 0.5156 kB / 0.9136 GB, free: 77.58 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004519/2.8, allocations: 469.5 kB / 0.914 GB, free: 77.54 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002021/2.802, allocations: 347.5 kB / 0.9143 GB, free: 77.45 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008733/2.803, allocations: 47.3 kB / 0.9144 GB, free: 77.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008883/2.812, allocations: 4.971 MB / 0.9192 GB, free: 73.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/2.812, allocations: 4.062 kB / 0.9192 GB, free: 73.77 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01819/2.83, allocations: 7.047 MB / 0.9261 GB, free: 70.88 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004331/2.834, allocations: 0.8267 MB / 0.9269 GB, free: 70.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002141/2.837, allocations: 50.36 kB / 0.927 GB, free: 70.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005254/2.842, allocations: 163.2 kB / 0.9271 GB, free: 70.32 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001229/2.843, allocations: 137 kB / 0.9273 GB, free: 70.31 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006896/2.844, allocations: 70.69 kB / 0.9273 GB, free: 70.29 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01211/2.856, allocations: 3.134 MB / 0.9304 GB, free: 69.26 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.242e-06/2.856, allocations: 0 / 0.9304 GB, free: 69.26 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01488/2.871, allocations: 1.298 MB / 0.9317 GB, free: 69.11 MB / 0.4948 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.001383/2.873, allocations: 194 kB / 0.9319 GB, free: 68.96 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01846/2.891, allocations: 6.462 MB / 0.9382 GB, free: 66.56 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.237e-05/2.891, allocations: 3.938 kB / 0.9382 GB, free: 66.56 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005883/2.897, allocations: 2.209 MB / 0.9403 GB, free: 65.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01074/2.908, allocations: 0.5953 MB / 0.9409 GB, free: 65.32 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04725/2.955, allocations: 15.1 MB / 0.9557 GB, free: 57.56 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01517/2.97, allocations: 4.126 MB / 0.9597 GB, free: 56.11 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003237/2.974, allocations: 370.2 kB / 0.96 GB, free: 56.09 MB / 0.4948 GB Notification: Performance of SimCode: time 1.813e-06/2.974, allocations: 0 / 0.96 GB, free: 56.09 MB / 0.4948 GB Notification: Performance of Templates: time 0.7216/3.695, allocations: 123.3 MB / 1.08 GB, free: 102.3 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/LineForceWithMass/LineForceWithMass.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches