Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.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.TimeBasedPulse,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001101/0.001101, allocations: 198.7 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.215/1.215, allocations: 227.2 MB / 245 MB, free: 5.895 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008222/0.0008222, allocations: 92.36 kB / 297.2 MB, free: 5.961 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002082/0.0002082, allocations: 12 kB / 358 MB, free: 9.215 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1845, allocations: 51.48 MB / 409.5 MB, free: 26.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08405/0.2686, allocations: 77.63 MB / 487.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001866/0.2688, allocations: 79.95 kB / 487.2 MB, free: 12.87 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003828/0.2727, allocations: 1.379 MB / 488.6 MB, free: 11.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2727, allocations: 3.938 kB / 488.6 MB, free: 11.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.2727, allocations: 0 / 488.6 MB, free: 11.5 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004452/0.2732, allocations: 379.2 kB / 489 MB, free: 11.08 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.2732, allocations: 8.031 kB / 489 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.819e-05/0.2733, allocations: 38.56 kB / 489 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.431e-05/0.2733, allocations: 3.906 kB / 489 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.2735, allocations: 171.1 kB / 489.2 MB, free: 10.81 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.2735, allocations: 4 kB / 489.2 MB, free: 10.81 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.2735, allocations: 7.953 kB / 489.2 MB, free: 10.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003226/0.2738, allocations: 147.2 kB / 489.3 MB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.2738, allocations: 3.938 kB / 489.3 MB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.2739, allocations: 4 kB / 489.3 MB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.2739, allocations: 0 / 489.3 MB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.652e-05/0.274, allocations: 31.97 kB / 489.4 MB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001606/0.2741, allocations: 169.7 kB / 489.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.2743, allocations: 135.7 kB / 489.7 MB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.2744, allocations: 0 / 489.7 MB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.2744, allocations: 38.52 kB / 489.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 3.056e-06/0.2744, allocations: 0 / 489.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002496/0.2747, allocations: 101.6 kB / 489.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.2747, allocations: 51.41 kB / 489.9 MB, free: 10.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.594e-05/0.2748, allocations: 105 kB / 490 MB, free: 9.906 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.2748, allocations: 25.7 kB / 490 MB, free: 9.875 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.428e-05/0.2749, allocations: 88.14 kB / 490.1 MB, free: 9.785 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.247e-05/0.2749, allocations: 3.938 kB / 490.1 MB, free: 9.781 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-06/0.2749, allocations: 0 / 490.1 MB, free: 9.781 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.984e-05/0.275, allocations: 322.8 kB / 490.4 MB, free: 9.457 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.448e-05/0.275, allocations: 8 kB / 490.4 MB, free: 9.449 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.562e-05/0.275, allocations: 41.09 kB / 490.4 MB, free: 9.391 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.925e-05/0.2751, allocations: 19.98 kB / 490.5 MB, free: 9.371 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2751, allocations: 0 / 490.5 MB, free: 9.371 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000105/0.2752, allocations: 77.47 kB / 490.5 MB, free: 9.289 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.2752, allocations: 4 kB / 490.5 MB, free: 9.285 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.2752, allocations: 0 / 490.5 MB, free: 9.285 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.2752, allocations: 7.953 kB / 490.6 MB, free: 9.277 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.68e-05/0.2753, allocations: 8 kB / 490.6 MB, free: 9.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.2753, allocations: 3.938 kB / 490.6 MB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.491e-05/0.2753, allocations: 12.19 kB / 490.6 MB, free: 9.254 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.2754, allocations: 0 / 490.6 MB, free: 9.254 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,pulse.y) * Number of discrete states: 0 () * Number of clocked states: 1 (pulse.next) * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.954e-05/0.2754, allocations: 117.8 kB / 490.7 MB, free: 9.129 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.2756, allocations: 69.59 kB / 490.8 MB, free: 9.055 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.379e-05/0.2756, allocations: 8.375 kB / 490.8 MB, free: 9.047 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.2756, allocations: 7.938 kB / 490.8 MB, free: 9.039 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.2756, allocations: 0 / 490.8 MB, free: 9.039 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2756, allocations: 3.984 kB / 490.8 MB, free: 9.035 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.246e-05/0.2757, allocations: 169.7 kB / 490.9 MB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2757, allocations: 0 / 490.9 MB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.921e-05/0.2758, allocations: 11.88 kB / 491 MB, free: 8.809 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.2758, allocations: 0 / 491 MB, free: 8.809 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.2758, allocations: 3.984 kB / 491 MB, free: 8.805 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.2758, allocations: 4.312 kB / 491 MB, free: 8.801 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.2758, allocations: 3.953 kB / 491 MB, free: 8.797 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/0.276, allocations: 101.1 kB / 491.1 MB, free: 8.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.767e-05/0.276, allocations: 81.02 kB / 491.1 MB, free: 8.582 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.2761, allocations: 7.938 kB / 491.2 MB, free: 8.574 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.29e-05/0.2761, allocations: 15.98 kB / 491.2 MB, free: 8.559 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-06/0.2762, allocations: 0 / 491.2 MB, free: 8.559 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.2762, allocations: 0 / 491.2 MB, free: 8.559 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.2e-05/0.2762, allocations: 99.67 kB / 491.3 MB, free: 8.461 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2762, allocations: 0 / 491.3 MB, free: 8.461 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001938/0.2764, allocations: 8 kB / 491.3 MB, free: 8.453 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: 3 (pulse.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 1 (pulse.next) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0004539/0.2769, allocations: 0.6623 MB / 491.9 MB, free: 7.762 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001135/0.277, allocations: 44.3 kB / 492 MB, free: 7.719 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.277, allocations: 0 / 492 MB, free: 7.719 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.61e-07/0.277, allocations: 4 kB / 492 MB, free: 7.715 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.2773, allocations: 39.95 kB / 492 MB, free: 7.676 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007864/0.2781, allocations: 1.188 MB / 493.2 MB, free: 6.422 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001989/0.2783, allocations: 0.6918 MB / 493.9 MB, free: 5.707 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.651e-05/0.2783, allocations: 4.188 kB / 493.9 MB, free: 5.699 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.893e-05/0.2784, allocations: 11.44 kB / 493.9 MB, free: 5.688 MB / 362.7 MB Notification: Performance of SimCode: time 4e-07/0.2784, allocations: 3.938 kB / 493.9 MB, free: 5.684 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01119/0.2896, allocations: 1.408 MB / 495.3 MB, free: 4.453 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001556/0.2897, allocations: 207.3 kB / 495.5 MB, free: 4.203 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.418/1.708, allocations: 8.062 kB / 495.5 MB, free: 4.195 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat does not exist to compare? outputFormat=mat