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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0009926/0.0009927, allocations: 100.8 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009882/0.0009884, allocations: 191.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.519/1.519, allocations: 227.4 MB / 246 MB, free: 10.25 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002599/0.00026, allocations: 11.98 kB / 306.8 MB, free: 1.234 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1441, allocations: 51.49 MB / 358.3 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.001899/0.146, allocations: 1.176 MB / 359.5 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002095/0.1462, allocations: 39.83 kB / 359.5 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.656e-05/0.1463, allocations: 0 / 359.5 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.404e-05/0.1463, allocations: 0 / 359.5 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.124e-05/0.1464, allocations: 3.938 kB / 359.5 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002474/0.1466, allocations: 23.97 kB / 359.5 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.23e-05/0.1467, allocations: 27.92 kB / 359.6 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.803e-05/0.1468, allocations: 4 kB / 359.6 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.161e-05/0.1469, allocations: 15.98 kB / 359.6 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.1e-05/0.1469, allocations: 7.938 kB / 359.6 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.147, allocations: 7.875 kB / 359.6 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.074e-05/0.147, allocations: 0 / 359.6 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.613e-05/0.147, allocations: 3.938 kB / 359.6 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.877e-05/0.147, allocations: 37.69 kB / 359.7 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.285e-05/0.1471, allocations: 15.95 kB / 359.7 MB, free: 12.37 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.1471, allocations: 0 / 359.7 MB, free: 12.37 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.1471, allocations: 0 / 359.7 MB, free: 12.37 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.1472, allocations: 0 / 359.7 MB, free: 12.37 MB / 302.1 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.0004313/0.1476, allocations: 347.5 kB / 360 MB, free: 11.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.1476, allocations: 8.031 kB / 360 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.059e-05/0.1477, allocations: 34.56 kB / 360 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.097e-05/0.1477, allocations: 7.906 kB / 360.1 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001886/0.1479, allocations: 171 kB / 360.2 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.1479, allocations: 4 kB / 360.2 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.148, allocations: 7.953 kB / 360.2 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003422/0.1483, allocations: 127.3 kB / 360.4 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.1483, allocations: 0 / 360.4 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.1483, allocations: 0 / 360.4 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.1484, allocations: 4 kB / 360.4 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.1485, allocations: 27.97 kB / 360.4 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000154/0.1486, allocations: 153.7 kB / 360.5 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/0.1488, allocations: 58.48 kB / 360.6 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.708e-05/0.1489, allocations: 28.91 kB / 360.6 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.1489, allocations: 4 kB / 360.6 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.1489, allocations: 38.52 kB / 360.7 MB, free: 11.19 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 2.394e-06/0.1489, allocations: 0 / 360.7 MB, free: 11.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002605/0.1492, allocations: 85.5 kB / 360.8 MB, free: 11.1 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/0.1493, allocations: 59.33 kB / 360.8 MB, free: 11.03 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.109e-05/0.1494, allocations: 105.9 kB / 360.9 MB, free: 10.92 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.1495, allocations: 29.7 kB / 360.9 MB, free: 10.88 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.653e-05/0.1495, allocations: 92.12 kB / 361 MB, free: 10.79 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.203e-05/0.1495, allocations: 0 / 361 MB, free: 10.79 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-06/0.1495, allocations: 0 / 361 MB, free: 10.79 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.1497, allocations: 314.8 kB / 361.3 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.24e-05/0.1497, allocations: 4 kB / 361.3 MB, free: 10.47 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.376e-05/0.1498, allocations: 31.42 kB / 361.4 MB, free: 10.43 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.883e-05/0.1498, allocations: 16 kB / 361.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1498, allocations: 0 / 361.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.992e-05/0.1499, allocations: 57.56 kB / 361.4 MB, free: 10.35 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.1499, allocations: 11.95 kB / 361.5 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.1499, allocations: 0 / 361.5 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.15, allocations: 0 / 361.5 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.623e-05/0.15, allocations: 11.94 kB / 361.5 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.15, allocations: 128 / 361.5 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.116e-05/0.1501, allocations: 15.91 kB / 361.5 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.1501, allocations: 0 / 361.5 MB, free: 10.31 MB / 302.1 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 () * Number of clocked states: 1 (step.counter) * 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.874e-05/0.1502, allocations: 109.8 kB / 361.6 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.1503, allocations: 73.59 kB / 361.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.684e-05/0.1503, allocations: 7.859 kB / 361.7 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.1503, allocations: 0 / 361.7 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1504, allocations: 4 kB / 361.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-06/0.1504, allocations: 0 / 361.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.963e-05/0.1505, allocations: 157.7 kB / 361.8 MB, free: 9.891 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1505, allocations: 4 kB / 361.8 MB, free: 9.887 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.567e-05/0.1505, allocations: 12 kB / 361.8 MB, free: 9.875 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.1505, allocations: 0 / 361.8 MB, free: 9.875 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.1506, allocations: 3.938 kB / 361.8 MB, free: 9.871 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.1506, allocations: 3.953 kB / 361.9 MB, free: 9.867 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1506, allocations: 0 / 361.9 MB, free: 9.867 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000174/0.1508, allocations: 97.03 kB / 361.9 MB, free: 9.754 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.381e-05/0.1508, allocations: 84.95 kB / 362 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.1508, allocations: 4 kB / 362 MB, free: 9.648 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.018e-05/0.1509, allocations: 4 kB / 362 MB, free: 9.645 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.498e-06/0.1509, allocations: 7.938 kB / 362 MB, free: 9.637 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.1509, allocations: 4.375 kB / 362.1 MB, free: 9.633 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.363e-05/0.151, allocations: 87.28 kB / 362.1 MB, free: 9.547 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.151, allocations: 0 / 362.1 MB, free: 9.547 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000186/0.1511, allocations: 4 kB / 362.1 MB, free: 9.543 MB / 302.1 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 () * Number of clocked states: 1 (step.counter) * 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.0005909/0.1517, allocations: 0.644 MB / 362.8 MB, free: 8.867 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001332/0.1519, allocations: 31.97 kB / 362.8 MB, free: 8.836 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1519, allocations: 0 / 362.8 MB, free: 8.836 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.21e-07/0.1519, allocations: 0 / 362.8 MB, free: 8.836 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.1522, allocations: 34.66 kB / 362.8 MB, free: 8.805 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006305/0.1529, allocations: 413.3 kB / 363.3 MB, free: 8.344 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000388/0.1533, allocations: 0.6846 MB / 363.9 MB, free: 7.637 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.22e-05/0.1533, allocations: 7.984 kB / 363.9 MB, free: 7.629 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.655e-05/0.1533, allocations: 11.44 kB / 364 MB, free: 7.617 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1533, allocations: 0 / 364 MB, free: 7.617 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01322/0.1666, allocations: 1.138 MB / 365.1 MB, free: 6.633 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/0.1668, allocations: 203 kB / 365.3 MB, free: 6.387 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.002/2.168, allocations: 0 / 365.3 MB, free: 6.387 MB / 302.1 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