Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.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.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001159/0.001159, allocations: 94.2 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00151/0.001509, allocations: 195.4 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.69/1.69, allocations: 227.4 MB / 246 MB, free: 11.98 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003079/0.000308, allocations: 8 kB / 306.8 MB, free: 1.457 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1519, allocations: 51.49 MB / 358.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.001875/0.1539, allocations: 1.192 MB / 359.5 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003023/0.1542, allocations: 99.69 kB / 359.6 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.614e-05/0.1543, allocations: 4 kB / 359.6 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.723e-05/0.1543, allocations: 7.875 kB / 359.6 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.25e-05/0.1544, allocations: 0 / 359.6 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000279/0.1546, allocations: 19.98 kB / 359.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.784e-05/0.1547, allocations: 27.86 kB / 359.7 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.61e-05/0.1548, allocations: 11.98 kB / 359.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.871e-05/0.1549, allocations: 4 kB / 359.7 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.48e-05/0.1549, allocations: 11.92 kB / 359.7 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.155, allocations: 0 / 359.7 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.678e-06/0.155, allocations: 0 / 359.7 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.117e-05/0.155, allocations: 11.92 kB / 359.7 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.174e-05/0.1551, allocations: 29.7 kB / 359.7 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.323e-05/0.1551, allocations: 19.97 kB / 359.7 MB, free: 12.52 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1552, allocations: 0 / 359.7 MB, free: 12.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.1552, allocations: 4 kB / 359.7 MB, free: 12.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.1552, allocations: 0 / 359.7 MB, free: 12.52 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.0004562/0.1556, allocations: 331.5 kB / 360.1 MB, free: 12.15 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.438e-05/0.1557, allocations: 12.03 kB / 360.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.496e-05/0.1558, allocations: 38.55 kB / 360.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.932e-05/0.1558, allocations: 7.906 kB / 360.1 MB, free: 12.08 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.156, allocations: 167.1 kB / 360.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.156, allocations: 7.938 kB / 360.3 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.1561, allocations: 11.95 kB / 360.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003295/0.1564, allocations: 107.3 kB / 360.4 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.1564, allocations: 0 / 360.4 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.1564, allocations: 3.984 kB / 360.4 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.1564, allocations: 4 kB / 360.4 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.257e-05/0.1565, allocations: 27.92 kB / 360.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001742/0.1567, allocations: 157.7 kB / 360.6 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002088/0.1569, allocations: 58.59 kB / 360.7 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.541e-05/0.157, allocations: 28.83 kB / 360.7 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.1571, allocations: 3.953 kB / 360.7 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.1571, allocations: 30.56 kB / 360.7 MB, free: 11.36 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1571, allocations: 0 / 360.7 MB, free: 11.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.000248/0.1573, allocations: 81.58 kB / 360.8 MB, free: 11.28 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.894e-05/0.1574, allocations: 59.39 kB / 360.9 MB, free: 11.21 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.405e-05/0.1575, allocations: 101.9 kB / 361 MB, free: 11.1 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.1575, allocations: 25.7 kB / 361 MB, free: 11.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.47e-05/0.1576, allocations: 84.12 kB / 361.1 MB, free: 10.98 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.264e-05/0.1576, allocations: 8 kB / 361.1 MB, free: 10.97 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-06/0.1576, allocations: 0 / 361.1 MB, free: 10.97 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.1578, allocations: 310.8 kB / 361.4 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.26e-05/0.1578, allocations: 11.94 kB / 361.4 MB, free: 10.65 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.093e-05/0.1578, allocations: 35.36 kB / 361.4 MB, free: 10.6 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.111e-05/0.1579, allocations: 4 kB / 361.4 MB, free: 10.6 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1579, allocations: 0 / 361.4 MB, free: 10.6 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.709e-05/0.158, allocations: 57.64 kB / 361.5 MB, free: 10.54 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.158, allocations: 11.94 kB / 361.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.158, allocations: 0 / 361.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.158, allocations: 4 kB / 361.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.897e-05/0.1581, allocations: 7.938 kB / 361.5 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.321e-06/0.1581, allocations: 0 / 361.5 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.23e-05/0.1581, allocations: 7.938 kB / 361.5 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.1582, allocations: 0 / 361.5 MB, free: 10.5 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001208/0.1583, allocations: 113.8 kB / 361.6 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.1584, allocations: 65.7 kB / 361.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.23e-05/0.1585, allocations: 16.11 kB / 361.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.1585, allocations: 0 / 361.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.1585, allocations: 4 kB / 361.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1585, allocations: 0 / 361.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001217/0.1586, allocations: 149.7 kB / 361.9 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1586, allocations: 7.922 kB / 361.9 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.57e-05/0.1587, allocations: 12 kB / 361.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1587, allocations: 7.938 kB / 361.9 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.1587, allocations: 0 / 361.9 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.656e-06/0.1587, allocations: 3.953 kB / 361.9 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1587, allocations: 0 / 361.9 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001367/0.1589, allocations: 89.42 kB / 362 MB, free: 9.953 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.67e-05/0.1589, allocations: 85.02 kB / 362.1 MB, free: 9.852 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.159, allocations: 4 kB / 362.1 MB, free: 9.848 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.491e-05/0.159, allocations: 4 kB / 362.1 MB, free: 9.844 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.831e-05/0.159, allocations: 7.938 kB / 362.1 MB, free: 9.836 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.606e-06/0.159, allocations: 0 / 362.1 MB, free: 9.836 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.46e-05/0.1591, allocations: 83.28 kB / 362.2 MB, free: 9.754 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1591, allocations: 0 / 362.2 MB, free: 9.754 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001865/0.1593, allocations: 4 kB / 362.2 MB, free: 9.75 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: 0 () * Number of discrete states: 0 () * Number of clocked 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.0005769/0.1599, allocations: 0.6202 MB / 362.8 MB, free: 9.098 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001227/0.16, allocations: 27.92 kB / 362.8 MB, free: 9.07 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.16, allocations: 0 / 362.8 MB, free: 9.07 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.16, allocations: 256 / 362.8 MB, free: 9.07 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.1603, allocations: 35.91 kB / 362.8 MB, free: 9.035 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007542/0.161, allocations: 385 kB / 363.2 MB, free: 8.602 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004099/0.1615, allocations: 0.6809 MB / 363.9 MB, free: 7.895 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.019e-05/0.1615, allocations: 7.984 kB / 363.9 MB, free: 7.887 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.765e-05/0.1616, allocations: 11.44 kB / 363.9 MB, free: 7.875 MB / 302.1 MB Notification: Performance of SimCode: time 2.244e-06/0.1616, allocations: 0 / 363.9 MB, free: 7.875 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01404/0.1756, allocations: 1.03 MB / 365 MB, free: 7 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002467/0.1759, allocations: 210.5 kB / 365.2 MB, free: 6.75 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.973/2.149, allocations: 0 / 365.2 MB, free: 6.75 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat does not exist to compare? outputFormat=mat