Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 179.6 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 223.2 MB / 240.3 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009109/0.0009109, allocations: 96.25 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002794/0.0002795, allocations: 11.94 kB / 351.2 MB, free: 15.22 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2351, allocations: 50.4 MB / 401.6 MB, free: 32.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09157/0.3268, allocations: 77.38 MB / 479 MB, free: 3.113 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002032/0.327, allocations: 63.97 kB / 479 MB, free: 3.051 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.011/0.338, allocations: 4.285 MB / 483.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3381, allocations: 0 / 483.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.39e-05/0.3381, allocations: 4 kB / 483.3 MB, free: 14.75 MB / 362.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.0006267/0.3387, allocations: 0.503 MB / 483.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.3388, allocations: 8.031 kB / 483.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.067e-05/0.3388, allocations: 66.53 kB / 483.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.037e-05/0.3389, allocations: 27.72 kB / 483.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/0.3391, allocations: 229 kB / 484.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.3392, allocations: 21 kB / 484.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.535e-05/0.3392, allocations: 31.86 kB / 484.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003536/0.3396, allocations: 235.4 kB / 484.4 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.3396, allocations: 4 kB / 484.4 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/0.3396, allocations: 15.94 kB / 484.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.3396, allocations: 8 kB / 484.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002599/0.3399, allocations: 164.4 kB / 484.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009878/0.3409, allocations: 0.8049 MB / 485.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004516/0.3414, allocations: 287.5 kB / 485.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.3414, allocations: 4 kB / 485.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.3414, allocations: 42.84 kB / 485.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=33): time 1.794e-06/0.3414, allocations: 0 / 485.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=45): time 0.002589/0.344, allocations: 1.958 MB / 487.7 MB, free: 9.898 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.424e-05/0.3441, allocations: 106.8 kB / 487.8 MB, free: 9.77 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.3443, allocations: 167.5 kB / 488 MB, free: 9.594 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.3443, allocations: 29.7 kB / 488 MB, free: 9.559 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.567e-05/0.3444, allocations: 136.8 kB / 488.1 MB, free: 9.422 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.3445, allocations: 165.6 kB / 488.3 MB, free: 9.258 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.569e-05/0.3446, allocations: 8 kB / 488.3 MB, free: 9.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.3447, allocations: 338.8 kB / 488.6 MB, free: 8.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.3449, allocations: 88.84 kB / 488.7 MB, free: 8.824 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001881/0.3451, allocations: 154.3 kB / 488.9 MB, free: 8.652 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/0.3453, allocations: 124 kB / 489 MB, free: 8.535 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.3453, allocations: 0 / 489 MB, free: 8.535 MB / 362.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004729/0.3458, allocations: 340.9 kB / 489.3 MB, free: 8.195 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.3458, allocations: 6.344 kB / 489.3 MB, free: 8.191 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.3458, allocations: 4 kB / 489.3 MB, free: 8.188 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.3458, allocations: 4 kB / 489.3 MB, free: 8.184 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003452/0.3462, allocations: 95.83 kB / 489.4 MB, free: 8.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.3462, allocations: 4.938 kB / 489.4 MB, free: 8.086 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.3463, allocations: 12.09 kB / 489.4 MB, free: 8.074 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/0.3463, allocations: 20 kB / 489.5 MB, free: 8.055 MB / 362.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 () * Number of clocked 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 0.0001499/0.3465, allocations: 145.8 kB / 489.6 MB, free: 7.902 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.382e-05/0.3466, allocations: 27.67 kB / 489.6 MB, free: 7.875 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.5e-05/0.3467, allocations: 41.86 kB / 489.7 MB, free: 7.832 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.3467, allocations: 4 kB / 489.7 MB, free: 7.828 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.3467, allocations: 0 / 489.7 MB, free: 7.828 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.3467, allocations: 3.984 kB / 489.7 MB, free: 7.824 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001367/0.3481, allocations: 1.054 MB / 490.7 MB, free: 6.684 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.3481, allocations: 7.984 kB / 490.7 MB, free: 6.676 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003716/0.3485, allocations: 79.91 kB / 490.8 MB, free: 6.598 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.335e-06/0.3485, allocations: 8 kB / 490.8 MB, free: 6.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.528e-05/0.3485, allocations: 15.95 kB / 490.8 MB, free: 6.574 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.205e-06/0.3485, allocations: 12.2 kB / 490.9 MB, free: 6.562 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.3485, allocations: 8 kB / 490.9 MB, free: 6.555 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008392/0.3494, allocations: 0.8412 MB / 491.7 MB, free: 5.594 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.405e-05/0.3495, allocations: 104.8 kB / 491.8 MB, free: 5.473 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.769e-05/0.3495, allocations: 12.06 kB / 491.8 MB, free: 5.461 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/0.3497, allocations: 8 kB / 491.8 MB, free: 5.453 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.123e-05/0.3498, allocations: 43.84 kB / 491.9 MB, free: 5.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.3498, allocations: 12 kB / 491.9 MB, free: 5.398 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001116/0.3499, allocations: 135.3 kB / 492 MB, free: 5.266 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3499, allocations: 0 / 492 MB, free: 5.266 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004554/0.3504, allocations: 72 kB / 492.1 MB, free: 5.195 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 () * Number of clocked 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.001449/0.3519, allocations: 2.164 MB / 494.2 MB, free: 2.941 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004379/0.3523, allocations: 260.5 kB / 494.5 MB, free: 2.688 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3523, allocations: 0 / 494.5 MB, free: 2.688 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001919/0.3525, allocations: 148 kB / 494.6 MB, free: 2.543 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005079/0.353, allocations: 52.31 kB / 494.7 MB, free: 2.492 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003107/0.3561, allocations: 2.907 MB / 497.6 MB, free: 15.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.3565, allocations: 0.7762 MB / 498.4 MB, free: 14.68 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000126/0.3566, allocations: 38.94 kB / 498.4 MB, free: 14.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.3568, allocations: 91.41 kB / 498.5 MB, free: 14.55 MB / 378.7 MB Notification: Performance of SimCode: time 4.11e-07/0.3568, allocations: 0 / 498.5 MB, free: 14.55 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01701/0.3738, allocations: 5.29 MB / 0.492 GB, free: 9.414 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001973/0.374, allocations: 181.7 kB / 0.4922 GB, free: 9.176 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.006/2.38, allocations: 0 / 0.4922 GB, free: 9.176 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Damper_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Damper.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper_res.mat does not exist to compare? outputFormat=mat