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.001007/0.001007, allocations: 96.05 kB / 17 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.001191/0.001191, allocations: 194.6 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 227.4 MB / 246 MB, free: 11.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2176/0.2176, allocations: 45.91 MB / 344.1 MB, free: 12.2 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002986/0.0002987, allocations: 4 kB / 418.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1407, allocations: 63.47 MB / 481.6 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.3982/0.5389, allocations: 78.42 MB / 0.5469 GB, free: 15.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04337/0.5823, allocations: 15.88 MB / 0.5624 GB, free: 3.703 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02028/0.6027, allocations: 367.8 kB / 0.5628 GB, free: 3.648 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0161/0.6188, allocations: 4.139 MB / 0.5668 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04129/0.6602, allocations: 11.96 MB / 0.5785 GB, free: 4.711 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006166/0.6664, allocations: 1.081 MB / 0.5796 GB, free: 3.629 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01249/0.6789, allocations: 7.944 MB / 0.5873 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01576/0.6947, allocations: 8.4 MB / 0.5955 GB, free: 3.207 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005512/0.7003, allocations: 2.047 MB / 0.5975 GB, free: 1.152 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006651/0.707, allocations: 3.357 MB / 0.6008 GB, free: 13.78 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00241/0.7094, allocations: 256 kB / 0.6011 GB, free: 13.53 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003874/0.7133, allocations: 0.8544 MB / 0.6019 GB, free: 12.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005064/0.7184, allocations: 2.887 MB / 0.6047 GB, free: 9.781 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003504/0.7219, allocations: 1.353 MB / 0.606 GB, free: 8.418 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01209/0.7341, allocations: 8.814 MB / 0.6146 GB, free: 15.59 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.7341, allocations: 0 / 0.6146 GB, free: 15.59 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.928e-06/0.7341, allocations: 0 / 0.6146 GB, free: 15.59 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005033/0.7346, allocations: 3.938 kB / 0.6146 GB, free: 15.59 MB / 462.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.01647/0.7511, allocations: 6.511 MB / 0.621 GB, free: 8.98 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.69e-05/0.7512, allocations: 16.02 kB / 0.621 GB, free: 8.965 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004839/0.756, allocations: 1.22 MB / 0.6222 GB, free: 7.734 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01141/0.7675, allocations: 2.751 MB / 0.6249 GB, free: 4.969 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01008/0.7776, allocations: 4.209 MB / 0.629 GB, free: 0.6992 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005686/0.7782, allocations: 451 kB / 0.6294 GB, free: 264 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002607/0.7808, allocations: 0.5583 MB / 0.63 GB, free: 15.7 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05009/0.8309, allocations: 20.39 MB / 0.6499 GB, free: 10.15 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005498/0.8315, allocations: 71.31 kB / 0.65 GB, free: 10.08 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003269/0.8348, allocations: 271.8 kB / 0.6502 GB, free: 9.816 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005811/0.8406, allocations: 3.337 MB / 0.6535 GB, free: 6.477 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03954/0.8802, allocations: 16.41 MB / 0.6695 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4388/1.319, allocations: 65.35 MB / 0.7333 GB, free: 68.77 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01767/1.337, allocations: 6.442 MB / 0.7396 GB, free: 68.08 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003214/1.34, allocations: 2.097 MB / 0.7417 GB, free: 68.04 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01475/1.355, allocations: 9.254 MB / 0.7507 GB, free: 65.43 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01278/1.368, allocations: 4.241 MB / 0.7548 GB, free: 65.31 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=260): time 4.829e-06/1.368, allocations: 0 / 0.7548 GB, free: 65.31 MB / 0.5294 GB Notification: Performance of matching and sorting (n=294): time 0.05254/1.42, allocations: 21.99 MB / 0.7763 GB, free: 59.14 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.498e-05/1.42, allocations: 164.4 kB / 0.7765 GB, free: 58.95 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007186/1.427, allocations: 5.851 MB / 0.7822 GB, free: 54.56 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004558/1.428, allocations: 70.45 kB / 0.7823 GB, free: 54.52 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003456/1.431, allocations: 5.064 MB / 0.7872 GB, free: 50.41 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001075/1.432, allocations: 1.13 MB / 0.7883 GB, free: 49.47 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000368/1.433, allocations: 190.8 kB / 0.7885 GB, free: 49.43 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003813/1.433, allocations: 0.6927 MB / 0.7892 GB, free: 48.88 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003733/1.437, allocations: 2.655 MB / 0.7918 GB, free: 47 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006029/1.443, allocations: 8.257 MB / 0.7998 GB, free: 37.15 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006687/1.45, allocations: 4.552 MB / 0.8043 GB, free: 34.15 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001982/1.45, allocations: 56 kB / 0.8043 GB, free: 34.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1209) (initialization): time 0.02026/1.47, allocations: 10.64 MB / 0.8147 GB, free: 27 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003698/1.471, allocations: 117.7 kB / 0.8148 GB, free: 26.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004074/1.471, allocations: 196 kB / 0.815 GB, free: 26.68 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003492/1.471, allocations: 293.8 kB / 0.8153 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00729/1.479, allocations: 2.237 MB / 0.8175 GB, free: 24.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000503/1.479, allocations: 386.2 kB / 0.8178 GB, free: 24.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007429/1.487, allocations: 496.5 kB / 0.8183 GB, free: 23.79 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001784/1.489, allocations: 0.5434 MB / 0.8188 GB, free: 23.32 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 (1184): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006836/1.495, allocations: 3.243 MB / 0.822 GB, free: 21.32 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001559/1.497, allocations: 0.5206 MB / 0.8225 GB, free: 20.79 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007001/1.504, allocations: 3.11 MB / 0.8256 GB, free: 17.97 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.838e-05/1.504, allocations: 32 kB / 0.8256 GB, free: 17.94 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.143e-05/1.504, allocations: 0 / 0.8256 GB, free: 17.94 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.375e-05/1.504, allocations: 11.95 kB / 0.8256 GB, free: 17.93 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02459/1.529, allocations: 12.55 MB / 0.8378 GB, free: 5.113 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.526e-05/1.529, allocations: 32 kB / 0.8379 GB, free: 5.082 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002194/1.531, allocations: 0.6185 MB / 0.8385 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.023e-05/1.531, allocations: 63.94 kB / 0.8385 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002712/1.531, allocations: 88 kB / 0.8386 GB, free: 4.355 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.985e-05/1.532, allocations: 65.69 kB / 0.8387 GB, free: 4.305 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.622e-05/1.532, allocations: 50.81 kB / 0.8387 GB, free: 4.27 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007531/1.539, allocations: 5.559 MB / 0.8442 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001923/1.541, allocations: 0.5995 MB / 0.8448 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001233/1.542, allocations: 95.92 kB / 0.8448 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0027/1.545, allocations: 182.4 kB / 0.845 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004196/1.545, allocations: 278.6 kB / 0.8453 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002362/1.546, allocations: 125.4 kB / 0.8454 GB, free: 12.93 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.007363/1.553, allocations: 3.616 MB / 0.8489 GB, free: 9.316 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.81e-07/1.553, allocations: 0 / 0.8489 GB, free: 9.316 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009715/1.563, allocations: 1.461 MB / 0.8504 GB, free: 7.859 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 142 * 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 (278): * Single equations (assignments): 273 * 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.01093/1.574, allocations: 6.294 MB / 0.8565 GB, free: 1.09 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01228/1.586, allocations: 6.101 MB / 0.8625 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.518e-05/1.586, allocations: 12.06 kB / 0.8625 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003481/1.59, allocations: 1.644 MB / 0.8641 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006385/1.596, allocations: 0.7601 MB / 0.8648 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1123/1.708, allocations: 54.72 MB / 0.9183 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009311/1.718, allocations: 4.895 MB / 0.923 GB, free: 7.68 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.007782/1.726, allocations: 2.595 MB / 0.9256 GB, free: 5.074 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00557/1.731, allocations: 3.256 MB / 0.9288 GB, free: 1.816 MB / 0.6231 GB Notification: Performance of SimCode: time 1.593e-06/1.731, allocations: 4.562 kB / 0.9288 GB, free: 1.812 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4548/2.186, allocations: 108.1 MB / 1.034 GB, free: 208.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001592/2.186, allocations: 169.3 kB / 1.034 GB, free: 208.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.455/7.642, allocations: 3.938 kB / 1.034 GB, free: 208.3 MB / 0.6387 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