Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.RealSignals.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001118/0.001118, allocations: 197.5 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.185/1.185, allocations: 227.2 MB / 245 MB, free: 7.656 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008594/0.0008594, allocations: 102.2 kB / 297.3 MB, free: 6.191 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001949/0.0001949, allocations: 8 kB / 358 MB, free: 9.434 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1763, allocations: 51.48 MB / 409.5 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08584/0.2622, allocations: 77.71 MB / 487.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000224/0.2625, allocations: 85.42 kB / 487.3 MB, free: 12.81 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004217/0.2667, allocations: 1.513 MB / 488.8 MB, free: 11.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.2667, allocations: 0 / 488.8 MB, free: 11.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.2668, allocations: 8 kB / 488.8 MB, free: 11.3 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003993/0.2672, allocations: 371.1 kB / 489.2 MB, free: 10.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.2672, allocations: 8.031 kB / 489.2 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.781e-05/0.2673, allocations: 34.56 kB / 489.2 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001253/0.2674, allocations: 23.83 kB / 489.2 MB, free: 10.81 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.2676, allocations: 182.9 kB / 489.4 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.915e-06/0.2676, allocations: 4 kB / 489.4 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.2676, allocations: 7.953 kB / 489.4 MB, free: 10.58 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002143/0.2679, allocations: 93.05 kB / 489.5 MB, free: 10.47 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.2679, allocations: 3.938 kB / 489.5 MB, free: 10.47 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.2679, allocations: 0 / 489.5 MB, free: 10.47 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.2679, allocations: 3.984 kB / 489.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.789e-05/0.268, allocations: 23.98 kB / 489.6 MB, free: 10.44 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003219/0.2683, allocations: 273.6 kB / 489.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.773e-05/0.2684, allocations: 45.22 kB / 489.9 MB, free: 10.06 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.2684, allocations: 0 / 489.9 MB, free: 10.06 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.2685, allocations: 34.5 kB / 489.9 MB, free: 10.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.2685, allocations: 4.062 kB / 489.9 MB, free: 10.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002221/0.2687, allocations: 69.89 kB / 490 MB, free: 9.938 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/0.2688, allocations: 85.05 kB / 490.1 MB, free: 9.836 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.628e-05/0.2689, allocations: 123.7 kB / 490.2 MB, free: 9.707 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.2689, allocations: 25.7 kB / 490.2 MB, free: 9.676 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.614e-05/0.2689, allocations: 95.97 kB / 490.3 MB, free: 9.578 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.283e-05/0.2689, allocations: 4 kB / 490.3 MB, free: 9.574 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-06/0.269, allocations: 0 / 490.3 MB, free: 9.574 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.2691, allocations: 318.9 kB / 490.6 MB, free: 9.254 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.155e-05/0.2691, allocations: 11.98 kB / 490.6 MB, free: 9.242 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.932e-05/0.2692, allocations: 21.72 kB / 490.6 MB, free: 9.215 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.016e-05/0.2692, allocations: 7.984 kB / 490.7 MB, free: 9.207 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2692, allocations: 4 kB / 490.7 MB, free: 9.203 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001252/0.2694, allocations: 65.64 kB / 490.7 MB, free: 9.133 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.2694, allocations: 4 kB / 490.7 MB, free: 9.129 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.2694, allocations: 0 / 490.7 MB, free: 9.129 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.2694, allocations: 0 / 490.7 MB, free: 9.129 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.509e-05/0.2695, allocations: 11.98 kB / 490.7 MB, free: 9.117 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.858e-06/0.2695, allocations: 0 / 490.7 MB, free: 9.117 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.826e-05/0.2695, allocations: 11.97 kB / 490.8 MB, free: 9.105 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.2695, allocations: 4 kB / 490.8 MB, free: 9.102 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 6.946e-05/0.2696, allocations: 113.8 kB / 490.9 MB, free: 8.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.005e-05/0.2697, allocations: 45.58 kB / 490.9 MB, free: 8.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.891e-05/0.2697, allocations: 7.875 kB / 490.9 MB, free: 8.914 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2697, allocations: 4 kB / 490.9 MB, free: 8.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.2697, allocations: 0 / 490.9 MB, free: 8.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.2697, allocations: 0 / 490.9 MB, free: 8.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.2699, allocations: 165.7 kB / 491.1 MB, free: 8.699 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2699, allocations: 7.969 kB / 491.1 MB, free: 8.691 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.921e-05/0.27, allocations: 11.98 kB / 491.1 MB, free: 8.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.27, allocations: 3.953 kB / 491.1 MB, free: 8.676 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.27, allocations: 0 / 491.1 MB, free: 8.676 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.27, allocations: 0 / 491.1 MB, free: 8.676 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.27, allocations: 4 kB / 491.1 MB, free: 8.672 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001685/0.2702, allocations: 178 kB / 491.3 MB, free: 8.473 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.139e-05/0.2702, allocations: 92.95 kB / 491.4 MB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.2703, allocations: 4 kB / 491.4 MB, free: 8.359 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.27e-05/0.2703, allocations: 0 / 491.4 MB, free: 8.359 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.944e-05/0.2704, allocations: 11.98 kB / 491.4 MB, free: 8.348 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.2704, allocations: 0 / 491.4 MB, free: 8.348 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.475e-05/0.2704, allocations: 107.2 kB / 491.5 MB, free: 8.242 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2704, allocations: 4.031 kB / 491.5 MB, free: 8.238 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002024/0.2707, allocations: 4 kB / 491.5 MB, free: 8.234 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.0004353/0.2711, allocations: 0.7758 MB / 492.3 MB, free: 7.426 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001089/0.2712, allocations: 27.92 kB / 492.3 MB, free: 7.398 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.2712, allocations: 3.938 kB / 492.3 MB, free: 7.395 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.681e-05/0.2713, allocations: 8 kB / 492.3 MB, free: 7.387 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002081/0.2715, allocations: 22.3 kB / 492.3 MB, free: 7.367 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007869/0.2723, allocations: 0.6347 MB / 493 MB, free: 6.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.2725, allocations: 0.6887 MB / 493.7 MB, free: 5.965 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.593e-05/0.2726, allocations: 0 / 493.7 MB, free: 5.965 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.681e-05/0.2726, allocations: 19.42 kB / 493.7 MB, free: 5.945 MB / 362.7 MB Notification: Performance of SimCode: time 3.11e-07/0.2726, allocations: 4 kB / 493.7 MB, free: 5.941 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01122/0.2838, allocations: 1.199 MB / 494.9 MB, free: 4.887 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001629/0.284, allocations: 212.3 kB / 495.1 MB, free: 4.637 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.467/1.751, allocations: 0 / 495.1 MB, free: 4.637 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat does not exist to compare? outputFormat=mat