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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 88.2 kB / 20.94 MB, free: 3.602 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 169.3 kB / 24.25 MB, free: 308 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9481/0.9481, allocations: 158.6 MB / 186 MB, free: 2.934 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1334/0.1334, allocations: 32.37 MB / 270.7 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.frame_a.r_0.[0-9,]+.|body.v_0.[0-9,]+.|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=5002,variableFilter="time|body.frame_a.r_0.[0-9,]+.|body.v_0.[0-9,]+.|heatCapacitor.T|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 347.7 MB, free: 9.777 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.43e-05/2.614e-05, allocations: 8.219 kB / 347.7 MB, free: 9.77 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.03014/0.03017, allocations: 16.89 MB / 364.6 MB, free: 8.805 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01179/0.04196, allocations: 5.13 MB / 369.7 MB, free: 3.656 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00307/0.04503, allocations: 123.4 kB / 369.8 MB, free: 3.535 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007107/0.05214, allocations: 5.626 MB / 375.5 MB, free: 13.89 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006581/0.05872, allocations: 2.927 MB / 378.4 MB, free: 10.95 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002236/0.06095, allocations: 1.322 MB / 379.7 MB, free: 9.621 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.008838/0.06979, allocations: 7.988 MB / 387.7 MB, free: 1.621 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007657/0.07745, allocations: 6.215 MB / 393.9 MB, free: 11.32 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009143/0.08659, allocations: 4.335 MB / 398.2 MB, free: 6.98 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006134/0.09272, allocations: 4.427 MB / 402.7 MB, free: 2.543 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001664/0.09439, allocations: 0.6367 MB / 403.3 MB, free: 1.906 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003309/0.0977, allocations: 1.319 MB / 404.6 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003904/0.1016, allocations: 3.795 MB / 408.4 MB, free: 12.78 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004513/0.1061, allocations: 2.419 MB / 410.8 MB, free: 10.36 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01068/0.1168, allocations: 7.916 MB / 418.8 MB, free: 2.41 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.1168, allocations: 0 / 418.8 MB, free: 2.41 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1168, allocations: 3.938 kB / 418.8 MB, free: 2.406 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003886/0.1172, allocations: 0 / 418.8 MB, free: 2.406 MB / 346.7 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.01259/0.1298, allocations: 8.964 MB / 427.7 MB, free: 9.352 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.1298, allocations: 12.03 kB / 427.7 MB, free: 9.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008424/0.1383, allocations: 3.721 MB / 431.5 MB, free: 5.609 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006343/0.1446, allocations: 3.516 MB / 435 MB, free: 2.039 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003222/0.1449, allocations: 456 kB / 435.4 MB, free: 1.594 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002075/0.147, allocations: 0.586 MB / 436 MB, free: 1.008 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.291/0.438, allocations: 14.08 MB / 450.1 MB, free: 56.77 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000177/0.4382, allocations: 66.98 kB / 450.2 MB, free: 56.77 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005703/0.4388, allocations: 288.1 kB / 450.4 MB, free: 56.77 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003083/0.4418, allocations: 3.54 MB / 454 MB, free: 56.76 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02007/0.4619, allocations: 8.699 MB / 462.7 MB, free: 53.63 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05733/0.5192, allocations: 74.1 MB / 0.5242 GB, free: 12.38 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01379/0.533, allocations: 4.679 MB / 0.5288 GB, free: 7.672 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002145/0.5352, allocations: 1.001 MB / 0.5297 GB, free: 6.66 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01164/0.5468, allocations: 6.099 MB / 0.5357 GB, free: 0.7969 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.932e-05/0.5469, allocations: 71.39 kB / 0.5358 GB, free: 0.7188 MB / 394.8 MB Notification: Performance of pre-optimization done (n=296): time 6.873e-06/0.5469, allocations: 0 / 0.5358 GB, free: 0.7188 MB / 394.8 MB Notification: Performance of matching and sorting (n=330): time 0.04221/0.5891, allocations: 19.15 MB / 0.5545 GB, free: 13.93 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.293e-05/0.5892, allocations: 162.2 kB / 0.5546 GB, free: 13.74 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006235/0.5954, allocations: 5.135 MB / 0.5596 GB, free: 8.75 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000463/0.5959, allocations: 73.7 kB / 0.5597 GB, free: 8.672 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003385/0.5993, allocations: 5.601 MB / 0.5652 GB, free: 3.109 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00135/0.6006, allocations: 1.325 MB / 0.5665 GB, free: 1.801 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001903/0.6025, allocations: 2.062 MB / 0.5685 GB, free: 15.73 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.6026, allocations: 476.8 kB / 0.5689 GB, free: 15.26 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001862/0.6045, allocations: 1.023 MB / 0.5699 GB, free: 14.23 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006141/0.6106, allocations: 9.589 MB / 0.5793 GB, free: 0.8047 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009919/0.6206, allocations: 11.76 MB / 0.5908 GB, free: 1.441 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001987/0.6208, allocations: 60 kB / 0.5908 GB, free: 1.383 MB / 458.8 MB Notification: Performance of matching and sorting (n=1291) (initialization): time 0.1832/0.804, allocations: 8.143 MB / 0.5988 GB, free: 153.6 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001295/0.8041, allocations: 92.91 kB / 0.5989 GB, free: 153.6 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000249/0.8044, allocations: 205.3 kB / 0.5991 GB, free: 153.6 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002548/0.8046, allocations: 275 kB / 0.5993 GB, free: 153.6 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00537/0.81, allocations: 2.354 MB / 0.6016 GB, free: 153.4 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000352/0.8104, allocations: 421.1 kB / 0.602 GB, free: 153.3 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005444/0.8158, allocations: 0.5798 MB / 0.6026 GB, free: 153.3 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001473/0.8173, allocations: 0.5725 MB / 0.6032 GB, free: 153.3 MB / 458.8 MB 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.003144/0.8204, allocations: 0.9803 MB / 0.6041 GB, free: 153 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009977/0.8214, allocations: 0.5957 MB / 0.6047 GB, free: 153 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002672/0.8241, allocations: 2.007 MB / 0.6067 GB, free: 152.8 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.323e-05/0.8241, allocations: 35.56 kB / 0.6067 GB, free: 152.8 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/0.8241, allocations: 11.45 kB / 0.6067 GB, free: 152.8 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-05/0.8242, allocations: 14.86 kB / 0.6067 GB, free: 152.8 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0138/0.838, allocations: 9.952 MB / 0.6164 GB, free: 148.7 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.817e-05/0.838, allocations: 32 kB / 0.6165 GB, free: 148.7 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001284/0.8393, allocations: 0.5993 MB / 0.6171 GB, free: 148.2 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.122e-05/0.8393, allocations: 51.94 kB / 0.6171 GB, free: 148.1 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001342/0.8394, allocations: 103.9 kB / 0.6172 GB, free: 148 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.939e-05/0.8395, allocations: 67.5 kB / 0.6173 GB, free: 148 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.95e-05/0.8395, allocations: 51.75 kB / 0.6173 GB, free: 147.9 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004063/0.8436, allocations: 4.566 MB / 0.6218 GB, free: 143.1 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001716/0.8453, allocations: 0.7472 MB / 0.6225 GB, free: 142.7 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006486/0.8459, allocations: 99.12 kB / 0.6226 GB, free: 142.6 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001816/0.8477, allocations: 200.3 kB / 0.6228 GB, free: 142.4 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003916/0.8481, allocations: 312 kB / 0.6231 GB, free: 142.2 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001339/0.8483, allocations: 132 kB / 0.6232 GB, free: 142.1 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.00294/0.8512, allocations: 2.176 MB / 0.6253 GB, free: 140.3 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.9e-07/0.8512, allocations: 0 / 0.6253 GB, free: 140.3 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.007406/0.8586, allocations: 1.707 MB / 0.627 GB, free: 138.6 MB / 458.8 MB 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.0007065/0.8593, allocations: 310.8 kB / 0.6273 GB, free: 138.4 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.007668/0.867, allocations: 4.372 MB / 0.6316 GB, free: 134.6 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 4.12e-05/0.867, allocations: 8 kB / 0.6316 GB, free: 134.5 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001971/0.869, allocations: 0.9494 MB / 0.6325 GB, free: 133.7 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005702/0.8747, allocations: 0.6776 MB / 0.6332 GB, free: 133.1 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02241/0.8971, allocations: 13.97 MB / 0.6468 GB, free: 119.1 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00241/0.8995, allocations: 2.13 MB / 0.6489 GB, free: 116.9 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.004013/0.9035, allocations: 2.362 MB / 0.6512 GB, free: 114.6 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009442/0.9045, allocations: 388.4 kB / 0.6516 GB, free: 114.2 MB / 458.8 MB Notification: Performance of SimCode: time 2.915e-06/0.9045, allocations: 0 / 0.6516 GB, free: 114.2 MB / 458.8 MB Notification: Performance of Templates: time 0.05917/0.9636, allocations: 38.46 MB / 0.6891 GB, free: 75.93 MB / 458.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.3267663980368525]