Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.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.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001489/0.00149, allocations: 197.2 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.42/1.42, allocations: 225.4 MB / 240.1 MB, free: 15.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009331/0.0009331, allocations: 90.28 kB / 292.1 MB, free: 5.918 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.297e-05/3.309e-05, allocations: 4 kB / 350.7 MB, free: 2.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1209, allocations: 51.48 MB / 402.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.336/0.457, allocations: 76.81 MB / 478.9 MB, free: 12.6 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000224/0.4573, allocations: 75.08 kB / 479 MB, free: 12.56 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001865/0.4592, allocations: 0.7856 MB / 479.8 MB, free: 11.86 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.4592, allocations: 0.5 kB / 479.8 MB, free: 11.86 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.4592, allocations: 0 / 479.8 MB, free: 11.86 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002472/0.4595, allocations: 328.4 kB / 480.1 MB, free: 11.5 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.4595, allocations: 12.03 kB / 480.1 MB, free: 11.49 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.818e-05/0.4595, allocations: 34.97 kB / 480.2 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.007e-05/0.4596, allocations: 8.094 kB / 480.2 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.4597, allocations: 168 kB / 480.3 MB, free: 11.24 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.395e-05/0.4598, allocations: 4.484 kB / 480.3 MB, free: 11.24 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.928e-06/0.4598, allocations: 5.625 kB / 480.3 MB, free: 11.24 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002046/0.46, allocations: 104.5 kB / 480.4 MB, free: 11.14 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.46, allocations: 0 / 480.4 MB, free: 11.14 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.46, allocations: 8.312 kB / 480.5 MB, free: 11.14 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.46, allocations: 0 / 480.5 MB, free: 11.14 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.7e-05/0.4601, allocations: 8.562 kB / 480.5 MB, free: 11.13 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001089/0.4602, allocations: 157 kB / 480.6 MB, free: 10.93 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.024e-05/0.4603, allocations: 40.11 kB / 480.7 MB, free: 10.89 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.508e-05/0.4603, allocations: 19.97 kB / 480.7 MB, free: 10.88 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.005e-05/0.4604, allocations: 4 kB / 480.7 MB, free: 10.87 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.4604, allocations: 42.45 kB / 480.7 MB, free: 10.82 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.4604, allocations: 0 / 480.7 MB, free: 10.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001256/0.4605, allocations: 52.7 kB / 480.8 MB, free: 10.77 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.4606, allocations: 54.58 kB / 480.8 MB, free: 10.71 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.53e-05/0.4606, allocations: 96.69 kB / 480.9 MB, free: 10.61 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.4606, allocations: 25.7 kB / 480.9 MB, free: 10.58 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.511e-05/0.4607, allocations: 91.33 kB / 481 MB, free: 10.49 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.088e-05/0.4607, allocations: 3.984 kB / 481 MB, free: 10.49 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.484e-06/0.4607, allocations: 0 / 481 MB, free: 10.49 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.668e-05/0.4608, allocations: 313.6 kB / 481.3 MB, free: 10.18 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.253e-05/0.4608, allocations: 6.812 kB / 481.3 MB, free: 10.17 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.292e-05/0.4608, allocations: 34.97 kB / 481.4 MB, free: 10.13 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.013e-05/0.4608, allocations: 8 kB / 481.4 MB, free: 10.12 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.4608, allocations: 0 / 481.4 MB, free: 10.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.933e-05/0.4609, allocations: 64.5 kB / 481.5 MB, free: 10.06 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.461, allocations: 4 kB / 481.5 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.461, allocations: 3.953 kB / 481.5 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.461, allocations: 4.625 kB / 481.5 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.636e-05/0.4611, allocations: 9.672 kB / 481.5 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.4611, allocations: 12.06 kB / 481.5 MB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.985e-05/0.4611, allocations: 0 / 481.5 MB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.4611, allocations: 4 kB / 481.5 MB, free: 10.02 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (step.counter,$CLKPRE.step.counter) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 6.842e-05/0.4612, allocations: 108.7 kB / 481.6 MB, free: 9.914 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.318e-05/0.4613, allocations: 53.39 kB / 481.6 MB, free: 9.863 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.108e-05/0.4613, allocations: 4.031 kB / 481.7 MB, free: 9.859 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.4613, allocations: 3.953 kB / 481.7 MB, free: 9.855 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.4613, allocations: 0.5625 kB / 481.7 MB, free: 9.855 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.4613, allocations: 0 / 481.7 MB, free: 9.855 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.66e-05/0.4614, allocations: 165.2 kB / 481.8 MB, free: 9.648 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4614, allocations: 0 / 481.8 MB, free: 9.648 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.262e-05/0.4615, allocations: 12.88 kB / 481.8 MB, free: 9.637 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.4615, allocations: 0 / 481.8 MB, free: 9.637 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.4615, allocations: 7.25 kB / 481.8 MB, free: 9.633 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.4615, allocations: 3.984 kB / 481.8 MB, free: 9.629 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4616, allocations: 3.953 kB / 481.8 MB, free: 9.625 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000107/0.4617, allocations: 77.38 kB / 481.9 MB, free: 9.539 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.572e-05/0.4617, allocations: 79.08 kB / 482 MB, free: 9.445 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.4617, allocations: 5.188 kB / 482 MB, free: 9.441 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.559e-05/0.4618, allocations: 4 kB / 482 MB, free: 9.438 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.308e-06/0.4618, allocations: 0 / 482 MB, free: 9.438 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.4618, allocations: 7.938 kB / 482 MB, free: 9.43 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.469e-05/0.4619, allocations: 87.22 kB / 482.1 MB, free: 9.348 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4619, allocations: 0 / 482.1 MB, free: 9.348 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001935/0.4621, allocations: 7.5 kB / 482.1 MB, free: 9.344 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (step.counter) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0004126/0.4625, allocations: 0.6256 MB / 482.7 MB, free: 8.699 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001024/0.4626, allocations: 24.28 kB / 482.8 MB, free: 8.68 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4626, allocations: 0 / 482.8 MB, free: 8.68 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.31e-07/0.4626, allocations: 0 / 482.8 MB, free: 8.68 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.4628, allocations: 15.12 kB / 482.8 MB, free: 8.668 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003269/0.4632, allocations: 100.6 kB / 482.9 MB, free: 8.543 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001799/0.4634, allocations: 0.692 MB / 483.6 MB, free: 7.828 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.384e-05/0.4634, allocations: 4 kB / 483.6 MB, free: 7.824 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.458e-05/0.4634, allocations: 14.88 kB / 483.6 MB, free: 7.812 MB / 346.7 MB Notification: Performance of SimCode: time 3.41e-07/0.4635, allocations: 0 / 483.6 MB, free: 7.812 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0121/0.4756, allocations: 1.134 MB / 484.7 MB, free: 6.898 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001843/0.4758, allocations: 177.5 kB / 484.9 MB, free: 6.668 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.472/1.948, allocations: 0 / 484.9 MB, free: 6.668 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat does not exist to compare? outputFormat=mat