Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.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.SubSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001057/0.001057, allocations: 198.3 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.175/1.175, allocations: 227.2 MB / 245 MB, free: 5.77 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008695/0.0008695, allocations: 100.5 kB / 297.3 MB, free: 5.953 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001982/0.0001983, allocations: 7.984 kB / 358 MB, free: 9.199 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1673, allocations: 51.49 MB / 409.5 MB, free: 26.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07863/0.246, allocations: 77.88 MB / 487.4 MB, free: 12.69 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001996/0.2462, allocations: 79.95 kB / 487.5 MB, free: 12.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00564/0.2519, allocations: 2.211 MB / 489.7 MB, free: 10.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2519, allocations: 4 kB / 489.7 MB, free: 10.4 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.2519, allocations: 0 / 489.7 MB, free: 10.4 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.0003291/0.2522, allocations: 383 kB / 490.1 MB, free: 9.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.2523, allocations: 8.031 kB / 490.1 MB, free: 9.973 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.974e-05/0.2523, allocations: 30.56 kB / 490.1 MB, free: 9.934 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001257/0.2525, allocations: 23.83 kB / 490.1 MB, free: 9.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.2526, allocations: 201.1 kB / 490.3 MB, free: 9.676 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.686e-06/0.2526, allocations: 3.953 kB / 490.3 MB, free: 9.672 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.2527, allocations: 8 kB / 490.3 MB, free: 9.664 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002192/0.2529, allocations: 105 kB / 490.4 MB, free: 9.543 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.942e-06/0.2529, allocations: 4 kB / 490.4 MB, free: 9.539 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-06/0.2529, allocations: 0 / 490.4 MB, free: 9.539 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-06/0.2529, allocations: 0 / 490.4 MB, free: 9.539 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.532e-05/0.253, allocations: 27.92 kB / 490.5 MB, free: 9.512 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002895/0.2533, allocations: 273.7 kB / 490.7 MB, free: 9.191 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.509e-05/0.2534, allocations: 41.2 kB / 490.8 MB, free: 9.133 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.2534, allocations: 8 kB / 490.8 MB, free: 9.125 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.2534, allocations: 38.55 kB / 490.8 MB, free: 9.078 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.2534, allocations: 0 / 490.8 MB, free: 9.078 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002148/0.2537, allocations: 73.53 kB / 490.9 MB, free: 9 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.2537, allocations: 81.09 kB / 491 MB, free: 8.902 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.725e-05/0.2538, allocations: 125.3 kB / 491.1 MB, free: 8.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.2538, allocations: 29.7 kB / 491.1 MB, free: 8.734 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.374e-05/0.2539, allocations: 84.39 kB / 491.2 MB, free: 8.648 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.157e-05/0.2539, allocations: 7.938 kB / 491.2 MB, free: 8.641 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.504e-06/0.2539, allocations: 0 / 491.2 MB, free: 8.641 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.463e-05/0.254, allocations: 328.1 kB / 491.5 MB, free: 8.312 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.7e-05/0.254, allocations: 4 kB / 491.5 MB, free: 8.309 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.816e-05/0.2541, allocations: 21.7 kB / 491.5 MB, free: 8.281 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.02e-05/0.2541, allocations: 16.06 kB / 491.6 MB, free: 8.266 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2541, allocations: 0 / 491.6 MB, free: 8.266 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000113/0.2543, allocations: 61.53 kB / 491.6 MB, free: 8.199 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.2543, allocations: 8 kB / 491.6 MB, free: 8.191 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.2543, allocations: 3.984 kB / 491.6 MB, free: 8.188 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.178e-06/0.2543, allocations: 0 / 491.6 MB, free: 8.188 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.007e-05/0.2544, allocations: 8.062 kB / 491.6 MB, free: 8.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.2544, allocations: 4 kB / 491.6 MB, free: 8.176 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.283e-05/0.2544, allocations: 0 / 491.6 MB, free: 8.176 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.2544, allocations: 4 kB / 491.6 MB, free: 8.172 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 7.217e-05/0.2545, allocations: 129.7 kB / 491.8 MB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.298e-05/0.2546, allocations: 37.61 kB / 491.8 MB, free: 7.992 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.777e-05/0.2546, allocations: 11.86 kB / 491.8 MB, free: 7.973 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.2546, allocations: 4 kB / 491.8 MB, free: 7.969 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.2546, allocations: 4.031 kB / 491.8 MB, free: 7.965 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.2546, allocations: 0 / 491.8 MB, free: 7.965 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.2548, allocations: 169.6 kB / 492 MB, free: 7.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.2548, allocations: 0 / 492 MB, free: 7.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.549e-05/0.2548, allocations: 8 kB / 492 MB, free: 7.742 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.2548, allocations: 0 / 492 MB, free: 7.742 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.69e-06/0.2549, allocations: 0 / 492 MB, free: 7.742 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2549, allocations: 0 / 492 MB, free: 7.742 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.2549, allocations: 4 kB / 492 MB, free: 7.738 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000163/0.255, allocations: 181.9 kB / 492.2 MB, free: 7.535 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.901e-05/0.2551, allocations: 85.09 kB / 492.3 MB, free: 7.434 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.2551, allocations: 4 kB / 492.3 MB, free: 7.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.64e-05/0.2552, allocations: 4 kB / 492.3 MB, free: 7.426 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.657e-05/0.2552, allocations: 15.95 kB / 492.3 MB, free: 7.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.2552, allocations: 0 / 492.3 MB, free: 7.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.082e-05/0.2553, allocations: 106 kB / 492.4 MB, free: 7.309 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.2553, allocations: 0 / 492.4 MB, free: 7.309 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002055/0.2555, allocations: 8 kB / 492.4 MB, free: 7.301 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.0003983/0.2559, allocations: 0.7797 MB / 493.2 MB, free: 6.488 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001051/0.256, allocations: 23.98 kB / 493.2 MB, free: 6.465 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.256, allocations: 160 / 493.2 MB, free: 6.465 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.905e-05/0.2561, allocations: 15.98 kB / 493.2 MB, free: 6.449 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.2563, allocations: 19.95 kB / 493.2 MB, free: 6.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007146/0.257, allocations: 0.6348 MB / 493.9 MB, free: 5.734 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/0.2573, allocations: 0.6926 MB / 494.6 MB, free: 5.016 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.668e-05/0.2573, allocations: 8 kB / 494.6 MB, free: 5.008 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.02e-05/0.2573, allocations: 19.48 kB / 494.6 MB, free: 4.988 MB / 362.7 MB Notification: Performance of SimCode: time 3.11e-07/0.2573, allocations: 0 / 494.6 MB, free: 4.988 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01073/0.2681, allocations: 1.282 MB / 495.9 MB, free: 3.859 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001629/0.2682, allocations: 189.1 kB / 496.1 MB, free: 3.625 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.473/1.741, allocations: 3.938 kB / 496.1 MB, free: 3.621 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat does not exist to compare? outputFormat=mat