Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.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.Damper,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001035/0.001035, allocations: 96.64 kB / 16.98 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001167/0.001167, allocations: 198.1 kB / 17.89 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.368/1.368, allocations: 227.3 MB / 245.9 MB, free: 12.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.22/0.22, allocations: 45.92 MB / 344 MB, free: 12.34 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003157/0.0003157, allocations: 8 kB / 418.1 MB, free: 20.81 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.137, allocations: 63.47 MB / 481.5 MB, free: 5.336 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.3349/0.4719, allocations: 73.99 MB / 0.5425 GB, free: 1.969 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0467/0.5187, allocations: 16.6 MB / 0.5587 GB, free: 6.422 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02521/0.5439, allocations: 362.5 kB / 0.559 GB, free: 6.371 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0152/0.5592, allocations: 3.711 MB / 0.5627 GB, free: 3.613 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03918/0.5984, allocations: 10.42 MB / 0.5728 GB, free: 9.77 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006119/0.6045, allocations: 1.049 MB / 0.5739 GB, free: 8.719 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008062/0.6126, allocations: 3.836 MB / 0.5776 GB, free: 4.883 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01236/0.625, allocations: 8.323 MB / 0.5857 GB, free: 12.49 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003394/0.6285, allocations: 1.655 MB / 0.5874 GB, free: 10.83 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003724/0.6322, allocations: 2.34 MB / 0.5896 GB, free: 8.48 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001222/0.6334, allocations: 260 kB / 0.5899 GB, free: 8.227 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002407/0.6359, allocations: 0.8387 MB / 0.5907 GB, free: 7.387 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003222/0.6391, allocations: 2.665 MB / 0.5933 GB, free: 4.715 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002299/0.6414, allocations: 1.345 MB / 0.5946 GB, free: 3.359 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01077/0.6522, allocations: 8.787 MB / 0.6032 GB, free: 10.55 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.6523, allocations: 4 kB / 0.6032 GB, free: 10.55 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.6523, allocations: 0 / 0.6032 GB, free: 10.55 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004215/0.6527, allocations: 0 / 0.6032 GB, free: 10.55 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: 2607 * Number of variables: 2607 Notification: Performance of Generate backend data structure: time 0.01387/0.6666, allocations: 6.421 MB / 0.6095 GB, free: 4.043 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.6666, allocations: 8.031 kB / 0.6095 GB, free: 4.035 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003784/0.6704, allocations: 1.227 MB / 0.6107 GB, free: 2.797 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01267/0.6831, allocations: 3.216 MB / 0.6138 GB, free: 15.57 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009039/0.6922, allocations: 3.819 MB / 0.6176 GB, free: 11.68 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005073/0.6928, allocations: 447.1 kB / 0.618 GB, free: 11.25 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002122/0.6949, allocations: 0.562 MB / 0.6185 GB, free: 10.68 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04181/0.7367, allocations: 20.56 MB / 0.6386 GB, free: 4.973 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002372/0.737, allocations: 71.34 kB / 0.6387 GB, free: 4.902 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00102/0.738, allocations: 271.8 kB / 0.6389 GB, free: 4.637 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005366/0.7434, allocations: 3.33 MB / 0.6422 GB, free: 1.305 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03935/0.7828, allocations: 16.59 MB / 0.6584 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6229/1.406, allocations: 67.85 MB / 0.7247 GB, free: 137.4 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04382/1.45, allocations: 14.15 MB / 0.7385 GB, free: 136.7 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02128/1.471, allocations: 13.92 MB / 0.7521 GB, free: 129.4 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.976e-05/1.471, allocations: 66.69 kB / 0.7521 GB, free: 129.3 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=261): time 5.47e-06/1.471, allocations: 0 / 0.7521 GB, free: 129.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=295): time 0.0984/1.569, allocations: 40.22 MB / 0.7914 GB, free: 93.94 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.522e-05/1.57, allocations: 158.5 kB / 0.7916 GB, free: 93.76 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007569/1.577, allocations: 6.163 MB / 0.7976 GB, free: 87.57 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006502/1.578, allocations: 69.7 kB / 0.7976 GB, free: 87.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002433/1.58, allocations: 4.958 MB / 0.8025 GB, free: 82.54 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001216/1.582, allocations: 1.134 MB / 0.8036 GB, free: 81.41 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003379/1.582, allocations: 180 kB / 0.8038 GB, free: 81.24 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003736/1.582, allocations: 0.6947 MB / 0.8044 GB, free: 80.54 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003962/1.586, allocations: 3.012 MB / 0.8074 GB, free: 77.52 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005863/1.592, allocations: 8.587 MB / 0.8158 GB, free: 66.23 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006151/1.598, allocations: 4.88 MB / 0.8205 GB, free: 61.52 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001007/1.598, allocations: 60 kB / 0.8206 GB, free: 61.46 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.01818/1.617, allocations: 11.48 MB / 0.8318 GB, free: 50.03 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001209/1.617, allocations: 95.94 kB / 0.8319 GB, free: 49.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001921/1.617, allocations: 196 kB / 0.8321 GB, free: 49.75 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007379/1.618, allocations: 0.5243 MB / 0.8326 GB, free: 49.22 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007294/1.625, allocations: 2.275 MB / 0.8348 GB, free: 46.94 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002345/1.627, allocations: 2.706 MB / 0.8375 GB, free: 44.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007719/1.635, allocations: 0.5345 MB / 0.838 GB, free: 43.57 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001747/1.637, allocations: 0.543 MB / 0.8385 GB, free: 43.02 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: 78 (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 (1181): * Single equations (assignments): 1177 * Array equations: 3 * Algorithm blocks: 0 * 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.00638/1.643, allocations: 3.24 MB / 0.8417 GB, free: 39.77 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001241/1.645, allocations: 0.5168 MB / 0.8422 GB, free: 39.25 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006528/1.651, allocations: 3.902 MB / 0.846 GB, free: 35.33 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.014e-05/1.651, allocations: 32 kB / 0.846 GB, free: 35.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-05/1.651, allocations: 4.703 kB / 0.846 GB, free: 35.29 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.928e-05/1.651, allocations: 11.95 kB / 0.846 GB, free: 35.28 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0212/1.672, allocations: 12.48 MB / 0.8582 GB, free: 22.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.231e-05/1.672, allocations: 24 kB / 0.8582 GB, free: 22.36 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002061/1.675, allocations: 0.5819 MB / 0.8588 GB, free: 21.78 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.548e-05/1.675, allocations: 44 kB / 0.8589 GB, free: 21.74 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00015/1.675, allocations: 91.19 kB / 0.8589 GB, free: 21.65 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.425e-05/1.675, allocations: 55.8 kB / 0.859 GB, free: 21.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.999e-05/1.675, allocations: 43.81 kB / 0.859 GB, free: 21.55 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007388/1.682, allocations: 10.85 MB / 0.8696 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002549/1.685, allocations: 0.5956 MB / 0.8702 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009474/1.686, allocations: 90.53 kB / 0.8703 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002047/1.688, allocations: 171.9 kB / 0.8705 GB, free: 8.238 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002698/1.688, allocations: 256.4 kB / 0.8707 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001557/1.688, allocations: 113.2 kB / 0.8708 GB, free: 7.875 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00583/1.694, allocations: 3.861 MB / 0.8746 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.6e-07/1.694, allocations: 4 kB / 0.8746 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01/1.704, allocations: 1.502 MB / 0.8761 GB, free: 2.508 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 122 * 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 (277): * Single equations (assignments): 274 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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.01284/1.717, allocations: 16.49 MB / 0.8922 GB, free: 1.09 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01294/1.73, allocations: 6.721 MB / 0.8987 GB, free: 10.38 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 2.497e-05/1.73, allocations: 4 kB / 0.8987 GB, free: 10.38 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.002641/1.733, allocations: 1.505 MB / 0.9002 GB, free: 8.879 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004273/1.737, allocations: 0.7188 MB / 0.9009 GB, free: 8.168 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.331/2.068, allocations: 170.6 MB / 1.068 GB, free: 62.15 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009797/2.078, allocations: 5.026 MB / 1.072 GB, free: 61.27 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.009823/2.088, allocations: 2.642 MB / 1.075 GB, free: 61.03 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005817/2.094, allocations: 3.311 MB / 1.078 GB, free: 58.64 MB / 0.5763 GB Notification: Performance of SimCode: time 1.052e-06/2.094, allocations: 3.938 kB / 1.078 GB, free: 58.63 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4355/2.529, allocations: 110.1 MB / 1.186 GB, free: 195.9 MB / 0.5763 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001394/2.529, allocations: 187.5 kB / 1.186 GB, free: 195.6 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.219/7.748, allocations: 0 / 1.186 GB, free: 195.6 MB / 0.5763 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Damper_fmu --startTime=0 --stopTime=7 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Damper.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper_res.mat does not exist to compare? outputFormat=mat