Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Damper2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Damper2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001067/0.001067, allocations: 95.12 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001012/0.001012, allocations: 197.6 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.218/0.218, allocations: 45.93 MB / 344 MB, free: 12.08 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002825/0.0002825, allocations: 8 kB / 418.1 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1314, allocations: 63.47 MB / 481.5 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.3198/0.4513, allocations: 74.02 MB / 0.5425 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0426/0.4939, allocations: 16.66 MB / 0.5588 GB, free: 6.387 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02163/0.5156, allocations: 360.1 kB / 0.5591 GB, free: 6.336 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01665/0.5323, allocations: 3.715 MB / 0.5628 GB, free: 3.574 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03765/0.5699, allocations: 10.43 MB / 0.573 GB, free: 9.688 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009002/0.579, allocations: 1.073 MB / 0.574 GB, free: 8.613 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01278/0.5919, allocations: 3.858 MB / 0.5778 GB, free: 4.754 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01433/0.6063, allocations: 8.34 MB / 0.5859 GB, free: 12.34 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003579/0.6099, allocations: 1.67 MB / 0.5875 GB, free: 10.67 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003428/0.6133, allocations: 2.368 MB / 0.5899 GB, free: 8.293 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009054/0.6143, allocations: 256 kB / 0.5901 GB, free: 8.043 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002104/0.6164, allocations: 0.8271 MB / 0.5909 GB, free: 7.215 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002646/0.619, allocations: 2.677 MB / 0.5935 GB, free: 4.531 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001706/0.6208, allocations: 1.349 MB / 0.5948 GB, free: 3.172 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01008/0.6308, allocations: 8.802 MB / 0.6034 GB, free: 10.35 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.6309, allocations: 0 / 0.6034 GB, free: 10.35 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.6309, allocations: 4 kB / 0.6034 GB, free: 10.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004113/0.6313, allocations: 4 kB / 0.6034 GB, free: 10.34 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: 2609 * Number of variables: 2609 Notification: Performance of Generate backend data structure: time 0.01479/0.6461, allocations: 6.515 MB / 0.6098 GB, free: 3.734 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.6462, allocations: 12.03 kB / 0.6098 GB, free: 3.723 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003953/0.6501, allocations: 1.231 MB / 0.611 GB, free: 2.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01278/0.6629, allocations: 3.204 MB / 0.6141 GB, free: 15.26 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009621/0.6726, allocations: 3.835 MB / 0.6179 GB, free: 11.36 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004657/0.6731, allocations: 443.1 kB / 0.6183 GB, free: 10.93 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002575/0.6757, allocations: 0.5621 MB / 0.6189 GB, free: 10.37 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04617/0.7219, allocations: 20.6 MB / 0.639 GB, free: 4.609 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002229/0.7221, allocations: 71.25 kB / 0.6391 GB, free: 4.539 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009236/0.7231, allocations: 275.8 kB / 0.6393 GB, free: 4.27 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005201/0.7283, allocations: 3.33 MB / 0.6426 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0393/0.7676, allocations: 16.68 MB / 0.6589 GB, free: 236 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6301/1.398, allocations: 67.93 MB / 0.7252 GB, free: 137.6 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04329/1.441, allocations: 14.25 MB / 0.7391 GB, free: 136.8 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02101/1.462, allocations: 13.95 MB / 0.7527 GB, free: 129.2 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03613/1.498, allocations: 12.27 MB / 0.7647 GB, free: 121.8 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=264): time 9.117e-06/1.498, allocations: 0 / 0.7647 GB, free: 121.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=298): time 0.108/1.606, allocations: 40.79 MB / 0.8045 GB, free: 80.91 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.869e-05/1.607, allocations: 158.5 kB / 0.8047 GB, free: 80.73 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007175/1.614, allocations: 6.188 MB / 0.8107 GB, free: 74.52 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000637/1.614, allocations: 69.7 kB / 0.8108 GB, free: 74.45 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003315/1.618, allocations: 5.063 MB / 0.8157 GB, free: 69.39 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001292/1.619, allocations: 1.142 MB / 0.8169 GB, free: 68.25 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003772/1.619, allocations: 188.7 kB / 0.817 GB, free: 68.07 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003511/1.62, allocations: 0.6909 MB / 0.8177 GB, free: 67.37 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00435/1.624, allocations: 3.059 MB / 0.8207 GB, free: 64.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007252/1.631, allocations: 8.64 MB / 0.8291 GB, free: 52.97 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007798/1.639, allocations: 4.944 MB / 0.834 GB, free: 48.19 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001654/1.639, allocations: 60 kB / 0.834 GB, free: 48.13 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1213) (initialization): time 0.0211/1.661, allocations: 11.61 MB / 0.8454 GB, free: 36.55 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002863/1.661, allocations: 125.9 kB / 0.8455 GB, free: 36.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003526/1.661, allocations: 196 kB / 0.8457 GB, free: 36.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001005/1.662, allocations: 0.5246 MB / 0.8462 GB, free: 35.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007404/1.67, allocations: 2.297 MB / 0.8484 GB, free: 33.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002428/1.672, allocations: 2.703 MB / 0.8511 GB, free: 30.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007328/1.68, allocations: 0.5579 MB / 0.8516 GB, free: 30.01 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001741/1.681, allocations: 0.543 MB / 0.8521 GB, free: 29.46 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.007067/1.688, allocations: 3.242 MB / 0.8553 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001471/1.69, allocations: 0.5246 MB / 0.8558 GB, free: 25.68 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008273/1.698, allocations: 4 MB / 0.8597 GB, free: 21.66 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.259e-05/1.698, allocations: 32 kB / 0.8598 GB, free: 21.62 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/1.698, allocations: 3.938 kB / 0.8598 GB, free: 21.62 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-05/1.698, allocations: 19.94 kB / 0.8598 GB, free: 21.6 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03173/1.73, allocations: 12.49 MB / 0.872 GB, free: 8.695 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001076/1.73, allocations: 24 kB / 0.872 GB, free: 8.672 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002737/1.733, allocations: 0.6442 MB / 0.8726 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.936e-05/1.733, allocations: 44 kB / 0.8727 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003819/1.733, allocations: 89.31 kB / 0.8727 GB, free: 7.898 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.98e-05/1.733, allocations: 55.8 kB / 0.8728 GB, free: 7.844 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.745e-05/1.734, allocations: 39.81 kB / 0.8728 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01086/1.744, allocations: 10.8 MB / 0.8834 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00221/1.747, allocations: 0.6072 MB / 0.884 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001158/1.748, allocations: 83.98 kB / 0.8841 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002473/1.75, allocations: 191.8 kB / 0.8842 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003875/1.751, allocations: 265.4 kB / 0.8845 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001943/1.751, allocations: 116 kB / 0.8846 GB, free: 10.14 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.008329/1.759, allocations: 3.877 MB / 0.8884 GB, free: 6.258 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.011e-06/1.759, allocations: 0 / 0.8884 GB, free: 6.258 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01068/1.77, allocations: 1.51 MB / 0.8899 GB, free: 4.754 MB / 0.545 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.01309/1.783, allocations: 16.43 MB / 0.9059 GB, free: 3.375 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01271/1.796, allocations: 6.861 MB / 0.9126 GB, free: 12.52 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 2.236e-05/1.796, allocations: 8 kB / 0.9126 GB, free: 12.52 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.00324/1.799, allocations: 1.748 MB / 0.9143 GB, free: 10.77 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003839/1.803, allocations: 0.6927 MB / 0.915 GB, free: 10.08 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3312/2.134, allocations: 170.7 MB / 1.082 GB, free: 55.09 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01088/2.145, allocations: 5.044 MB / 1.087 GB, free: 53.85 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.008135/2.153, allocations: 2.658 MB / 1.089 GB, free: 53.6 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005174/2.159, allocations: 3.273 MB / 1.092 GB, free: 50.9 MB / 0.5763 GB Notification: Performance of SimCode: time 1.182e-06/2.159, allocations: 0 / 1.092 GB, free: 50.9 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4216/2.58, allocations: 110.9 MB / 1.201 GB, free: 179.7 MB / 0.5763 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001498/2.58, allocations: 188.9 kB / 1.201 GB, free: 179.4 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.782/8.363, allocations: 6.625 kB / 1.201 GB, free: 179.4 MB / 0.5763 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Damper2_fmu --startTime=0 --stopTime=7 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Damper2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2_res.mat does not exist to compare? outputFormat=mat