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.0009264/0.0009264, allocations: 91.22 kB / 20.43 MB, free: 4.145 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.0008882/0.0008882, allocations: 165 kB / 23.8 MB, free: 0.7773 MB / 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.9183/0.9183, allocations: 158.6 MB / 185.7 MB, free: 2.918 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.161/0.161, allocations: 32.37 MB / 270.4 MB, free: 14.7 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.202e-06/1.202e-06, allocations: 0 / 347.7 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.801e-05/2.922e-05, allocations: 12.16 kB / 347.7 MB, free: 9.422 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01291/0.01294, allocations: 16.96 MB / 364.7 MB, free: 8.391 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01121/0.02415, allocations: 5.138 MB / 369.8 MB, free: 3.234 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003255/0.0274, allocations: 119.5 kB / 369.9 MB, free: 3.113 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006838/0.03424, allocations: 5.646 MB / 375.6 MB, free: 13.45 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007549/0.04179, allocations: 2.93 MB / 378.5 MB, free: 10.5 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003311/0.0451, allocations: 1.322 MB / 379.8 MB, free: 9.18 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01151/0.0566, allocations: 8 MB / 387.8 MB, free: 1.164 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009864/0.06647, allocations: 6.211 MB / 394 MB, free: 10.87 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01279/0.07926, allocations: 4.432 MB / 398.5 MB, free: 6.43 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008291/0.08755, allocations: 4.318 MB / 402.8 MB, free: 2.102 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003064/0.09062, allocations: 0.625 MB / 403.4 MB, free: 1.477 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005908/0.09653, allocations: 1.307 MB / 404.7 MB, free: 172 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005825/0.1024, allocations: 3.772 MB / 408.5 MB, free: 12.38 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006663/0.109, allocations: 2.391 MB / 410.9 MB, free: 9.984 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01364/0.1227, allocations: 7.853 MB / 418.7 MB, free: 2.102 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/0.1227, allocations: 0 / 418.7 MB, free: 2.102 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.386e-06/0.1227, allocations: 0 / 418.7 MB, free: 2.102 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005822/0.1233, allocations: 7.938 kB / 418.7 MB, free: 2.094 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.01635/0.1396, allocations: 8.874 MB / 427.6 MB, free: 9.129 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.1397, allocations: 8.031 kB / 427.6 MB, free: 9.121 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008517/0.1482, allocations: 3.729 MB / 431.3 MB, free: 5.383 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006237/0.1544, allocations: 3.489 MB / 434.8 MB, free: 1.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003153/0.1547, allocations: 459.8 kB / 435.3 MB, free: 1.391 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001124/0.1558, allocations: 0.5938 MB / 435.9 MB, free: 0.7969 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3177/0.4735, allocations: 14.08 MB / 449.9 MB, free: 77.68 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000209/0.4737, allocations: 68.39 kB / 450 MB, free: 77.68 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006953/0.4744, allocations: 287.1 kB / 450.3 MB, free: 77.68 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003758/0.4782, allocations: 3.542 MB / 453.8 MB, free: 75.95 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02076/0.4989, allocations: 8.692 MB / 462.5 MB, free: 67.68 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05966/0.5586, allocations: 74.09 MB / 0.524 GB, free: 8.375 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01104/0.5696, allocations: 4.68 MB / 0.5286 GB, free: 3.652 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001842/0.5715, allocations: 0.9966 MB / 0.5296 GB, free: 2.645 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009227/0.5807, allocations: 6.101 MB / 0.5355 GB, free: 12.77 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.144e-05/0.5808, allocations: 75.33 kB / 0.5356 GB, free: 12.68 MB / 394.8 MB Notification: Performance of pre-optimization done (n=296): time 4.759e-06/0.5808, allocations: 0 / 0.5356 GB, free: 12.68 MB / 394.8 MB Notification: Performance of matching and sorting (n=330): time 0.04134/0.6221, allocations: 19.14 MB / 0.5543 GB, free: 9.867 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.441e-05/0.6222, allocations: 170.7 kB / 0.5545 GB, free: 9.668 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007185/0.6294, allocations: 5.186 MB / 0.5595 GB, free: 4.621 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005445/0.6299, allocations: 73.7 kB / 0.5596 GB, free: 4.543 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003948/0.6339, allocations: 5.634 MB / 0.5651 GB, free: 14.95 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001637/0.6355, allocations: 1.332 MB / 0.5664 GB, free: 13.63 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002727/0.6382, allocations: 2.083 MB / 0.5684 GB, free: 11.54 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.6383, allocations: 480.8 kB / 0.5689 GB, free: 11.06 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002219/0.6406, allocations: 1.038 MB / 0.5699 GB, free: 10.02 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007394/0.648, allocations: 9.761 MB / 0.5795 GB, free: 12.27 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1801/0.828, allocations: 11.94 MB / 0.5911 GB, free: 128.9 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002415/0.8283, allocations: 57.88 kB / 0.5912 GB, free: 128.9 MB / 442.8 MB Notification: Performance of matching and sorting (n=1309) (initialization): time 0.01497/0.8432, allocations: 8.274 MB / 0.5993 GB, free: 127.5 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001139/0.8433, allocations: 93.69 kB / 0.5993 GB, free: 127.5 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002109/0.8436, allocations: 210.6 kB / 0.5995 GB, free: 127.5 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001965/0.8437, allocations: 281.8 kB / 0.5998 GB, free: 127.5 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00527/0.849, allocations: 2.389 MB / 0.6021 GB, free: 127.3 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004985/0.8495, allocations: 419.3 kB / 0.6025 GB, free: 127.2 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00539/0.8549, allocations: 0.5957 MB / 0.6031 GB, free: 127.2 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009392/0.8558, allocations: 0.5801 MB / 0.6037 GB, free: 127.2 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 952 * 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 (1285): * Single equations (assignments): 1282 * 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.002728/0.8586, allocations: 0.9936 MB / 0.6047 GB, free: 126.8 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008979/0.8595, allocations: 0.5995 MB / 0.6052 GB, free: 126.8 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002742/0.8622, allocations: 2.017 MB / 0.6072 GB, free: 126.6 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.801e-05/0.8622, allocations: 35.28 kB / 0.6072 GB, free: 126.6 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/0.8623, allocations: 0 / 0.6072 GB, free: 126.6 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-05/0.8623, allocations: 17.02 kB / 0.6073 GB, free: 126.6 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01535/0.8776, allocations: 9.939 MB / 0.617 GB, free: 123.2 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.864e-05/0.8777, allocations: 32 kB / 0.617 GB, free: 123.1 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001338/0.879, allocations: 0.6035 MB / 0.6176 GB, free: 122.6 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.54e-05/0.879, allocations: 52 kB / 0.6176 GB, free: 122.6 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001507/0.8792, allocations: 99.55 kB / 0.6177 GB, free: 122.5 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.88e-05/0.8792, allocations: 66.84 kB / 0.6178 GB, free: 122.5 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.875e-05/0.8792, allocations: 55.19 kB / 0.6179 GB, free: 122.4 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004051/0.8833, allocations: 4.582 MB / 0.6223 GB, free: 118 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001587/0.8849, allocations: 0.7448 MB / 0.6231 GB, free: 117.7 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006157/0.8855, allocations: 103.5 kB / 0.6232 GB, free: 117.6 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00147/0.8869, allocations: 205.3 kB / 0.6233 GB, free: 117.5 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003041/0.8873, allocations: 308.7 kB / 0.6236 GB, free: 117.3 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001417/0.8874, allocations: 131.7 kB / 0.6238 GB, free: 117.1 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.003388/0.8908, allocations: 2.192 MB / 0.6259 GB, free: 115.4 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.81e-07/0.8908, allocations: 0 / 0.6259 GB, free: 115.4 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.007457/0.8982, allocations: 1.718 MB / 0.6276 GB, free: 113.7 MB / 442.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.0006553/0.8989, allocations: 303.2 kB / 0.6279 GB, free: 113.4 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.00817/0.9071, allocations: 4.431 MB / 0.6322 GB, free: 109.5 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-05/0.9071, allocations: 4 kB / 0.6322 GB, free: 109.5 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001542/0.9086, allocations: 0.9496 MB / 0.6331 GB, free: 108.7 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0045/0.9131, allocations: 0.689 MB / 0.6338 GB, free: 108.1 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02196/0.9351, allocations: 13.94 MB / 0.6474 GB, free: 94.55 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00293/0.938, allocations: 2.142 MB / 0.6495 GB, free: 92.62 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.005267/0.9433, allocations: 2.371 MB / 0.6518 GB, free: 90.24 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001228/0.9445, allocations: 404.4 kB / 0.6522 GB, free: 89.84 MB / 442.8 MB Notification: Performance of SimCode: time 1.573e-06/0.9445, allocations: 0 / 0.6522 GB, free: 89.84 MB / 442.8 MB Notification: Performance of Templates: time 0.06129/1.006, allocations: 40.23 MB / 0.6915 GB, free: 49.84 MB / 442.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.235494356136769]