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.001723/0.001723, allocations: 176.4 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.693/1.693, allocations: 221.5 MB / 230.3 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 95.12 kB / 281.2 MB, free: 5.336 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.828e-05/1.83e-05, allocations: 4 kB / 337.1 MB, free: 9.938 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1416, allocations: 50.41 MB / 387.5 MB, free: 7.488 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4044/0.5461, allocations: 76.64 MB / 464.2 MB, free: 2.086 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/0.5464, allocations: 63.95 kB / 464.3 MB, free: 2.023 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01126/0.5577, allocations: 4.256 MB / 468.5 MB, free: 13.77 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.5578, allocations: 0 / 468.5 MB, free: 13.77 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.763e-05/0.5578, allocations: 4 kB / 468.5 MB, free: 13.77 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.0006227/0.5584, allocations: 487.3 kB / 469 MB, free: 13.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.5585, allocations: 12.03 kB / 469 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.078e-05/0.5585, allocations: 27.62 kB / 469 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/0.5588, allocations: 231.4 kB / 469.3 MB, free: 12.94 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.5588, allocations: 8 kB / 469.3 MB, free: 12.93 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.323e-05/0.5589, allocations: 16 kB / 469.3 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002784/0.5592, allocations: 137 kB / 469.4 MB, free: 12.78 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00034/0.5595, allocations: 206.3 kB / 469.6 MB, free: 12.56 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.675e-05/0.5595, allocations: 19.89 kB / 469.6 MB, free: 12.54 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.822e-05/0.5596, allocations: 0 / 469.6 MB, free: 12.54 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.5596, allocations: 8 kB / 469.6 MB, free: 12.53 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.5607, allocations: 0.7393 MB / 470.4 MB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004887/0.5612, allocations: 259.6 kB / 470.6 MB, free: 11.46 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000212/0.5615, allocations: 119.3 kB / 470.8 MB, free: 11.34 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.5615, allocations: 8 kB / 470.8 MB, free: 11.33 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.5615, allocations: 38.55 kB / 470.8 MB, free: 11.29 MB / 346.7 MB Notification: Performance of pre-optimization done (n=33): time 1.713e-06/0.5616, allocations: 3.938 kB / 470.8 MB, free: 11.28 MB / 346.7 MB Notification: Performance of matching and sorting (n=45): time 0.002211/0.5638, allocations: 1.737 MB / 472.5 MB, free: 9.285 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.628e-05/0.5638, allocations: 106.8 kB / 472.6 MB, free: 9.156 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.564, allocations: 141.5 kB / 472.8 MB, free: 9.012 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.564, allocations: 29.7 kB / 472.8 MB, free: 8.977 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.611e-05/0.5641, allocations: 136.9 kB / 472.9 MB, free: 8.836 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.947e-05/0.5642, allocations: 157.7 kB / 473.1 MB, free: 8.68 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.187e-05/0.5642, allocations: 96 / 473.1 MB, free: 8.68 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.5644, allocations: 346.8 kB / 473.4 MB, free: 8.332 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.5645, allocations: 72.88 kB / 473.5 MB, free: 8.262 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001782/0.5647, allocations: 141.4 kB / 473.6 MB, free: 8.105 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001648/0.5649, allocations: 101.3 kB / 473.7 MB, free: 8.008 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.5649, allocations: 4 kB / 473.7 MB, free: 8.004 MB / 346.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004348/0.5653, allocations: 296 kB / 474 MB, free: 7.711 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.5653, allocations: 4 kB / 474 MB, free: 7.707 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.5653, allocations: 7.984 kB / 474 MB, free: 7.699 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.5654, allocations: 3.953 kB / 474.1 MB, free: 7.695 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003296/0.5657, allocations: 91.91 kB / 474.1 MB, free: 7.605 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.946e-06/0.5657, allocations: 4 kB / 474.1 MB, free: 7.602 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.454e-05/0.5658, allocations: 0 / 474.1 MB, free: 7.602 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.608e-05/0.5659, allocations: 20.09 kB / 474.2 MB, free: 7.582 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 9.887e-05/0.566, allocations: 116.9 kB / 474.3 MB, free: 7.461 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003981/0.5664, allocations: 253.3 kB / 474.5 MB, free: 7.211 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.622e-05/0.5665, allocations: 31.58 kB / 474.6 MB, free: 7.18 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.862e-05/0.5665, allocations: 29.97 kB / 474.6 MB, free: 7.156 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.5666, allocations: 8 kB / 474.6 MB, free: 7.148 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.5666, allocations: 0 / 474.6 MB, free: 7.148 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.5666, allocations: 3.984 kB / 474.6 MB, free: 7.145 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00123/0.5678, allocations: 0.966 MB / 475.6 MB, free: 6.105 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.5678, allocations: 4 kB / 475.6 MB, free: 6.102 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003639/0.5682, allocations: 91.89 kB / 475.7 MB, free: 6.012 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.278e-06/0.5682, allocations: 4.281 kB / 475.7 MB, free: 6.008 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.221e-05/0.5682, allocations: 8 kB / 475.7 MB, free: 6 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.211e-06/0.5683, allocations: 7.938 kB / 475.7 MB, free: 5.992 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/0.5683, allocations: 7.953 kB / 475.7 MB, free: 5.984 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007839/0.5691, allocations: 0.7909 MB / 476.5 MB, free: 5.07 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.295e-05/0.5691, allocations: 104.7 kB / 476.6 MB, free: 4.949 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.73e-05/0.5692, allocations: 4.172 kB / 476.6 MB, free: 4.945 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/0.5694, allocations: 16.05 kB / 476.6 MB, free: 4.93 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.534e-05/0.5694, allocations: 39.86 kB / 476.6 MB, free: 4.891 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.5695, allocations: 11.98 kB / 476.6 MB, free: 4.879 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.885e-05/0.5696, allocations: 116.3 kB / 476.8 MB, free: 4.766 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5696, allocations: 96 / 476.8 MB, free: 4.766 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004102/0.57, allocations: 63.94 kB / 476.8 MB, free: 4.703 MB / 346.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.001285/0.5713, allocations: 2.093 MB / 478.9 MB, free: 2.512 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004042/0.5717, allocations: 233.5 kB / 479.1 MB, free: 2.285 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.5717, allocations: 0 / 479.1 MB, free: 2.285 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001578/0.5719, allocations: 131.9 kB / 479.3 MB, free: 2.156 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005164/0.5724, allocations: 45.22 kB / 479.3 MB, free: 2.113 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.5739, allocations: 0.8192 MB / 480.1 MB, free: 1.227 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.5742, allocations: 0.7722 MB / 480.9 MB, free: 436 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001237/0.5744, allocations: 31.27 kB / 480.9 MB, free: 408 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.5745, allocations: 91.41 kB / 481 MB, free: 316 kB / 346.7 MB Notification: Performance of SimCode: time 6.81e-07/0.5745, allocations: 4 kB / 481 MB, free: 312 kB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02463/0.5991, allocations: 4.775 MB / 485.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001943/0.5994, allocations: 149.8 kB / 486 MB, free: 11.37 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.848/2.448, allocations: 0 / 486 MB, free: 11.37 MB / 362.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