Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.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.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 177.1 kB / 8.35 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.458/1.458, allocations: 221.5 MB / 230.3 MB, free: 7.57 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.0008956/0.0008958, allocations: 85.3 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.54e-05/2.565e-05, allocations: 4 kB / 337.2 MB, free: 9.914 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1154, allocations: 50.41 MB / 387.6 MB, free: 7.465 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3263/0.4417, allocations: 75.33 MB / 462.9 MB, free: 3.465 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/0.442, allocations: 83.88 kB / 463 MB, free: 3.383 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00214/0.4442, allocations: 0.7735 MB / 463.8 MB, free: 2.617 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4442, allocations: 3.938 kB / 463.8 MB, free: 2.613 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.4442, allocations: 0 / 463.8 MB, free: 2.613 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000352/0.4446, allocations: 330 kB / 464.1 MB, free: 2.25 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.4447, allocations: 12.03 kB / 464.1 MB, free: 2.238 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.059e-05/0.4447, allocations: 11.86 kB / 464.1 MB, free: 2.227 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002095/0.4449, allocations: 176.2 kB / 464.3 MB, free: 2.016 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/0.445, allocations: 0 / 464.3 MB, free: 2.016 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.445, allocations: 3.938 kB / 464.3 MB, free: 2.012 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.225e-05/0.4451, allocations: 15.98 kB / 464.3 MB, free: 1.996 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002454/0.4453, allocations: 95.3 kB / 464.4 MB, free: 1.891 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.4454, allocations: 0 / 464.4 MB, free: 1.891 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.4454, allocations: 4 kB / 464.4 MB, free: 1.887 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.4454, allocations: 3.953 kB / 464.4 MB, free: 1.883 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001634/0.4456, allocations: 138.2 kB / 464.5 MB, free: 1.711 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.4457, allocations: 34.58 kB / 464.6 MB, free: 1.668 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.408e-05/0.4457, allocations: 20.83 kB / 464.6 MB, free: 1.648 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.4458, allocations: 7.938 kB / 464.6 MB, free: 1.641 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.4458, allocations: 38.69 kB / 464.6 MB, free: 1.594 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 3.456e-06/0.4458, allocations: 0 / 464.6 MB, free: 1.594 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001667/0.446, allocations: 49.55 kB / 464.7 MB, free: 1.539 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/0.446, allocations: 51.41 kB / 464.7 MB, free: 1.477 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.883e-05/0.4461, allocations: 101 kB / 464.8 MB, free: 1.371 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.4461, allocations: 25.7 kB / 464.9 MB, free: 1.34 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.141e-05/0.4462, allocations: 80.14 kB / 464.9 MB, free: 1.258 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.567e-05/0.4462, allocations: 4 kB / 464.9 MB, free: 1.254 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/0.4462, allocations: 0 / 464.9 MB, free: 1.254 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.685e-05/0.4463, allocations: 326.8 kB / 465.3 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.245e-05/0.4463, allocations: 0 / 465.3 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.876e-05/0.4464, allocations: 31.44 kB / 465.3 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.133e-05/0.4464, allocations: 11.94 kB / 465.3 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4464, allocations: 0 / 465.3 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.929e-05/0.4465, allocations: 57.53 kB / 465.4 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.4465, allocations: 4 kB / 465.4 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.4465, allocations: 4 kB / 465.4 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.4466, allocations: 0 / 465.4 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.5e-05/0.4466, allocations: 8 kB / 465.4 MB, free: 0.793 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.4466, allocations: 0 / 465.4 MB, free: 0.793 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.098e-05/0.4467, allocations: 0 / 465.4 MB, free: 0.793 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.4467, allocations: 4 kB / 465.4 MB, free: 0.7891 MB / 330.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 7.615e-05/0.4468, allocations: 124.9 kB / 465.5 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.543e-05/0.4468, allocations: 45.7 kB / 465.5 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.916e-06/0.4468, allocations: 3.906 kB / 465.5 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.726e-05/0.4469, allocations: 12.27 kB / 465.6 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.4469, allocations: 4 kB / 465.6 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.4469, allocations: 0 / 465.6 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.4469, allocations: 0 / 465.6 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.218e-05/0.447, allocations: 138.2 kB / 465.7 MB, free: 424 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.447, allocations: 0 / 465.7 MB, free: 424 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.285e-05/0.4471, allocations: 11.98 kB / 465.7 MB, free: 412 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.4471, allocations: 7.938 kB / 465.7 MB, free: 404 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.4471, allocations: 0 / 465.7 MB, free: 404 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.4471, allocations: 0 / 465.7 MB, free: 404 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.4471, allocations: 0.875 kB / 465.7 MB, free: 404 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.93e-05/0.4472, allocations: 85.09 kB / 465.8 MB, free: 300 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.898e-05/0.4472, allocations: 77.11 kB / 465.9 MB, free: 204 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.4472, allocations: 0 / 465.9 MB, free: 204 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.909e-05/0.4473, allocations: 7.984 kB / 465.9 MB, free: 196 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.575e-06/0.4473, allocations: 4 kB / 465.9 MB, free: 192 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-06/0.4473, allocations: 0 / 465.9 MB, free: 192 kB / 330.7 MB Notification: Performance of sorting global known variables: time 3.393e-05/0.4473, allocations: 83.66 kB / 466 MB, free: 108 kB / 330.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4474, allocations: 4 kB / 466 MB, free: 104 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.000209/0.4476, allocations: 4 kB / 466 MB, free: 100 kB / 330.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.0004465/0.448, allocations: 0.6203 MB / 466.6 MB, free: 15.45 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.279e-05/0.4481, allocations: 23.94 kB / 466.6 MB, free: 15.43 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.4481, allocations: 4 kB / 466.6 MB, free: 15.42 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.4481, allocations: 0 / 466.6 MB, free: 15.42 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.4484, allocations: 12.03 kB / 466.6 MB, free: 15.41 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003522/0.4487, allocations: 105.5 kB / 466.7 MB, free: 15.27 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002247/0.449, allocations: 0.6846 MB / 467.4 MB, free: 14.56 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.376e-05/0.449, allocations: 8.234 kB / 467.4 MB, free: 14.55 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.239e-05/0.4491, allocations: 11.44 kB / 467.4 MB, free: 14.54 MB / 346.7 MB Notification: Performance of SimCode: time 2.9e-07/0.4491, allocations: 4 kB / 467.4 MB, free: 14.54 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01808/0.4672, allocations: 0.8226 MB / 468.3 MB, free: 13.73 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001702/0.4674, allocations: 161.1 kB / 468.4 MB, free: 13.53 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.419/1.887, allocations: 4 kB / 468.4 MB, free: 13.53 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat does not exist to compare? outputFormat=mat