Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_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.000965/0.0009649, allocations: 94.14 kB / 17 MB, free: 6.121 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001016/0.001016, allocations: 197.1 kB / 17.91 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.544/1.544, allocations: 227.4 MB / 246 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003537/0.0003538, allocations: 7.984 kB / 306.8 MB, free: 1.492 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1542, allocations: 51.5 MB / 358.3 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.001685/0.1559, allocations: 1.141 MB / 359.5 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002578/0.1562, allocations: 111.6 kB / 359.6 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.786e-05/0.1562, allocations: 0 / 359.6 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.691e-05/0.1563, allocations: 7.938 kB / 359.6 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.301e-05/0.1563, allocations: 0 / 359.6 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002495/0.1566, allocations: 15.98 kB / 359.6 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.77e-05/0.1566, allocations: 19.94 kB / 359.6 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.568e-05/0.1567, allocations: 15.95 kB / 359.6 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.058e-05/0.1568, allocations: 7.938 kB / 359.6 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.562e-05/0.1568, allocations: 15.92 kB / 359.6 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.1568, allocations: 0 / 359.6 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.568e-06/0.1569, allocations: 0 / 359.6 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.305e-05/0.1569, allocations: 4 kB / 359.6 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.932e-05/0.1569, allocations: 29.7 kB / 359.7 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 5.845e-05/0.157, allocations: 15.97 kB / 359.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.157, allocations: 0 / 359.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.157, allocations: 0 / 359.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.157, allocations: 4 kB / 359.7 MB, free: 12.6 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.0003873/0.1574, allocations: 331.5 kB / 360 MB, free: 12.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.1575, allocations: 8.031 kB / 360 MB, free: 12.22 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.837e-05/0.1575, allocations: 34.56 kB / 360.1 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.25e-05/0.1576, allocations: 7.984 kB / 360.1 MB, free: 12.17 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.1577, allocations: 179 kB / 360.2 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.1578, allocations: 0 / 360.2 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.1578, allocations: 11.94 kB / 360.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002731/0.1581, allocations: 99.31 kB / 360.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.1581, allocations: 0 / 360.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.1581, allocations: 8 kB / 360.4 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1581, allocations: 0 / 360.4 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.648e-05/0.1582, allocations: 11.98 kB / 360.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001679/0.1584, allocations: 157.6 kB / 360.5 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.1585, allocations: 50.55 kB / 360.6 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.112e-05/0.1586, allocations: 24.89 kB / 360.6 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.1586, allocations: 3.953 kB / 360.6 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.1586, allocations: 42.53 kB / 360.6 MB, free: 11.47 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.1586, allocations: 4 kB / 360.6 MB, free: 11.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001906/0.1588, allocations: 61.62 kB / 360.7 MB, free: 11.4 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.1589, allocations: 55.41 kB / 360.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.706e-05/0.159, allocations: 109.8 kB / 360.9 MB, free: 11.22 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.159, allocations: 25.7 kB / 360.9 MB, free: 11.19 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.649e-05/0.1591, allocations: 88.08 kB / 361 MB, free: 11.1 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.584e-06/0.1591, allocations: 4 kB / 361 MB, free: 11.09 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.114e-06/0.1591, allocations: 0 / 361 MB, free: 11.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.1592, allocations: 314.8 kB / 361.3 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.979e-06/0.1592, allocations: 4 kB / 361.3 MB, free: 10.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.769e-05/0.1593, allocations: 31.44 kB / 361.3 MB, free: 10.73 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.946e-05/0.1593, allocations: 4 kB / 361.3 MB, free: 10.73 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1593, allocations: 0 / 361.3 MB, free: 10.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.335e-05/0.1594, allocations: 61.81 kB / 361.4 MB, free: 10.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.1594, allocations: 7.953 kB / 361.4 MB, free: 10.65 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.1594, allocations: 4.125 kB / 361.4 MB, free: 10.65 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.1595, allocations: 4 kB / 361.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.789e-05/0.1595, allocations: 8 kB / 361.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.1595, allocations: 0 / 361.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.044e-05/0.1596, allocations: 3.938 kB / 361.4 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-06/0.1596, allocations: 8.266 kB / 361.4 MB, free: 10.62 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: 3 (assignClock1.y,assignClock1.u,step.y) * 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 8.284e-05/0.1597, allocations: 105.8 kB / 361.5 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.1598, allocations: 65.61 kB / 361.6 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.565e-05/0.1598, allocations: 11.45 kB / 361.6 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1598, allocations: 0 / 361.6 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.1598, allocations: 0 / 361.6 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.1598, allocations: 0 / 361.6 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/0.16, allocations: 157.6 kB / 361.8 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.16, allocations: 3.984 kB / 361.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.011e-05/0.16, allocations: 4 kB / 361.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.16, allocations: 0 / 361.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.16, allocations: 0 / 361.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.1601, allocations: 3.953 kB / 361.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1601, allocations: 0 / 361.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001487/0.1602, allocations: 89 kB / 361.9 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.576e-05/0.1603, allocations: 81.11 kB / 361.9 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.1603, allocations: 7.984 kB / 361.9 MB, free: 9.996 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.926e-05/0.1604, allocations: 0 / 361.9 MB, free: 9.996 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.164e-06/0.1604, allocations: 3.953 kB / 361.9 MB, free: 9.992 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-06/0.1604, allocations: 0 / 361.9 MB, free: 9.992 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.739e-05/0.1605, allocations: 79.28 kB / 362 MB, free: 9.914 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1605, allocations: 4 kB / 362 MB, free: 9.91 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001937/0.1607, allocations: 8 kB / 362 MB, free: 9.902 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: 3 (step.y,assignClock1.u,assignClock1.y) * 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.0006217/0.1613, allocations: 0.6124 MB / 362.7 MB, free: 9.262 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001306/0.1614, allocations: 31.92 kB / 362.7 MB, free: 9.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1614, allocations: 3.938 kB / 362.7 MB, free: 9.227 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-07/0.1615, allocations: 0 / 362.7 MB, free: 9.227 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.1617, allocations: 30.64 kB / 362.7 MB, free: 9.199 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006465/0.1624, allocations: 373.4 kB / 363.1 MB, free: 8.77 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.1627, allocations: 0.6809 MB / 363.8 MB, free: 8.062 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.859e-05/0.1627, allocations: 7.984 kB / 363.8 MB, free: 8.055 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.022e-05/0.1628, allocations: 11.44 kB / 363.8 MB, free: 8.043 MB / 302.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1628, allocations: 0 / 363.8 MB, free: 8.043 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01137/0.1741, allocations: 1.019 MB / 364.8 MB, free: 7.203 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001841/0.1744, allocations: 210.5 kB / 365 MB, free: 6.953 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.97/2.144, allocations: 0 / 365 MB, free: 6.953 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat does not exist to compare? outputFormat=mat