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/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.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/Complex trunk/package.mo): time 0.001334/0.001334, allocations: 196.9 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.44/1.44, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000888/0.000888, allocations: 87.47 kB / 292.1 MB, free: 5.945 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.443e-05/3.445e-05, allocations: 4 kB / 350.6 MB, free: 2.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1122, allocations: 51.48 MB / 402.1 MB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3576/0.4699, allocations: 76.84 MB / 479 MB, free: 12.52 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/0.4702, allocations: 73.03 kB / 479 MB, free: 12.48 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001678/0.4719, allocations: 0.6758 MB / 479.7 MB, free: 11.86 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4719, allocations: 5.062 kB / 479.7 MB, free: 11.86 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.77e-05/0.4719, allocations: 0 / 479.7 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.0003457/0.4723, allocations: 331.5 kB / 480 MB, free: 11.5 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.181e-05/0.4724, allocations: 12.75 kB / 480.1 MB, free: 11.49 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.495e-05/0.4725, allocations: 35.44 kB / 480.1 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.303e-05/0.4725, allocations: 3.781 kB / 480.1 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001915/0.4727, allocations: 169.5 kB / 480.3 MB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.318e-05/0.4728, allocations: 8.734 kB / 480.3 MB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.4728, allocations: 0.7969 kB / 480.3 MB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002837/0.4731, allocations: 99.38 kB / 480.4 MB, free: 11.16 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.4731, allocations: 0 / 480.4 MB, free: 11.16 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.4731, allocations: 0 / 480.4 MB, free: 11.16 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.4731, allocations: 0 / 480.4 MB, free: 11.16 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.317e-05/0.4732, allocations: 16.41 kB / 480.4 MB, free: 11.14 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001668/0.4734, allocations: 154.2 kB / 480.5 MB, free: 10.95 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.4735, allocations: 43 kB / 480.6 MB, free: 10.91 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.989e-05/0.4735, allocations: 20.89 kB / 480.6 MB, free: 10.89 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.4736, allocations: 0 / 480.6 MB, free: 10.89 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.4736, allocations: 38.52 kB / 480.6 MB, free: 10.84 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.4736, allocations: 0 / 480.6 MB, free: 10.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.000146/0.4738, allocations: 53.98 kB / 480.7 MB, free: 10.79 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.4738, allocations: 55.39 kB / 480.7 MB, free: 10.73 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.994e-05/0.4739, allocations: 97.69 kB / 480.8 MB, free: 10.63 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.995e-06/0.4739, allocations: 29.7 kB / 480.9 MB, free: 10.59 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.512e-05/0.4739, allocations: 80.14 kB / 480.9 MB, free: 10.51 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.844e-06/0.4739, allocations: 3.875 kB / 480.9 MB, free: 10.51 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-06/0.4739, allocations: 0.5625 kB / 480.9 MB, free: 10.51 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.998e-05/0.474, allocations: 318.8 kB / 481.3 MB, free: 10.19 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.608e-06/0.474, allocations: 0 / 481.3 MB, free: 10.19 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.225e-05/0.4741, allocations: 26.94 kB / 481.3 MB, free: 10.16 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.992e-05/0.4741, allocations: 15.94 kB / 481.3 MB, free: 10.14 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4741, allocations: 0 / 481.3 MB, free: 10.14 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.102e-05/0.4742, allocations: 57.84 kB / 481.4 MB, free: 10.09 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.4742, allocations: 5.719 kB / 481.4 MB, free: 10.08 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.4742, allocations: 3.953 kB / 481.4 MB, free: 10.08 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.4742, allocations: 11.19 kB / 481.4 MB, free: 10.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.33e-05/0.4743, allocations: 0 / 481.4 MB, free: 10.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.4743, allocations: 4.5 kB / 481.4 MB, free: 10.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.107e-05/0.4743, allocations: 0 / 481.4 MB, free: 10.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/0.4743, allocations: 0 / 481.4 MB, free: 10.07 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: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete 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 6.191e-05/0.4744, allocations: 113.4 kB / 481.5 MB, free: 9.949 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.165e-05/0.4745, allocations: 50.14 kB / 481.5 MB, free: 9.902 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.749e-05/0.4745, allocations: 6.562 kB / 481.5 MB, free: 9.898 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.4745, allocations: 7.953 kB / 481.6 MB, free: 9.891 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.4745, allocations: 7.984 kB / 481.6 MB, free: 9.883 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.4745, allocations: 0.6875 kB / 481.6 MB, free: 9.883 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.303e-05/0.4746, allocations: 157.1 kB / 481.7 MB, free: 9.684 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.4746, allocations: 0 / 481.7 MB, free: 9.684 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.996e-05/0.4747, allocations: 0 / 481.7 MB, free: 9.684 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.4747, allocations: 0 / 481.7 MB, free: 9.684 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.4747, allocations: 0.5 kB / 481.7 MB, free: 9.684 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.4747, allocations: 6.531 kB / 481.7 MB, free: 9.68 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.4747, allocations: 3.953 kB / 481.7 MB, free: 9.676 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.68e-05/0.4748, allocations: 82.3 kB / 481.8 MB, free: 9.586 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.337e-05/0.4748, allocations: 81.09 kB / 481.9 MB, free: 9.488 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.4748, allocations: 0 / 481.9 MB, free: 9.488 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.642e-05/0.4749, allocations: 0 / 481.9 MB, free: 9.488 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.761e-06/0.4749, allocations: 5.172 kB / 481.9 MB, free: 9.484 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.4749, allocations: 3.953 kB / 481.9 MB, free: 9.48 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.111e-05/0.4749, allocations: 83.09 kB / 482 MB, free: 9.402 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4749, allocations: 0 / 482 MB, free: 9.402 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001873/0.4751, allocations: 4 kB / 482 MB, free: 9.398 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: 3 (step.y,assignClock1.u,assignClock1.y) * 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.0002443/0.4754, allocations: 0.6149 MB / 482.6 MB, free: 8.766 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.759e-05/0.4755, allocations: 23.25 kB / 482.6 MB, free: 8.75 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4755, allocations: 0 / 482.6 MB, free: 8.75 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.4755, allocations: 0 / 482.6 MB, free: 8.75 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000154/0.4756, allocations: 19.31 kB / 482.6 MB, free: 8.734 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000278/0.4759, allocations: 96.31 kB / 482.7 MB, free: 8.613 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001215/0.4761, allocations: 0.6841 MB / 483.4 MB, free: 7.906 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.422e-05/0.4761, allocations: 3.984 kB / 483.4 MB, free: 7.902 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.389e-05/0.4761, allocations: 11.44 kB / 483.4 MB, free: 7.891 MB / 346.7 MB Notification: Performance of SimCode: time 8.62e-07/0.4761, allocations: 0 / 483.4 MB, free: 7.891 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01344/0.4896, allocations: 1.004 MB / 484.4 MB, free: 7.113 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001657/0.4898, allocations: 165.3 kB / 484.6 MB, free: 6.895 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.443/1.933, allocations: 3.25 kB / 484.6 MB, free: 6.895 MB / 346.7 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