Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.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) 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(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001387/0.001388, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.502/1.502, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009535/0.0009535, allocations: 97.34 kB / 292.1 MB, free: 5.887 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.21e-05/5.234e-05, allocations: 4 kB / 350.6 MB, free: 2.414 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1361, allocations: 51.49 MB / 402.1 MB, free: 14.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3795/0.5157, allocations: 78.1 MB / 480.2 MB, free: 11.29 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002416/0.5159, allocations: 65.34 kB / 480.3 MB, free: 11.25 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0103/0.5263, allocations: 4.272 MB / 484.6 MB, free: 7.73 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.5263, allocations: 4 kB / 484.6 MB, free: 7.727 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.313e-05/0.5263, allocations: 4 kB / 484.6 MB, free: 7.723 MB / 346.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.000524/0.5269, allocations: 482.8 kB / 485 MB, free: 7.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.5269, allocations: 8.031 kB / 485 MB, free: 7.223 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.286e-05/0.527, allocations: 60.34 kB / 485.1 MB, free: 7.168 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.912e-05/0.527, allocations: 40.41 kB / 485.1 MB, free: 7.133 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.5273, allocations: 233.2 kB / 485.4 MB, free: 6.879 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.5273, allocations: 21.5 kB / 485.4 MB, free: 6.867 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.855e-05/0.5273, allocations: 27.17 kB / 485.4 MB, free: 6.848 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003409/0.5277, allocations: 236.2 kB / 485.7 MB, free: 6.668 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/0.5277, allocations: 0 / 485.7 MB, free: 6.668 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/0.5277, allocations: 10.31 kB / 485.7 MB, free: 6.664 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.5277, allocations: 4 kB / 485.7 MB, free: 6.66 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002494/0.528, allocations: 158.9 kB / 485.8 MB, free: 6.547 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009194/0.5289, allocations: 0.8014 MB / 486.6 MB, free: 5.816 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004503/0.5294, allocations: 291.2 kB / 486.9 MB, free: 5.574 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001966/0.5296, allocations: 132.4 kB / 487 MB, free: 5.477 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.5296, allocations: 4 kB / 487 MB, free: 5.473 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.5297, allocations: 38.17 kB / 487.1 MB, free: 5.43 MB / 346.7 MB Notification: Performance of pre-optimization done (n=33): time 1.643e-06/0.5297, allocations: 0 / 487.1 MB, free: 5.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=45): time 0.002279/0.532, allocations: 1.859 MB / 488.9 MB, free: 3.535 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.317e-05/0.532, allocations: 118.6 kB / 489.1 MB, free: 3.398 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.5322, allocations: 160.6 kB / 489.2 MB, free: 3.25 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.5323, allocations: 38.98 kB / 489.2 MB, free: 3.215 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.057e-05/0.5323, allocations: 134.6 kB / 489.4 MB, free: 3.102 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.416e-05/0.5324, allocations: 168 kB / 489.5 MB, free: 2.953 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.248e-05/0.5324, allocations: 7.188 kB / 489.5 MB, free: 2.953 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.83e-05/0.5325, allocations: 343.2 kB / 489.9 MB, free: 2.621 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.5327, allocations: 83.75 kB / 490 MB, free: 2.57 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.5328, allocations: 156.6 kB / 490.1 MB, free: 2.434 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.533, allocations: 114 kB / 490.2 MB, free: 2.359 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.533, allocations: 0 / 490.2 MB, free: 2.359 MB / 346.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003971/0.5334, allocations: 336.3 kB / 490.6 MB, free: 2.105 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.5334, allocations: 4 kB / 490.6 MB, free: 2.102 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.5335, allocations: 48 / 490.6 MB, free: 2.102 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.5335, allocations: 7.984 kB / 490.6 MB, free: 2.094 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003107/0.5338, allocations: 99.39 kB / 490.7 MB, free: 2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.5338, allocations: 8.094 kB / 490.7 MB, free: 1.992 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.5339, allocations: 11.19 kB / 490.7 MB, free: 1.988 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/0.5339, allocations: 11.95 kB / 490.7 MB, free: 1.977 MB / 346.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 7.624e-05/0.534, allocations: 133.2 kB / 490.8 MB, free: 1.855 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.28e-05/0.5341, allocations: 27.62 kB / 490.9 MB, free: 1.828 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.604e-05/0.5342, allocations: 37.83 kB / 490.9 MB, free: 1.82 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.5342, allocations: 8 kB / 490.9 MB, free: 1.812 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.5342, allocations: 0 / 490.9 MB, free: 1.812 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.5342, allocations: 0 / 490.9 MB, free: 1.812 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.5354, allocations: 1.054 MB / 492 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.5354, allocations: 0 / 492 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004192/0.5359, allocations: 96.92 kB / 492 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.567e-06/0.5359, allocations: 8 kB / 492.1 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.794e-05/0.5359, allocations: 12 kB / 492.1 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.5359, allocations: 8 kB / 492.1 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.536, allocations: 0 / 492.1 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009573/0.5369, allocations: 0.8413 MB / 492.9 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.54e-05/0.537, allocations: 104.9 kB / 493 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.082e-05/0.5371, allocations: 15.98 kB / 493 MB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/0.5373, allocations: 12.94 kB / 493 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.871e-05/0.5373, allocations: 32.84 kB / 493.1 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/0.5374, allocations: 15.95 kB / 493.1 MB, free: 15.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001137/0.5375, allocations: 136.5 kB / 493.2 MB, free: 15.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5375, allocations: 0 / 493.2 MB, free: 15.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000422/0.5379, allocations: 72 kB / 493.3 MB, free: 15.23 MB / 362.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.001724/0.5396, allocations: 2.14 MB / 495.4 MB, free: 12.99 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005334/0.5402, allocations: 256.9 kB / 495.7 MB, free: 12.74 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.5402, allocations: 0 / 495.7 MB, free: 12.74 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002189/0.5404, allocations: 139.7 kB / 495.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005685/0.541, allocations: 60.38 kB / 495.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001715/0.5427, allocations: 0.8615 MB / 496.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003917/0.5431, allocations: 0.7764 MB / 497.5 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000163/0.5433, allocations: 30.97 kB / 497.6 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001469/0.5435, allocations: 91.41 kB / 497.6 MB, free: 10.71 MB / 362.7 MB Notification: Performance of SimCode: time 6.91e-07/0.5435, allocations: 1.406 kB / 497.6 MB, free: 10.71 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01974/0.5632, allocations: 5.341 MB / 0.4912 GB, free: 5.594 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001982/0.5635, allocations: 164.5 kB / 0.4914 GB, free: 5.363 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.102/2.666, allocations: 0 / 0.4914 GB, free: 5.363 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_Damper_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_Damper.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper_res.mat does not exist to compare? outputFormat=mat