Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001021/0.001021, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001088/0.001088, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9283/0.9283, allocations: 177.1 MB / 205 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2654/0.2654, allocations: 34.25 MB / 295.7 MB, free: 0.7539 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Forces.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 3.938 kB / 378.1 MB, free: 2.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.551e-05/2.702e-05, allocations: 5.969 kB / 378.1 MB, free: 2.648 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.03038/0.03041, allocations: 15.5 MB / 393.6 MB, free: 3.074 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009507/0.03991, allocations: 4.907 MB / 398.5 MB, free: 14.15 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001198/0.04111, allocations: 115.5 kB / 398.6 MB, free: 14.04 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005182/0.04629, allocations: 5.564 MB / 404.1 MB, free: 8.453 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003994/0.05029, allocations: 2.643 MB / 406.8 MB, free: 5.797 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001829/0.05212, allocations: 1.31 MB / 408.1 MB, free: 4.484 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00639/0.05851, allocations: 7.735 MB / 415.8 MB, free: 12.73 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00626/0.06477, allocations: 5.945 MB / 421.8 MB, free: 6.715 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004533/0.0693, allocations: 4.124 MB / 425.9 MB, free: 2.582 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002974/0.07227, allocations: 3.983 MB / 429.9 MB, free: 14.59 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007274/0.073, allocations: 0.5703 MB / 430.5 MB, free: 14.02 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001459/0.07446, allocations: 1.241 MB / 431.7 MB, free: 12.78 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001745/0.07621, allocations: 3.44 MB / 435.1 MB, free: 9.328 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00171/0.07792, allocations: 2.185 MB / 437.3 MB, free: 7.137 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1748/0.2527, allocations: 7.144 MB / 444.5 MB, free: 67.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.2527, allocations: 2.906 kB / 444.5 MB, free: 67.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2527, allocations: 0 / 444.5 MB, free: 67.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004319/0.2531, allocations: 0 / 444.5 MB, free: 67.82 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2520 * Number of variables: 2520 Notification: Performance of Generate backend data structure: time 0.008892/0.262, allocations: 8.225 MB / 452.7 MB, free: 64.9 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.2621, allocations: 8.094 kB / 452.7 MB, free: 64.9 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005708/0.2678, allocations: 3.507 MB / 456.2 MB, free: 64.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0034/0.2712, allocations: 3.208 MB / 459.4 MB, free: 63.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002044/0.2714, allocations: 425.7 kB / 459.8 MB, free: 63.69 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005757/0.2719, allocations: 0.5495 MB / 460.4 MB, free: 63.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01695/0.2889, allocations: 13.46 MB / 473.8 MB, free: 59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002386/0.2891, allocations: 65.83 kB / 473.9 MB, free: 58.99 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005482/0.2897, allocations: 270.1 kB / 474.2 MB, free: 58.99 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003457/0.2931, allocations: 3.16 MB / 477.3 MB, free: 58.58 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0187/0.3118, allocations: 8.258 MB / 485.6 MB, free: 57.9 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04143/0.3533, allocations: 70.92 MB / 0.5435 GB, free: 15.82 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008002/0.3613, allocations: 4.519 MB / 0.5479 GB, free: 11.27 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001096/0.3624, allocations: 0.9023 MB / 0.5488 GB, free: 10.36 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006388/0.3687, allocations: 5.69 MB / 0.5543 GB, free: 4.73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.685e-05/0.3688, allocations: 66.95 kB / 0.5544 GB, free: 4.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=257): time 4.348e-06/0.3688, allocations: 0 / 0.5544 GB, free: 4.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=291): time 0.03115/0.4, allocations: 18.13 MB / 0.5721 GB, free: 2.57 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.301e-05/0.4, allocations: 154.5 kB / 0.5722 GB, free: 2.391 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005268/0.4053, allocations: 4.957 MB / 0.5771 GB, free: 13.44 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001176/0.4054, allocations: 73.36 kB / 0.5771 GB, free: 13.37 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002866/0.4083, allocations: 5.266 MB / 0.5823 GB, free: 8.145 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007766/0.4091, allocations: 1.181 MB / 0.5834 GB, free: 6.977 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001694/0.4107, allocations: 1.966 MB / 0.5854 GB, free: 4.996 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.156e-05/0.4108, allocations: 480.7 kB / 0.5858 GB, free: 4.523 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001514/0.4124, allocations: 0.9397 MB / 0.5867 GB, free: 3.578 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005971/0.4183, allocations: 9.303 MB / 0.5958 GB, free: 6.523 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008747/0.4271, allocations: 11.34 MB / 0.6069 GB, free: 7.445 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.646e-05/0.4272, allocations: 56 kB / 0.6069 GB, free: 7.391 MB / 490.7 MB Notification: Performance of matching and sorting (n=1225) (initialization): time 0.1791/0.6063, allocations: 7.765 MB / 0.6145 GB, free: 142.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001133/0.6064, allocations: 91.16 kB / 0.6146 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002301/0.6066, allocations: 204.1 kB / 0.6148 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001577/0.6068, allocations: 270.4 kB / 0.6151 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004465/0.6112, allocations: 2.24 MB / 0.6173 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001907/0.6114, allocations: 392.2 kB / 0.6176 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003543/0.615, allocations: 0.5606 MB / 0.6182 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004844/0.6154, allocations: 0.552 MB / 0.6187 GB, free: 142.3 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 913 * Number of states: 0 () * Number of discrete variables: 78 (force2.forceArrow.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.twoHeadedArrow,force1.forceArrow.headAtOrigin,force.forceArrow.twoHeadedArrow,force.forceArrow.headAtOrigin,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 (1201): * Single equations (assignments): 1198 * 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.001878/0.6173, allocations: 0.9485 MB / 0.6196 GB, free: 142.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004846/0.6178, allocations: 0.5643 MB / 0.6202 GB, free: 142.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00185/0.6196, allocations: 1.724 MB / 0.6219 GB, free: 142.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.24e-05/0.6197, allocations: 30.23 kB / 0.6219 GB, free: 142.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/0.6197, allocations: 6.656 kB / 0.6219 GB, free: 142.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.415e-05/0.6197, allocations: 12.28 kB / 0.6219 GB, free: 142.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009446/0.6291, allocations: 9.083 MB / 0.6308 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.115e-05/0.6292, allocations: 31.88 kB / 0.6308 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009811/0.6301, allocations: 0.5291 MB / 0.6313 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.622e-05/0.6302, allocations: 45.59 kB / 0.6314 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.912e-05/0.6303, allocations: 94.69 kB / 0.6315 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.609e-05/0.6303, allocations: 67.98 kB / 0.6315 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.62e-05/0.6303, allocations: 46.94 kB / 0.6316 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002696/0.633, allocations: 4.169 MB / 0.6357 GB, free: 137 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004744/0.6335, allocations: 0.4935 MB / 0.6361 GB, free: 137 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003079/0.6338, allocations: 90.3 kB / 0.6362 GB, free: 137 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009793/0.6348, allocations: 184.4 kB / 0.6364 GB, free: 137 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001985/0.635, allocations: 281.5 kB / 0.6367 GB, free: 137 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/0.6351, allocations: 114.4 kB / 0.6368 GB, free: 137 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001991/0.6371, allocations: 2.076 MB / 0.6388 GB, free: 136.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6371, allocations: 0 / 0.6388 GB, free: 136.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004869/0.6419, allocations: 1.552 MB / 0.6403 GB, free: 136.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 142 * 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 (275): * Single equations (assignments): 272 * 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.0004107/0.6423, allocations: 277.7 kB / 0.6406 GB, free: 136.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005356/0.6477, allocations: 4.101 MB / 0.6446 GB, free: 135.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.097e-05/0.6477, allocations: 8.406 kB / 0.6446 GB, free: 135.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008909/0.6486, allocations: 0.8316 MB / 0.6454 GB, free: 135.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002126/0.6507, allocations: 0.6704 MB / 0.6461 GB, free: 135.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01207/0.6628, allocations: 12.74 MB / 0.6585 GB, free: 128.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001484/0.6643, allocations: 1.949 MB / 0.6604 GB, free: 127.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002893/0.6672, allocations: 2.227 MB / 0.6626 GB, free: 127.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005212/0.6677, allocations: 368.1 kB / 0.6629 GB, free: 127.6 MB / 490.7 MB Notification: Performance of SimCode: time 1.112e-06/0.6677, allocations: 0 / 0.6629 GB, free: 127.6 MB / 490.7 MB Notification: Performance of Templates: time 0.0506/0.7183, allocations: 36.59 MB / 0.6987 GB, free: 101.9 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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: 4.737237632274628]