Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.ClockSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001003/0.001003, allocations: 198.9 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.151/1.151, allocations: 227.2 MB / 245 MB, free: 5.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008518/0.0008518, allocations: 97.78 kB / 297.2 MB, free: 5.988 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000223/0.0002231, allocations: 4 kB / 358 MB, free: 9.25 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1742, allocations: 51.49 MB / 409.5 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08169/0.256, allocations: 77.88 MB / 487.4 MB, free: 12.71 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002047/0.2562, allocations: 84.7 kB / 487.5 MB, free: 12.63 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005781/0.262, allocations: 2.217 MB / 489.7 MB, free: 10.42 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2621, allocations: 0 / 489.7 MB, free: 10.42 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.2621, allocations: 2.25 kB / 489.7 MB, free: 10.42 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003443/0.2624, allocations: 383 kB / 490.1 MB, free: 10 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.2625, allocations: 8.031 kB / 490.1 MB, free: 9.992 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.009e-05/0.2625, allocations: 38.5 kB / 490.1 MB, free: 9.945 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.2626, allocations: 23.89 kB / 490.1 MB, free: 9.922 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.2628, allocations: 193 kB / 490.3 MB, free: 9.695 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.757e-06/0.2628, allocations: 3.953 kB / 490.3 MB, free: 9.691 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.2628, allocations: 4 kB / 490.3 MB, free: 9.688 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002252/0.2631, allocations: 109 kB / 490.4 MB, free: 9.562 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-06/0.2631, allocations: 0 / 490.4 MB, free: 9.562 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.2631, allocations: 4 kB / 490.4 MB, free: 9.559 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.758e-06/0.2631, allocations: 0 / 490.4 MB, free: 9.559 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.885e-05/0.2632, allocations: 23.91 kB / 490.5 MB, free: 9.535 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002998/0.2635, allocations: 273.8 kB / 490.7 MB, free: 9.215 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.273e-05/0.2636, allocations: 53.09 kB / 490.8 MB, free: 9.145 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.2636, allocations: 3.984 kB / 490.8 MB, free: 9.141 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.2636, allocations: 34.56 kB / 490.8 MB, free: 9.098 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.2636, allocations: 0 / 490.8 MB, free: 9.098 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002274/0.2639, allocations: 73.59 kB / 490.9 MB, free: 9.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.2639, allocations: 81.09 kB / 491 MB, free: 8.922 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.993e-05/0.264, allocations: 125.3 kB / 491.1 MB, free: 8.789 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.2641, allocations: 29.95 kB / 491.1 MB, free: 8.754 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.581e-05/0.2641, allocations: 88.14 kB / 491.2 MB, free: 8.664 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.43e-05/0.2641, allocations: 7.938 kB / 491.2 MB, free: 8.656 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.365e-06/0.2641, allocations: 0 / 491.2 MB, free: 8.656 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.962e-05/0.2642, allocations: 320.1 kB / 491.5 MB, free: 8.336 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.964e-05/0.2643, allocations: 12 kB / 491.5 MB, free: 8.324 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.922e-05/0.2643, allocations: 25.7 kB / 491.6 MB, free: 8.293 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.057e-05/0.2644, allocations: 8 kB / 491.6 MB, free: 8.285 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.2644, allocations: 7.938 kB / 491.6 MB, free: 8.277 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001104/0.2645, allocations: 57.59 kB / 491.6 MB, free: 8.215 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.2645, allocations: 4 kB / 491.6 MB, free: 8.211 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.2645, allocations: 8.109 kB / 491.6 MB, free: 8.203 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.667e-06/0.2645, allocations: 0 / 491.6 MB, free: 8.203 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.283e-05/0.2646, allocations: 8 kB / 491.6 MB, free: 8.195 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.2646, allocations: 0 / 491.6 MB, free: 8.195 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.742e-05/0.2646, allocations: 4 kB / 491.7 MB, free: 8.191 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.2647, allocations: 3.938 kB / 491.7 MB, free: 8.188 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 8.035e-05/0.2647, allocations: 117.8 kB / 491.8 MB, free: 8.062 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.607e-05/0.2648, allocations: 45.55 kB / 491.8 MB, free: 8.012 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.72e-05/0.2648, allocations: 11.89 kB / 491.8 MB, free: 7.992 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2649, allocations: 4 kB / 491.8 MB, free: 7.988 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.2649, allocations: 0 / 491.8 MB, free: 7.988 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.2649, allocations: 0 / 491.8 MB, free: 7.988 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.265, allocations: 173.6 kB / 492 MB, free: 7.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.265, allocations: 4 kB / 492 MB, free: 7.766 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.449e-05/0.2651, allocations: 4 kB / 492 MB, free: 7.762 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2651, allocations: 0 / 492 MB, free: 7.762 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.2651, allocations: 0 / 492 MB, free: 7.762 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.2651, allocations: 4 kB / 492 MB, free: 7.758 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.2651, allocations: 4 kB / 492 MB, free: 7.754 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001594/0.2653, allocations: 177.9 kB / 492.2 MB, free: 7.555 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.133e-05/0.2653, allocations: 89.09 kB / 492.3 MB, free: 7.449 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.2654, allocations: 4 kB / 492.3 MB, free: 7.445 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.5e-05/0.2654, allocations: 4.031 kB / 492.3 MB, free: 7.441 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.402e-05/0.2655, allocations: 7.984 kB / 492.3 MB, free: 7.434 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.676e-06/0.2655, allocations: 3.938 kB / 492.3 MB, free: 7.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.219e-05/0.2655, allocations: 106.2 kB / 492.4 MB, free: 7.328 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.2656, allocations: 0 / 492.4 MB, free: 7.328 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002139/0.2658, allocations: 8 kB / 492.4 MB, free: 7.32 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0004084/0.2662, allocations: 0.7797 MB / 493.2 MB, free: 6.508 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001077/0.2663, allocations: 24.02 kB / 493.2 MB, free: 6.484 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2663, allocations: 4 kB / 493.2 MB, free: 6.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.972e-05/0.2664, allocations: 15.92 kB / 493.2 MB, free: 6.465 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.2666, allocations: 12.02 kB / 493.2 MB, free: 6.453 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007425/0.2673, allocations: 0.6462 MB / 493.9 MB, free: 5.75 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002169/0.2676, allocations: 0.6926 MB / 494.6 MB, free: 5.031 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.964e-05/0.2676, allocations: 4 kB / 494.6 MB, free: 5.027 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.658e-05/0.2676, allocations: 18 kB / 494.6 MB, free: 5.012 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2677, allocations: 0 / 494.6 MB, free: 5.012 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01075/0.2784, allocations: 1.275 MB / 495.9 MB, free: 3.883 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001989/0.2786, allocations: 196.8 kB / 496.1 MB, free: 3.645 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.417/1.696, allocations: 4 kB / 496.1 MB, free: 3.641 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat does not exist to compare? outputFormat=mat