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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.002069/0.002069, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.524/1.524, allocations: 227.2 MB / 245 MB, free: 5.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009792/0.0009794, allocations: 104.8 kB / 297.3 MB, free: 5.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3493/0.3493, allocations: 45.24 MB / 394.6 MB, free: 31.78 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002759/0.0002759, allocations: 8.219 kB / 468.5 MB, free: 7.645 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3256, allocations: 63.25 MB / 0.5193 GB, free: 37.52 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1534/0.479, allocations: 110.8 MB / 0.6275 GB, free: 8.59 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003188/0.4794, allocations: 87.91 kB / 0.6276 GB, free: 8.508 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7372/1.217, allocations: 144.9 MB / 0.7691 GB, free: 73.4 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.466e-06/1.217, allocations: 0 / 0.7691 GB, free: 73.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000423/1.217, allocations: 147.9 kB / 0.7692 GB, free: 73.25 MB / 490.7 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.02622/1.243, allocations: 6.763 MB / 0.7758 GB, free: 66.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.086e-05/1.243, allocations: 12.03 kB / 0.7758 GB, free: 66.39 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007062/1.25, allocations: 1.31 MB / 0.7771 GB, free: 65.07 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01747/1.268, allocations: 3.543 MB / 0.7806 GB, free: 61.51 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01921/1.287, allocations: 6.34 MB / 0.7868 GB, free: 55.11 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007642/1.288, allocations: 0.5735 MB / 0.7873 GB, free: 54.53 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005197/1.293, allocations: 0.7614 MB / 0.7881 GB, free: 53.77 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05516/1.348, allocations: 20.96 MB / 0.8085 GB, free: 31.21 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007109/1.349, allocations: 91.16 kB / 0.8086 GB, free: 31.12 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004495/1.354, allocations: 367.8 kB / 0.809 GB, free: 30.76 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003277/1.357, allocations: 1.819 MB / 0.8107 GB, free: 28.94 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0399/1.397, allocations: 16.87 MB / 0.8272 GB, free: 12.04 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8433/2.24, allocations: 77.15 MB / 0.9026 GB, free: 64.44 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02446/2.265, allocations: 6.273 MB / 0.9087 GB, free: 63.77 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0249/2.29, allocations: 9.247 MB / 0.9177 GB, free: 61.54 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02206/2.312, allocations: 4.16 MB / 0.9218 GB, free: 61.41 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=264): time 9.588e-06/2.312, allocations: 0 / 0.9218 GB, free: 61.41 MB / 0.5262 GB Notification: Performance of matching and sorting (n=298): time 0.09118/2.403, allocations: 21.27 MB / 0.9426 GB, free: 56.46 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.763e-05/2.403, allocations: 159.7 kB / 0.9427 GB, free: 56.31 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01425/2.418, allocations: 5.266 MB / 0.9478 GB, free: 55.71 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0008416/2.419, allocations: 74.08 kB / 0.9479 GB, free: 55.68 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.006584/2.425, allocations: 5.059 MB / 0.9529 GB, free: 52.83 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001715/2.427, allocations: 1.139 MB / 0.954 GB, free: 52.19 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001442/2.428, allocations: 182 kB / 0.9541 GB, free: 52.19 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.001162/2.43, allocations: 0.6965 MB / 0.9548 GB, free: 51.87 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006902/2.436, allocations: 2.665 MB / 0.9574 GB, free: 51.84 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009763/2.446, allocations: 8.211 MB / 0.9654 GB, free: 44.43 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009029/2.455, allocations: 4.568 MB / 0.9699 GB, free: 42.98 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003602/2.456, allocations: 56.25 kB / 0.97 GB, free: 42.98 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.02552/2.481, allocations: 10.65 MB / 0.9804 GB, free: 39.93 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004919/2.482, allocations: 120.6 kB / 0.9805 GB, free: 39.89 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005519/2.482, allocations: 195.5 kB / 0.9807 GB, free: 39.89 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005073/2.483, allocations: 298.5 kB / 0.9809 GB, free: 39.89 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008763/2.492, allocations: 2.258 MB / 0.9832 GB, free: 39.62 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005564/2.492, allocations: 388.1 kB / 0.9835 GB, free: 39.54 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00924/2.501, allocations: 0.5871 MB / 0.9841 GB, free: 39.37 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002315/2.504, allocations: 0.5393 MB / 0.9846 GB, free: 39.3 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 898 * Number of states: 0 () * Number of discrete variables: 83 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,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.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,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.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,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.forceArrow.arrowLine.twoHeadedArrow,force.forceArrow.headAtOrigin,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 (1182): * Single equations (assignments): 1178 * 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.009743/2.514, allocations: 3.24 MB / 0.9878 GB, free: 37.79 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001653/2.515, allocations: 0.5209 MB / 0.9883 GB, free: 37.51 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007051/2.522, allocations: 2.999 MB / 0.9912 GB, free: 35.27 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.755e-05/2.522, allocations: 31.95 kB / 0.9913 GB, free: 35.24 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-05/2.522, allocations: 4 kB / 0.9913 GB, free: 35.24 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-05/2.522, allocations: 17.22 kB / 0.9913 GB, free: 35.23 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03102/2.554, allocations: 12.54 MB / 1.004 GB, free: 24.34 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.694e-05/2.554, allocations: 32 kB / 1.004 GB, free: 24.31 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002115/2.556, allocations: 0.5465 MB / 1.004 GB, free: 23.84 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.225e-05/2.556, allocations: 48 kB / 1.004 GB, free: 23.79 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000322/2.556, allocations: 95.19 kB / 1.004 GB, free: 23.7 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.193e-05/2.556, allocations: 67.39 kB / 1.004 GB, free: 23.64 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-05/2.556, allocations: 47.81 kB / 1.004 GB, free: 23.59 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008732/2.565, allocations: 11.26 MB / 1.015 GB, free: 10.96 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002411/2.567, allocations: 0.6025 MB / 1.016 GB, free: 10.36 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001432/2.569, allocations: 91.45 kB / 1.016 GB, free: 10.28 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003301/2.572, allocations: 212.8 kB / 1.016 GB, free: 10.11 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000398/2.573, allocations: 279.7 kB / 1.016 GB, free: 9.906 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002229/2.573, allocations: 119.3 kB / 1.017 GB, free: 9.793 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.008695/2.582, allocations: 3.688 MB / 1.02 GB, free: 6.777 MB / 0.5262 GB Notification: Performance of sort global known variables: time 4.41e-07/2.582, allocations: 0 / 1.02 GB, free: 6.777 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.01099/2.593, allocations: 1.485 MB / 1.022 GB, free: 5.301 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 146 * 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 (276): * Single equations (assignments): 271 * 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.01648/2.609, allocations: 17.88 MB / 1.039 GB, free: 2.832 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.01449/2.624, allocations: 6.17 MB / 1.045 GB, free: 13.72 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 3.165e-05/2.624, allocations: 4 kB / 1.045 GB, free: 13.72 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.003761/2.628, allocations: 1.609 MB / 1.047 GB, free: 12.29 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005447/2.633, allocations: 0.7232 MB / 1.047 GB, free: 11.68 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4566/3.09, allocations: 169.7 MB / 1.213 GB, free: 104.9 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01145/3.101, allocations: 5.022 MB / 1.218 GB, free: 104 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.008092/3.109, allocations: 2.631 MB / 1.221 GB, free: 104 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006051/3.115, allocations: 3.246 MB / 1.224 GB, free: 104 MB / 0.6199 GB Notification: Performance of SimCode: time 1.062e-06/3.115, allocations: 0 / 1.224 GB, free: 104 MB / 0.6199 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1954/3.311, allocations: 106.9 MB / 1.328 GB, free: 48.3 MB / 0.6199 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001848/3.311, allocations: 169.8 kB / 1.328 GB, free: 48.06 MB / 0.6199 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.57/9.881, allocations: 4 kB / 1.328 GB, free: 48.06 MB / 0.6199 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