Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Damper2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Damper2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009428/0.0009427, allocations: 96.73 kB / 16.98 MB, free: 5.938 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.001043/0.001043, allocations: 187.8 kB / 17.88 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2272/0.2272, allocations: 44.22 MB / 337.1 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003298/0.0003298, allocations: 8 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1327, allocations: 61.91 MB / 471.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.3203/0.4531, allocations: 74.01 MB / 0.5328 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0369/0.49, allocations: 16.63 MB / 0.549 GB, free: 384 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01705/0.5071, allocations: 368.6 kB / 0.5493 GB, free: 324 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01444/0.5216, allocations: 3.716 MB / 0.553 GB, free: 13.55 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03965/0.5613, allocations: 10.43 MB / 0.5632 GB, free: 5.832 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006225/0.5676, allocations: 1.069 MB / 0.5642 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008394/0.576, allocations: 3.751 MB / 0.5679 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01306/0.5891, allocations: 8.356 MB / 0.576 GB, free: 8.594 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003612/0.5927, allocations: 1.666 MB / 0.5777 GB, free: 6.922 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004041/0.5968, allocations: 2.364 MB / 0.58 GB, free: 4.551 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001766/0.5986, allocations: 263.9 kB / 0.5802 GB, free: 4.293 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003242/0.6019, allocations: 0.8506 MB / 0.5811 GB, free: 3.441 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004369/0.6063, allocations: 2.681 MB / 0.5837 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003064/0.6094, allocations: 1.349 MB / 0.585 GB, free: 15.39 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01098/0.6204, allocations: 8.822 MB / 0.5936 GB, free: 6.551 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.6204, allocations: 0 / 0.5936 GB, free: 6.551 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.6204, allocations: 3.938 kB / 0.5936 GB, free: 6.547 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005572/0.621, allocations: 0 / 0.5936 GB, free: 6.547 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2609 * Number of variables: 2609 Notification: Performance of Generate backend data structure: time 0.01914/0.6401, allocations: 6.507 MB / 0.6 GB, free: 15.95 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.879e-05/0.6403, allocations: 12.03 kB / 0.6 GB, free: 15.94 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004557/0.6448, allocations: 1.231 MB / 0.6012 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01265/0.6575, allocations: 3.208 MB / 0.6043 GB, free: 11.47 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008268/0.6658, allocations: 3.835 MB / 0.6081 GB, free: 7.578 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000402/0.6662, allocations: 443.1 kB / 0.6085 GB, free: 7.145 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001878/0.6681, allocations: 0.5583 MB / 0.609 GB, free: 6.586 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0429/0.7111, allocations: 20.55 MB / 0.6291 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002092/0.7113, allocations: 83.25 kB / 0.6292 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009088/0.7122, allocations: 279.7 kB / 0.6294 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005034/0.7173, allocations: 3.326 MB / 0.6327 GB, free: 13.2 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04163/0.7589, allocations: 16.61 MB / 0.6489 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6529/1.412, allocations: 67.94 MB / 0.7153 GB, free: 145.9 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04178/1.454, allocations: 14.19 MB / 0.7291 GB, free: 145.2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01906/1.473, allocations: 13.86 MB / 0.7426 GB, free: 139.9 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03401/1.507, allocations: 12.21 MB / 0.7546 GB, free: 132.6 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=264): time 5.83e-06/1.507, allocations: 0 / 0.7546 GB, free: 132.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=298): time 0.09577/1.603, allocations: 40.42 MB / 0.794 GB, free: 92.18 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.6e-05/1.603, allocations: 170 kB / 0.7942 GB, free: 91.98 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007148/1.61, allocations: 6.184 MB / 0.8002 GB, free: 85.78 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006866/1.611, allocations: 69.7 kB / 0.8003 GB, free: 85.7 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003246/1.614, allocations: 5.056 MB / 0.8052 GB, free: 80.65 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001235/1.615, allocations: 1.15 MB / 0.8064 GB, free: 79.51 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003478/1.616, allocations: 184 kB / 0.8065 GB, free: 79.33 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000336/1.616, allocations: 0.6987 MB / 0.8072 GB, free: 78.62 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004006/1.62, allocations: 3.013 MB / 0.8102 GB, free: 75.6 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006187/1.626, allocations: 8.594 MB / 0.8186 GB, free: 64.31 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006481/1.633, allocations: 4.921 MB / 0.8234 GB, free: 59.55 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.164e-05/1.633, allocations: 56 kB / 0.8234 GB, free: 59.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1213) (initialization): time 0.01982/1.653, allocations: 11.55 MB / 0.8347 GB, free: 48.11 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003674/1.653, allocations: 126.1 kB / 0.8348 GB, free: 47.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004351/1.653, allocations: 203.9 kB / 0.835 GB, free: 47.79 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001117/1.655, allocations: 0.5201 MB / 0.8355 GB, free: 47.26 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007699/1.662, allocations: 2.277 MB / 0.8377 GB, free: 44.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002564/1.665, allocations: 2.7 MB / 0.8404 GB, free: 42.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008782/1.674, allocations: 0.5345 MB / 0.8409 GB, free: 41.61 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002049/1.676, allocations: 0.543 MB / 0.8414 GB, free: 41.07 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 904 * Number of states: 0 () * Number of discrete variables: 83 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,force2.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,force.forceArrow.arrowLine.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 (1185): * Single equations (assignments): 1180 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007165/1.683, allocations: 3.243 MB / 0.8446 GB, free: 37.81 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001354/1.684, allocations: 0.5244 MB / 0.8451 GB, free: 37.28 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007938/1.692, allocations: 3.945 MB / 0.849 GB, free: 33.32 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.74e-05/1.692, allocations: 31.94 kB / 0.849 GB, free: 33.29 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.561e-05/1.692, allocations: 4 kB / 0.849 GB, free: 33.28 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.09e-05/1.693, allocations: 11.95 kB / 0.849 GB, free: 33.27 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02825/1.721, allocations: 12.43 MB / 0.8611 GB, free: 20.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-05/1.721, allocations: 24 kB / 0.8612 GB, free: 20.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002252/1.723, allocations: 0.6244 MB / 0.8618 GB, free: 19.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.314e-05/1.723, allocations: 44 kB / 0.8618 GB, free: 19.73 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001581/1.723, allocations: 91.95 kB / 0.8619 GB, free: 19.64 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.26e-05/1.723, allocations: 59.78 kB / 0.862 GB, free: 19.58 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.735e-05/1.723, allocations: 39.81 kB / 0.862 GB, free: 19.54 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007542/1.731, allocations: 10.68 MB / 0.8724 GB, free: 7.273 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00195/1.733, allocations: 0.5956 MB / 0.873 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008575/1.734, allocations: 93.84 kB / 0.8731 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002335/1.736, allocations: 175.8 kB / 0.8733 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004107/1.737, allocations: 264.4 kB / 0.8735 GB, free: 6.133 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001847/1.737, allocations: 112.6 kB / 0.8736 GB, free: 6.023 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006334/1.743, allocations: 3.877 MB / 0.8774 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6.31e-07/1.743, allocations: 0 / 0.8774 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009423/1.753, allocations: 1.519 MB / 0.8789 GB, free: 0.6328 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 122 * Number of states: 7 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (280): * Single equations (assignments): 275 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01202/1.765, allocations: 16.33 MB / 0.8948 GB, free: 15.36 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01384/1.778, allocations: 6.778 MB / 0.9015 GB, free: 8.586 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 3.171e-05/1.779, allocations: 8 kB / 0.9015 GB, free: 8.578 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.003944/1.783, allocations: 1.753 MB / 0.9032 GB, free: 6.832 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004808/1.787, allocations: 0.7073 MB / 0.9039 GB, free: 6.125 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3464/2.134, allocations: 170.7 MB / 1.071 GB, free: 68.69 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01046/2.144, allocations: 5.038 MB / 1.075 GB, free: 67.8 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.009667/2.154, allocations: 2.648 MB / 1.078 GB, free: 67.57 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006352/2.16, allocations: 3.278 MB / 1.081 GB, free: 64.98 MB / 0.5763 GB Notification: Performance of SimCode: time 1.953e-06/2.16, allocations: 0 / 1.081 GB, free: 64.98 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4416/2.602, allocations: 111.2 MB / 1.19 GB, free: 204 MB / 0.5763 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000175/2.602, allocations: 193.6 kB / 1.19 GB, free: 203.8 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.422/8.024, allocations: 0 / 1.19 GB, free: 203.8 MB / 0.5763 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Damper2_fmu --startTime=0 --stopTime=7 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Damper2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2_res.mat does not exist to compare? outputFormat=mat