Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_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.001025/0.001025, allocations: 198.4 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.229/1.229, allocations: 227.2 MB / 245 MB, free: 7.582 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008429/0.0008428, allocations: 101.9 kB / 297.3 MB, free: 6.199 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002073/0.0002074, allocations: 11.98 kB / 358 MB, free: 9.445 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.179, allocations: 51.48 MB / 409.5 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.082/0.261, allocations: 76.87 MB / 486.4 MB, free: 13.75 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002018/0.2613, allocations: 77.2 kB / 486.5 MB, free: 13.67 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001922/0.2632, allocations: 0.7798 MB / 487.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2632, allocations: 3.938 kB / 487.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.2633, allocations: 0.625 kB / 487.2 MB, free: 12.89 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.0003214/0.2636, allocations: 340.4 kB / 487.6 MB, free: 12.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.2636, allocations: 12.03 kB / 487.6 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.491e-05/0.2637, allocations: 34.55 kB / 487.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.646e-05/0.2637, allocations: 7.938 kB / 487.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.2639, allocations: 178.9 kB / 487.8 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.2639, allocations: 0 / 487.8 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.2639, allocations: 7.953 kB / 487.8 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003253/0.2643, allocations: 119.3 kB / 487.9 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.2643, allocations: 3.938 kB / 487.9 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.2643, allocations: 0 / 487.9 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.2643, allocations: 0 / 487.9 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.2644, allocations: 27.97 kB / 488 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001253/0.2646, allocations: 161.6 kB / 488.1 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.2647, allocations: 58.55 kB / 488.2 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.798e-06/0.2647, allocations: 4.031 kB / 488.2 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.2648, allocations: 38.5 kB / 488.2 MB, free: 11.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.2648, allocations: 0 / 488.2 MB, free: 11.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002562/0.265, allocations: 81.73 kB / 488.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.2651, allocations: 59.41 kB / 488.3 MB, free: 11.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.116e-05/0.2652, allocations: 100.9 kB / 488.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.2652, allocations: 29.7 kB / 488.5 MB, free: 11.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.354e-05/0.2652, allocations: 84.14 kB / 488.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.041e-05/0.2652, allocations: 4 kB / 488.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.184e-06/0.2652, allocations: 0 / 488.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.208e-05/0.2653, allocations: 310.8 kB / 488.9 MB, free: 11.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.496e-05/0.2653, allocations: 11.98 kB / 488.9 MB, free: 11.04 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.38e-05/0.2654, allocations: 23.69 kB / 488.9 MB, free: 11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.249e-05/0.2654, allocations: 16 kB / 488.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2654, allocations: 0 / 488.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.386e-05/0.2655, allocations: 61.56 kB / 489 MB, free: 10.92 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.2655, allocations: 8 kB / 489 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.2655, allocations: 0 / 489 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.2655, allocations: 4.078 kB / 489 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.386e-05/0.2656, allocations: 16.12 kB / 489 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.2656, allocations: 0 / 489 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.005e-05/0.2656, allocations: 7.938 kB / 489 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-06/0.2657, allocations: 3.984 kB / 489 MB, free: 10.88 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.571e-05/0.2657, allocations: 117.8 kB / 489.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/0.2659, allocations: 65.58 kB / 489.2 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.644e-05/0.2659, allocations: 7.906 kB / 489.2 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.2659, allocations: 7.953 kB / 489.2 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.2659, allocations: 3.938 kB / 489.2 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.2659, allocations: 4 kB / 489.2 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.101e-05/0.266, allocations: 157.7 kB / 489.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.266, allocations: 0 / 489.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.717e-05/0.2661, allocations: 8 kB / 489.4 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.2661, allocations: 0 / 489.4 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.2661, allocations: 3.984 kB / 489.4 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.2661, allocations: 3.984 kB / 489.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.2661, allocations: 3.953 kB / 489.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001642/0.2663, allocations: 97.05 kB / 489.5 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.472e-05/0.2663, allocations: 81.02 kB / 489.6 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.2664, allocations: 0 / 489.6 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.253e-05/0.2664, allocations: 11.98 kB / 489.6 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.945e-06/0.2664, allocations: 0 / 489.6 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.044e-06/0.2664, allocations: 4 kB / 489.6 MB, free: 10.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.446e-05/0.2665, allocations: 83.23 kB / 489.7 MB, free: 10.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2665, allocations: 0 / 489.7 MB, free: 10.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001815/0.2667, allocations: 8 kB / 489.7 MB, free: 10.11 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.0004948/0.2672, allocations: 0.6514 MB / 490.3 MB, free: 9.434 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001104/0.2673, allocations: 23.98 kB / 490.3 MB, free: 9.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2673, allocations: 0 / 490.3 MB, free: 9.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.01e-07/0.2673, allocations: 0 / 490.3 MB, free: 9.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/0.2675, allocations: 34.8 kB / 490.4 MB, free: 9.379 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006382/0.2682, allocations: 0.8444 MB / 491.2 MB, free: 8.469 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001937/0.2684, allocations: 0.685 MB / 491.9 MB, free: 7.758 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.902e-05/0.2684, allocations: 256 / 491.9 MB, free: 7.758 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.597e-05/0.2684, allocations: 15.42 kB / 491.9 MB, free: 7.742 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.2684, allocations: 3.938 kB / 491.9 MB, free: 7.738 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01083/0.2793, allocations: 1.13 MB / 493.1 MB, free: 6.785 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001809/0.2795, allocations: 205.3 kB / 493.3 MB, free: 6.539 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.385/1.665, allocations: 0 / 493.3 MB, free: 6.539 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat does not exist to compare? outputFormat=mat