Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001048/0.001048, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.202/1.202, allocations: 227.2 MB / 245 MB, free: 7.617 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008061/0.000806, allocations: 101.9 kB / 297.3 MB, free: 6.191 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000199/0.000199, allocations: 8 kB / 358 MB, free: 9.445 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1839/0.1841, allocations: 51.48 MB / 409.5 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08273/0.2668, allocations: 76.87 MB / 486.4 MB, free: 13.75 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001729/0.267, allocations: 77.83 kB / 486.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001651/0.2687, allocations: 0.7578 MB / 487.2 MB, free: 12.92 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.2687, allocations: 0 / 487.2 MB, free: 12.92 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.2687, allocations: 0 / 487.2 MB, free: 12.92 MB / 362.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.0003076/0.2691, allocations: 337.1 kB / 487.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.2691, allocations: 12.03 kB / 487.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.624e-05/0.2691, allocations: 34.56 kB / 487.6 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.964e-05/0.2692, allocations: 0 / 487.6 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.2693, allocations: 185.7 kB / 487.8 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.2694, allocations: 8 kB / 487.8 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.227e-06/0.2694, allocations: 3.953 kB / 487.8 MB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002873/0.2697, allocations: 111.3 kB / 487.9 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.2697, allocations: 4 kB / 487.9 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.2697, allocations: 6.984 kB / 487.9 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-06/0.2697, allocations: 0 / 487.9 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.322e-05/0.2698, allocations: 19.98 kB / 487.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001259/0.2699, allocations: 157.7 kB / 488.1 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.2701, allocations: 50.64 kB / 488.1 MB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.2701, allocations: 12.02 kB / 488.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.2701, allocations: 34.52 kB / 488.2 MB, free: 11.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.2701, allocations: 0 / 488.2 MB, free: 11.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002259/0.2704, allocations: 73.61 kB / 488.2 MB, free: 11.72 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.2704, allocations: 55.41 kB / 488.3 MB, free: 11.65 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.076e-05/0.2705, allocations: 96.98 kB / 488.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.2705, allocations: 25.7 kB / 488.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.501e-05/0.2705, allocations: 88.14 kB / 488.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.368e-05/0.2706, allocations: 4 kB / 488.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.184e-06/0.2706, allocations: 0 / 488.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.2707, allocations: 314.8 kB / 488.8 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.661e-05/0.2707, allocations: 8 kB / 488.8 MB, free: 11.1 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.75e-05/0.2707, allocations: 27.44 kB / 488.8 MB, free: 11.06 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.036e-05/0.2708, allocations: 8 kB / 488.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2708, allocations: 0 / 488.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.48e-05/0.2709, allocations: 69.47 kB / 488.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.2709, allocations: 4 kB / 488.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.2709, allocations: 4.375 kB / 488.9 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.2709, allocations: 3.953 kB / 488.9 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.254e-05/0.271, allocations: 7.984 kB / 488.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.271, allocations: 7.938 kB / 488.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.913e-05/0.271, allocations: 8.125 kB / 489 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-06/0.271, allocations: 0 / 489 MB, free: 10.95 MB / 362.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: 5 (step.counter,$CLKPRE.step.counter,step.y,assignClock1.y,assignClock1.u) * 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 6.075e-05/0.2711, allocations: 113.8 kB / 489.1 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.2712, allocations: 61.61 kB / 489.1 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.022e-05/0.2712, allocations: 7.5 kB / 489.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.87e-06/0.2712, allocations: 7.953 kB / 489.1 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.2713, allocations: 0 / 489.1 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.2713, allocations: 3.938 kB / 489.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.026e-05/0.2713, allocations: 157.7 kB / 489.3 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2714, allocations: 4 kB / 489.3 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.266e-05/0.2714, allocations: 4 kB / 489.3 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2714, allocations: 0 / 489.3 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.2714, allocations: 0 / 489.3 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2714, allocations: 0 / 489.3 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.2714, allocations: 3.953 kB / 489.3 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.2716, allocations: 93.19 kB / 489.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.731e-05/0.2716, allocations: 77.11 kB / 489.5 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.2716, allocations: 7.984 kB / 489.5 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.953e-05/0.2717, allocations: 8.047 kB / 489.5 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-06/0.2717, allocations: 3.984 kB / 489.5 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.2717, allocations: 0 / 489.5 MB, free: 10.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.38e-05/0.2717, allocations: 83.23 kB / 489.6 MB, free: 10.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2717, allocations: 4 kB / 489.6 MB, free: 10.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001712/0.2719, allocations: 4 kB / 489.6 MB, free: 10.21 MB / 362.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: 4 (assignClock1.u,assignClock1.y,step.y,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.0004293/0.2723, allocations: 0.6398 MB / 490.2 MB, free: 9.539 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001065/0.2725, allocations: 31.92 kB / 490.3 MB, free: 9.508 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2725, allocations: 0 / 490.3 MB, free: 9.508 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.61e-07/0.2725, allocations: 0 / 490.3 MB, free: 9.508 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001645/0.2726, allocations: 27.92 kB / 490.3 MB, free: 9.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006025/0.2733, allocations: 0.8365 MB / 491.1 MB, free: 8.582 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001923/0.2735, allocations: 0.6887 MB / 491.8 MB, free: 7.867 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.348e-05/0.2735, allocations: 0 / 491.8 MB, free: 7.867 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.04e-05/0.2735, allocations: 11.44 kB / 491.8 MB, free: 7.855 MB / 362.7 MB Notification: Performance of SimCode: time 3e-07/0.2735, allocations: 0 / 491.8 MB, free: 7.855 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01096/0.2845, allocations: 1.078 MB / 492.9 MB, free: 6.957 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001994/0.2847, allocations: 196.2 kB / 493.1 MB, free: 6.719 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.391/1.676, allocations: 3.375 kB / 493.1 MB, free: 6.719 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat does not exist to compare? outputFormat=mat