Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.conf.json 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/Complex 4.0.0+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/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 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: translateModel(ModelicaTest.MultiBody.Forces.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.frame_a.r_0.1.|body.v_0.1.|heatCapacitor.T|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper") translateModel(ModelicaTest.MultiBody.Forces.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.frame_a.r_0.1.|body.v_0.1.|heatCapacitor.T|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009424/0.009424, allocations: 100.9 kB / 15.87 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001625/0.001626, allocations: 195.6 kB / 16.79 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.628/1.628, allocations: 205.1 MB / 222.6 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4162/0.4162, allocations: 43.49 MB / 313.5 MB, free: 8.301 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001757/0.001757, allocations: 66.56 kB / 382 MB, free: 8.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1402, allocations: 57.79 MB / 439.8 MB, free: 14.6 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.3353/0.4755, allocations: 87.53 MB / 0.515 GB, free: 8.762 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0507/0.5263, allocations: 16.72 MB / 0.5313 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02778/0.5541, allocations: 371.6 kB / 0.5317 GB, free: 13.56 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01243/0.5666, allocations: 5.231 MB / 0.5368 GB, free: 11.12 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01122/0.5779, allocations: 2.578 MB / 0.5393 GB, free: 9.926 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004056/0.582, allocations: 1.09 MB / 0.5404 GB, free: 9.457 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01835/0.6003, allocations: 10.25 MB / 0.5504 GB, free: 15.9 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01003/0.6104, allocations: 6.545 MB / 0.5568 GB, free: 9.34 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005613/0.6161, allocations: 2.488 MB / 0.5592 GB, free: 6.844 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007336/0.6235, allocations: 4.233 MB / 0.5633 GB, free: 2.598 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002407/0.6259, allocations: 488 kB / 0.5638 GB, free: 2.121 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004107/0.63, allocations: 1.217 MB / 0.565 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004039/0.6341, allocations: 3.405 MB / 0.5683 GB, free: 13.49 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006716/0.6408, allocations: 3.883 MB / 0.5721 GB, free: 9.582 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01667/0.6575, allocations: 11.64 MB / 0.5835 GB, free: 13.9 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.181e-05/0.6576, allocations: 4 kB / 0.5835 GB, free: 13.9 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.6576, allocations: 0 / 0.5835 GB, free: 13.9 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0006472/0.6583, allocations: 0 / 0.5835 GB, free: 13.9 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.02474/0.683, allocations: 8.179 MB / 0.5915 GB, free: 5.637 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.757e-05/0.6831, allocations: 12.03 kB / 0.5915 GB, free: 5.625 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01214/0.6952, allocations: 2.724 MB / 0.5941 GB, free: 2.887 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0107/0.706, allocations: 3.943 MB / 0.598 GB, free: 14.88 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000579/0.7066, allocations: 468.1 kB / 0.5984 GB, free: 14.43 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003374/0.71, allocations: 0.5894 MB / 0.599 GB, free: 13.84 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04968/0.7597, allocations: 21.22 MB / 0.6197 GB, free: 7.461 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002895/0.7601, allocations: 71.33 kB / 0.6198 GB, free: 7.391 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001327/0.7614, allocations: 287.7 kB / 0.6201 GB, free: 7.109 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005721/0.7671, allocations: 3.541 MB / 0.6235 GB, free: 3.566 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5413/1.308, allocations: 17.2 MB / 0.6403 GB, free: 136 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0956/1.404, allocations: 67.85 MB / 0.7066 GB, free: 89.11 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01726/1.421, allocations: 6.669 MB / 0.7131 GB, free: 85.66 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003412/1.425, allocations: 2.284 MB / 0.7153 GB, free: 84.54 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01516/1.44, allocations: 9.778 MB / 0.7249 GB, free: 75.05 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.23e-05/1.44, allocations: 76.48 kB / 0.725 GB, free: 74.97 MB / 494.1 MB Notification: Performance of pre-optimization done (n=296): time 5.42e-06/1.44, allocations: 0 / 0.725 GB, free: 74.97 MB / 494.1 MB Notification: Performance of matching and sorting (n=330): time 0.05516/1.495, allocations: 22.76 MB / 0.7472 GB, free: 52.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.568e-05/1.495, allocations: 170.6 kB / 0.7473 GB, free: 51.87 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007646/1.503, allocations: 6.029 MB / 0.7532 GB, free: 45.82 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006215/1.504, allocations: 73.7 kB / 0.7533 GB, free: 45.74 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002399/1.506, allocations: 5.198 MB / 0.7584 GB, free: 40.52 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001202/1.507, allocations: 1.245 MB / 0.7596 GB, free: 39.25 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002188/1.51, allocations: 1.932 MB / 0.7615 GB, free: 37.31 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.915e-05/1.51, allocations: 307.8 kB / 0.7618 GB, free: 37.01 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004104/1.514, allocations: 2.854 MB / 0.7646 GB, free: 34.15 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007621/1.521, allocations: 8.667 MB / 0.773 GB, free: 22.61 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01316/1.535, allocations: 12.52 MB / 0.7853 GB, free: 7.184 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001912/1.535, allocations: 56 kB / 0.7853 GB, free: 7.129 MB / 494.1 MB Notification: Performance of matching and sorting (n=1291) (initialization): time 0.02218/1.557, allocations: 11.26 MB / 0.7963 GB, free: 11.82 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001477/1.557, allocations: 92 kB / 0.7964 GB, free: 11.73 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002719/1.557, allocations: 204 kB / 0.7966 GB, free: 11.53 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002702/1.558, allocations: 281.6 kB / 0.7969 GB, free: 11.26 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008684/1.566, allocations: 2.363 MB / 0.7992 GB, free: 8.891 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006108/1.567, allocations: 402.5 kB / 0.7996 GB, free: 8.496 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008142/1.575, allocations: 475.4 kB / 0.8 GB, free: 8.031 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001703/1.577, allocations: 0.5742 MB / 0.8006 GB, free: 7.457 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 934 * Number of states: 0 () * Number of discrete variables: 72 (fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],prismatic2.boxColor[3],prismatic2.boxColor[2],prismatic2.boxColor[1],damper2.color_b[3],damper2.color_b[2],damper2.color_b[1],damper2.color_a[3],damper2.color_a[2],damper2.color_a[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],force.connectionLineColor[3],force.connectionLineColor[2],force.connectionLineColor[1],force.forceColor[3],force.forceColor[2],force.forceColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.color_a[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 (1267): * Single equations (assignments): 1264 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008737/1.586, allocations: 3.409 MB / 0.8039 GB, free: 4.035 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001837/1.588, allocations: 0.5476 MB / 0.8044 GB, free: 3.48 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007189/1.595, allocations: 3.445 MB / 0.8078 GB, free: 15.98 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.731e-05/1.595, allocations: 36 kB / 0.8078 GB, free: 15.95 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.454e-05/1.595, allocations: 3.312 kB / 0.8078 GB, free: 15.95 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.343e-05/1.595, allocations: 15.94 kB / 0.8078 GB, free: 15.93 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02618/1.621, allocations: 13.77 MB / 0.8213 GB, free: 1.602 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.849e-05/1.621, allocations: 36.06 kB / 0.8213 GB, free: 1.566 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002511/1.624, allocations: 0.6084 MB / 0.8219 GB, free: 0.957 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.355e-05/1.624, allocations: 44 kB / 0.822 GB, free: 0.9141 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002243/1.624, allocations: 107.9 kB / 0.8221 GB, free: 0.8086 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.084e-05/1.624, allocations: 63.78 kB / 0.8221 GB, free: 0.7461 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.111e-05/1.624, allocations: 55.75 kB / 0.8222 GB, free: 0.6914 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3311/1.955, allocations: 6.303 MB / 0.8283 GB, free: 153.1 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002785/1.958, allocations: 0.8438 MB / 0.8292 GB, free: 153 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007221/1.959, allocations: 102 kB / 0.8293 GB, free: 153 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002132/1.961, allocations: 147.9 kB / 0.8294 GB, free: 153 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004499/1.961, allocations: 299.1 kB / 0.8297 GB, free: 152.9 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002147/1.962, allocations: 132.8 kB / 0.8298 GB, free: 152.9 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.006491/1.968, allocations: 3.747 MB / 0.8335 GB, free: 152.1 MB / 0.5138 GB Notification: Performance of sort global known variables: time 6.41e-07/1.968, allocations: 2.531 kB / 0.8335 GB, free: 152.1 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.009504/1.978, allocations: 1.569 MB / 0.835 GB, free: 151.9 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 148 * Number of states: 7 (body.frame_a.r_0[1],body.v_0[1],prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * 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 (317): * Single equations (assignments): 314 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007111/1.978, allocations: 279.9 kB / 0.8353 GB, free: 151.8 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01115/1.99, allocations: 6.505 MB / 0.8416 GB, free: 149.8 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 3.364e-05/1.99, allocations: 3 kB / 0.8416 GB, free: 149.8 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.002541/1.992, allocations: 1.566 MB / 0.8432 GB, free: 149.3 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006266/1.998, allocations: 0.7579 MB / 0.8439 GB, free: 149 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03736/2.036, allocations: 19.42 MB / 0.8629 GB, free: 137.9 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00928/2.045, allocations: 5.133 MB / 0.8679 GB, free: 136.1 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.009492/2.055, allocations: 2.762 MB / 0.8706 GB, free: 135.9 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001741/2.056, allocations: 418.5 kB / 0.871 GB, free: 135.9 MB / 0.5138 GB Notification: Performance of SimCode: time 8.72e-07/2.056, allocations: 3.844 kB / 0.871 GB, free: 135.9 MB / 0.5138 GB Notification: Performance of Templates: time 0.09154/2.148, allocations: 48.99 MB / 0.9188 GB, free: 99.69 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Damper/Damper.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches