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.001281/0.001281, allocations: 101.6 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002558/0.002558, allocations: 181.9 kB / 16.92 MB, free: 6.922 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.817/1.817, allocations: 205.4 MB / 223.1 MB, free: 5.531 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.3977/0.3977, allocations: 43.58 MB / 315 MB, free: 8.801 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.000589/0.0005891, allocations: 12.52 kB / 384.6 MB, free: 7.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1553, allocations: 58.87 MB / 443.5 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.3719/0.5272, allocations: 85.46 MB / 0.5165 GB, free: 8.957 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05245/0.5797, allocations: 16.67 MB / 0.5328 GB, free: 13.82 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02496/0.6047, allocations: 368.7 kB / 0.5331 GB, free: 13.76 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003553/0.6083, allocations: 0.6814 MB / 0.5338 GB, free: 13.48 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01044/0.6187, allocations: 2.577 MB / 0.5363 GB, free: 12.29 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004347/0.6231, allocations: 1.091 MB / 0.5374 GB, free: 11.83 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01987/0.643, allocations: 10.25 MB / 0.5474 GB, free: 5.391 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01714/0.6602, allocations: 9.481 MB / 0.5567 GB, free: 11.85 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006158/0.6664, allocations: 2 MB / 0.5586 GB, free: 9.84 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00741/0.6738, allocations: 3.632 MB / 0.5622 GB, free: 6.195 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002087/0.6759, allocations: 276 kB / 0.5624 GB, free: 5.926 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004053/0.68, allocations: 1.022 MB / 0.5634 GB, free: 4.902 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004338/0.6844, allocations: 3.112 MB / 0.5665 GB, free: 1.781 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007809/0.6922, allocations: 3.53 MB / 0.5699 GB, free: 14.22 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01745/0.7097, allocations: 11.27 MB / 0.5809 GB, free: 2.914 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.7097, allocations: 4 kB / 0.5809 GB, free: 2.91 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.497e-06/0.7097, allocations: 4 kB / 0.5809 GB, free: 2.906 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005239/0.7103, allocations: 0 / 0.5809 GB, free: 2.906 MB / 446.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.01593/0.7262, allocations: 6.611 MB / 0.5874 GB, free: 12.21 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.7263, allocations: 8.031 kB / 0.5874 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01197/0.7382, allocations: 2.779 MB / 0.5901 GB, free: 9.414 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008863/0.7471, allocations: 3.939 MB / 0.5939 GB, free: 5.414 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004485/0.7476, allocations: 464.1 kB / 0.5944 GB, free: 4.961 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002001/0.7496, allocations: 0.5932 MB / 0.595 GB, free: 4.367 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04942/0.7991, allocations: 21.27 MB / 0.6157 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004909/0.7996, allocations: 79.25 kB / 0.6158 GB, free: 13.87 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003357/0.803, allocations: 283.7 kB / 0.6161 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006807/0.8098, allocations: 3.545 MB / 0.6195 GB, free: 10.04 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5443/1.354, allocations: 17.25 MB / 0.6364 GB, free: 134.8 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09969/1.454, allocations: 67.85 MB / 0.7027 GB, free: 89.24 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0194/1.473, allocations: 6.697 MB / 0.7092 GB, free: 86.46 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003997/1.477, allocations: 2.298 MB / 0.7114 GB, free: 85.34 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01673/1.494, allocations: 9.789 MB / 0.721 GB, free: 78.89 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.565e-05/1.494, allocations: 63.94 kB / 0.7211 GB, free: 78.83 MB / 494.1 MB Notification: Performance of pre-optimization done (n=296): time 6.753e-06/1.494, allocations: 0 / 0.7211 GB, free: 78.83 MB / 494.1 MB Notification: Performance of matching and sorting (n=330): time 0.05834/1.553, allocations: 22.83 MB / 0.7434 GB, free: 56.86 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.259e-05/1.553, allocations: 162.7 kB / 0.7435 GB, free: 56.67 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007765/1.56, allocations: 6.029 MB / 0.7494 GB, free: 50.62 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006868/1.561, allocations: 81.06 kB / 0.7495 GB, free: 50.54 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002988/1.564, allocations: 5.187 MB / 0.7545 GB, free: 45.36 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001533/1.566, allocations: 1.251 MB / 0.7558 GB, free: 44.11 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008923/1.567, allocations: 0.8275 MB / 0.7566 GB, free: 43.28 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.3e-05/1.567, allocations: 305.1 kB / 0.7569 GB, free: 42.98 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00422/1.571, allocations: 2.85 MB / 0.7596 GB, free: 40.12 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007284/1.578, allocations: 8.679 MB / 0.7681 GB, free: 28.58 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01339/1.592, allocations: 12.52 MB / 0.7803 GB, free: 13.15 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000186/1.592, allocations: 60 kB / 0.7804 GB, free: 13.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=1291) (initialization): time 0.02503/1.617, allocations: 11.28 MB / 0.7914 GB, free: 1.777 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001463/1.617, allocations: 92 kB / 0.7915 GB, free: 1.688 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003181/1.617, allocations: 207.9 kB / 0.7917 GB, free: 1.484 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002138/1.618, allocations: 272 kB / 0.792 GB, free: 1.219 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008188/1.626, allocations: 2.355 MB / 0.7943 GB, free: 14.86 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003719/1.626, allocations: 406.5 kB / 0.7946 GB, free: 14.46 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007735/1.634, allocations: 475.4 kB / 0.7951 GB, free: 14 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001953/1.636, allocations: 0.5742 MB / 0.7957 GB, free: 13.42 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.009078/1.645, allocations: 3.4 MB / 0.799 GB, free: 10.01 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001595/1.647, allocations: 0.5477 MB / 0.7995 GB, free: 9.453 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007088/1.654, allocations: 3.444 MB / 0.8029 GB, free: 5.957 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.484e-05/1.654, allocations: 36 kB / 0.8029 GB, free: 5.922 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.444e-05/1.654, allocations: 1.062 kB / 0.8029 GB, free: 5.922 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-05/1.654, allocations: 19.94 kB / 0.8029 GB, free: 5.902 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03409/1.688, allocations: 13.81 MB / 0.8164 GB, free: 7.613 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.788e-05/1.688, allocations: 39.98 kB / 0.8165 GB, free: 7.574 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002351/1.691, allocations: 0.6129 MB / 0.8171 GB, free: 6.961 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.165e-05/1.691, allocations: 48 kB / 0.8171 GB, free: 6.914 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002212/1.691, allocations: 103.9 kB / 0.8172 GB, free: 6.812 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.302e-05/1.691, allocations: 77.52 kB / 0.8173 GB, free: 6.738 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.392e-05/1.691, allocations: 47.81 kB / 0.8173 GB, free: 6.691 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2988/1.99, allocations: 6.309 MB / 0.8235 GB, free: 153.8 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002863/1.993, allocations: 0.8485 MB / 0.8243 GB, free: 153.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009959/1.994, allocations: 102.8 kB / 0.8244 GB, free: 153.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002456/1.996, allocations: 161.3 kB / 0.8246 GB, free: 153.7 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005408/1.997, allocations: 298.7 kB / 0.8248 GB, free: 153.7 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002567/1.997, allocations: 129.2 kB / 0.825 GB, free: 153.7 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.006501/2.003, allocations: 3.754 MB / 0.8286 GB, free: 153.5 MB / 0.5138 GB Notification: Performance of sort global known variables: time 4.11e-07/2.004, allocations: 0 / 0.8286 GB, free: 153.5 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.009153/2.013, allocations: 1.566 MB / 0.8302 GB, free: 153.5 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.0008692/2.014, allocations: 287.2 kB / 0.8304 GB, free: 153.4 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01147/2.025, allocations: 6.508 MB / 0.8368 GB, free: 152.5 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-05/2.025, allocations: 9.016 kB / 0.8368 GB, free: 152.5 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.003218/2.028, allocations: 1.564 MB / 0.8383 GB, free: 152 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03142/2.06, allocations: 0.7674 MB / 0.8391 GB, free: 151.7 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03902/2.099, allocations: 19.56 MB / 0.8582 GB, free: 140.5 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0108/2.11, allocations: 5.147 MB / 0.8632 GB, free: 138.7 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.009724/2.12, allocations: 2.755 MB / 0.8659 GB, free: 138.5 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001838/2.121, allocations: 414.6 kB / 0.8663 GB, free: 138.5 MB / 0.5138 GB Notification: Performance of SimCode: time 1.573e-06/2.121, allocations: 0 / 0.8663 GB, free: 138.5 MB / 0.5138 GB Notification: Performance of Templates: time 0.09532/2.217, allocations: 48.6 MB / 0.9138 GB, free: 104.7 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