Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001032/0.001031, allocations: 172.2 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.42/1.42, allocations: 205.2 MB / 219.8 MB, free: 14.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008232/0.0008231, allocations: 78.66 kB / 267.9 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.091e-05/3.1e-05, allocations: 4 kB / 322.5 MB, free: 17.26 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09324/0.0933, allocations: 47.56 MB / 370.1 MB, free: 1.633 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3316/0.4249, allocations: 76.09 MB / 446.2 MB, free: 1.16 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001766/0.4252, allocations: 63.78 kB / 446.3 MB, free: 1.129 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01032/0.4355, allocations: 4.164 MB / 450.4 MB, free: 13.64 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4355, allocations: 0 / 450.4 MB, free: 13.64 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.47e-05/0.4356, allocations: 4 kB / 450.4 MB, free: 13.64 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0005928/0.4362, allocations: 490.4 kB / 450.9 MB, free: 13.13 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.4362, allocations: 8.031 kB / 450.9 MB, free: 13.12 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.567e-05/0.4363, allocations: 53.92 kB / 451 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.35e-05/0.4363, allocations: 31.62 kB / 451 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002435/0.4366, allocations: 236.6 kB / 451.2 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.4366, allocations: 16.31 kB / 451.2 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.103e-05/0.4367, allocations: 23.75 kB / 451.3 MB, free: 12.76 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003615/0.437, allocations: 244.2 kB / 451.5 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.4371, allocations: 7.984 kB / 451.5 MB, free: 12.56 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/0.4371, allocations: 7.812 kB / 451.5 MB, free: 12.56 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.4371, allocations: 8 kB / 451.5 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002435/0.4374, allocations: 154.5 kB / 451.7 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009723/0.4383, allocations: 0.8065 MB / 452.5 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004434/0.4388, allocations: 283.8 kB / 452.8 MB, free: 11.48 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002188/0.439, allocations: 133.3 kB / 452.9 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.4391, allocations: 7.938 kB / 452.9 MB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.4391, allocations: 38.56 kB / 452.9 MB, free: 11.32 MB / 330.7 MB Notification: Performance of pre-optimization done (n=33): time 1.663e-06/0.4391, allocations: 0 / 452.9 MB, free: 11.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=45): time 0.002334/0.4414, allocations: 1.867 MB / 454.8 MB, free: 9.41 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.635e-05/0.4415, allocations: 110.7 kB / 454.9 MB, free: 9.277 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.4417, allocations: 177.5 kB / 455.1 MB, free: 9.117 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.4417, allocations: 29.58 kB / 455.1 MB, free: 9.086 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.172e-05/0.4418, allocations: 139.3 kB / 455.3 MB, free: 8.969 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.4419, allocations: 160.8 kB / 455.4 MB, free: 8.828 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.305e-05/0.4419, allocations: 11.75 kB / 455.4 MB, free: 8.824 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.4421, allocations: 342.3 kB / 455.8 MB, free: 8.492 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.4422, allocations: 83.56 kB / 455.8 MB, free: 8.441 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.4424, allocations: 152.9 kB / 456 MB, free: 8.309 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.4426, allocations: 122.4 kB / 456.1 MB, free: 8.227 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4426, allocations: 4 kB / 456.1 MB, free: 8.223 MB / 330.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004566/0.4431, allocations: 321.2 kB / 456.4 MB, free: 7.945 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.4431, allocations: 12.09 kB / 456.4 MB, free: 7.934 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.4431, allocations: 0 / 456.4 MB, free: 7.934 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.4431, allocations: 4 kB / 456.4 MB, free: 7.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003251/0.4434, allocations: 95.84 kB / 456.5 MB, free: 7.836 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.4435, allocations: 4 kB / 456.5 MB, free: 7.832 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.4436, allocations: 15.98 kB / 456.6 MB, free: 7.816 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.444e-05/0.4436, allocations: 15.95 kB / 456.6 MB, free: 7.801 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * Array equations: 0 * 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 prepare postOptimizeDAE: time 8.714e-05/0.4437, allocations: 120.9 kB / 456.7 MB, free: 7.676 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.909e-05/0.4438, allocations: 31.62 kB / 456.7 MB, free: 7.645 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.945e-05/0.4439, allocations: 41.59 kB / 456.8 MB, free: 7.602 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.4439, allocations: 8 kB / 456.8 MB, free: 7.594 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.4439, allocations: 0 / 456.8 MB, free: 7.594 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.4439, allocations: 3.984 kB / 456.8 MB, free: 7.59 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001302/0.4453, allocations: 1.047 MB / 457.8 MB, free: 6.457 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.4453, allocations: 4 kB / 457.8 MB, free: 6.453 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003514/0.4456, allocations: 91.89 kB / 457.9 MB, free: 6.363 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.998e-06/0.4456, allocations: 4 kB / 457.9 MB, free: 6.359 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.633e-05/0.4457, allocations: 12 kB / 457.9 MB, free: 6.348 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/0.4457, allocations: 7.938 kB / 457.9 MB, free: 6.34 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4457, allocations: 4 kB / 457.9 MB, free: 6.336 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008064/0.4465, allocations: 0.8454 MB / 458.8 MB, free: 5.371 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.393e-05/0.4466, allocations: 104.9 kB / 458.9 MB, free: 5.25 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.725e-05/0.4466, allocations: 11.98 kB / 458.9 MB, free: 5.238 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.4468, allocations: 12 kB / 458.9 MB, free: 5.227 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.392e-05/0.4469, allocations: 31.91 kB / 458.9 MB, free: 5.195 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.4469, allocations: 15.95 kB / 459 MB, free: 5.18 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001083/0.447, allocations: 140.3 kB / 459.1 MB, free: 5.043 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.447, allocations: 0 / 459.1 MB, free: 5.043 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003788/0.4474, allocations: 72 kB / 459.2 MB, free: 4.973 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper1.s_rel,damper1.v_rel,damper2.s_rel,damper2.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * Array equations: 0 * 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.001356/0.4488, allocations: 2.144 MB / 461.3 MB, free: 2.734 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003968/0.4492, allocations: 250.3 kB / 461.5 MB, free: 2.492 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.4492, allocations: 4 kB / 461.6 MB, free: 2.488 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001811/0.4494, allocations: 135.8 kB / 461.7 MB, free: 2.355 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004638/0.4499, allocations: 57.83 kB / 461.7 MB, free: 2.301 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.4513, allocations: 0.8733 MB / 462.6 MB, free: 1.355 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.4517, allocations: 0.7686 MB / 463.4 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000119/0.4518, allocations: 34.97 kB / 463.4 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.4519, allocations: 91.41 kB / 463.5 MB, free: 440 kB / 330.7 MB Notification: Performance of SimCode: time 3.81e-07/0.452, allocations: 0 / 463.5 MB, free: 440 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01763/0.4696, allocations: 5.365 MB / 468.9 MB, free: 11.06 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001898/0.4698, allocations: 146.5 kB / 469 MB, free: 10.84 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.759/2.229, allocations: 0 / 469 MB, free: 10.84 MB / 346.7 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Damper_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Damper.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper_res.mat does not exist to compare? outputFormat=mat