Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_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.001041/0.001041, allocations: 197.6 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.19/1.19, allocations: 227.2 MB / 245 MB, free: 7.633 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001085/0.001085, allocations: 104 kB / 297.3 MB, free: 6.203 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001949/0.0001949, allocations: 4 kB / 358 MB, free: 9.457 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1821/0.1823, allocations: 51.48 MB / 409.5 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08177/0.2641, allocations: 76.91 MB / 486.4 MB, free: 13.71 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002049/0.2644, allocations: 76.64 kB / 486.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00148/0.2658, allocations: 0.7074 MB / 487.2 MB, free: 12.94 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2659, allocations: 0 / 487.2 MB, free: 12.94 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.2659, allocations: 3.25 kB / 487.2 MB, free: 12.94 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.0002869/0.2662, allocations: 341.1 kB / 487.5 MB, free: 12.56 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.2662, allocations: 8.031 kB / 487.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.769e-05/0.2663, allocations: 38.55 kB / 487.6 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.059e-05/0.2663, allocations: 4 kB / 487.6 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.2664, allocations: 178.9 kB / 487.8 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.253e-06/0.2665, allocations: 0.8438 kB / 487.8 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/0.2665, allocations: 11.95 kB / 487.8 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002724/0.2668, allocations: 108.5 kB / 487.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.2668, allocations: 0 / 487.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.293e-06/0.2668, allocations: 0 / 487.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.2668, allocations: 0 / 487.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.583e-05/0.2669, allocations: 27.97 kB / 487.9 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001368/0.267, allocations: 161.7 kB / 488.1 MB, free: 11.92 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.2672, allocations: 62.44 kB / 488.1 MB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.2672, allocations: 4.125 kB / 488.1 MB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.2672, allocations: 34.52 kB / 488.2 MB, free: 11.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.2672, allocations: 4 kB / 488.2 MB, free: 11.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002/0.2674, allocations: 73.7 kB / 488.2 MB, free: 11.72 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.2675, allocations: 55.34 kB / 488.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.059e-05/0.2676, allocations: 104.9 kB / 488.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.2676, allocations: 25.7 kB / 488.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.874e-05/0.2676, allocations: 84.14 kB / 488.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.017e-06/0.2676, allocations: 4 kB / 488.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.864e-06/0.2676, allocations: 0 / 488.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.2677, allocations: 318.8 kB / 488.8 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.844e-06/0.2678, allocations: 0 / 488.8 MB, free: 11.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.826e-05/0.2678, allocations: 31.42 kB / 488.8 MB, free: 11.06 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.901e-05/0.2678, allocations: 11.94 kB / 488.9 MB, free: 11.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2678, allocations: 0 / 488.9 MB, free: 11.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.239e-05/0.2679, allocations: 57.56 kB / 488.9 MB, free: 10.99 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.2679, allocations: 10.5 kB / 488.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.2679, allocations: 3.953 kB / 488.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.2679, allocations: 0 / 488.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.634e-05/0.268, allocations: 8 kB / 488.9 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.268, allocations: 0 / 488.9 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.015e-05/0.268, allocations: 4.375 kB / 488.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.567e-06/0.268, allocations: 4 kB / 488.9 MB, free: 10.96 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: 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 7.495e-05/0.2681, allocations: 121.8 kB / 489.1 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.2682, allocations: 69.52 kB / 489.1 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.62e-05/0.2683, allocations: 3.906 kB / 489.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.2683, allocations: 7.953 kB / 489.1 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.2683, allocations: 0 / 489.1 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.2683, allocations: 0 / 489.1 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.64e-05/0.2684, allocations: 161.7 kB / 489.3 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2684, allocations: 0 / 489.3 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.109e-05/0.2684, allocations: 8 kB / 489.3 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.2685, allocations: 0 / 489.3 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.099e-06/0.2685, allocations: 0 / 489.3 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2685, allocations: 0 / 489.3 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.2685, allocations: 3.953 kB / 489.3 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.2686, allocations: 89.11 kB / 489.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.852e-05/0.2687, allocations: 81.11 kB / 489.5 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.2687, allocations: 384 / 489.5 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.853e-05/0.2687, allocations: 11.92 kB / 489.5 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-06/0.2687, allocations: 7.938 kB / 489.5 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.167e-06/0.2687, allocations: 7.891 kB / 489.5 MB, free: 10.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.317e-05/0.2688, allocations: 79.28 kB / 489.6 MB, free: 10.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2688, allocations: 0 / 489.6 MB, free: 10.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001673/0.2689, allocations: 12 kB / 489.6 MB, free: 10.2 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 (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.000352/0.2693, allocations: 0.6228 MB / 490.2 MB, free: 9.551 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.142e-05/0.2694, allocations: 31.92 kB / 490.2 MB, free: 9.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.2694, allocations: 0 / 490.2 MB, free: 9.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.6e-07/0.2694, allocations: 0 / 490.2 MB, free: 9.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001577/0.2696, allocations: 30.08 kB / 490.3 MB, free: 9.492 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006089/0.2702, allocations: 0.8211 MB / 491.1 MB, free: 8.609 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002077/0.2704, allocations: 0.6809 MB / 491.8 MB, free: 7.902 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.195e-05/0.2704, allocations: 8 kB / 491.8 MB, free: 7.895 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.676e-05/0.2705, allocations: 7.438 kB / 491.8 MB, free: 7.887 MB / 362.7 MB Notification: Performance of SimCode: time 3.01e-07/0.2705, allocations: 0 / 491.8 MB, free: 7.887 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01021/0.2807, allocations: 1.017 MB / 492.8 MB, free: 7.039 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001869/0.2809, allocations: 197.5 kB / 493 MB, free: 6.801 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.352/1.633, allocations: 7.125 kB / 493 MB, free: 6.797 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat does not exist to compare? outputFormat=mat