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.001451/0.00145, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 225.6 MB / 234.8 MB, free: 3.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009171/0.0009171, allocations: 104.7 kB / 286.7 MB, free: 5.293 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.712e-05/2.705e-05, allocations: 4 kB / 343.8 MB, free: 8.145 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1208, allocations: 51.47 MB / 395.3 MB, free: 4.633 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3455/0.4664, allocations: 77.15 MB / 472.4 MB, free: 14.04 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/0.4667, allocations: 76.2 kB / 472.5 MB, free: 14.01 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005786/0.4725, allocations: 2.204 MB / 474.7 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.4725, allocations: 0 / 474.7 MB, free: 12.71 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.4725, allocations: 0 / 474.7 MB, free: 12.71 MB / 346.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.0002958/0.4728, allocations: 366.6 kB / 475 MB, free: 12.33 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.4729, allocations: 16.03 kB / 475.1 MB, free: 12.31 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001294/0.473, allocations: 19.36 kB / 475.1 MB, free: 12.3 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.4732, allocations: 186 kB / 475.3 MB, free: 12.09 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.4732, allocations: 4 kB / 475.3 MB, free: 12.08 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.4732, allocations: 3.609 kB / 475.3 MB, free: 12.08 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.642e-05/0.4733, allocations: 16.66 kB / 475.3 MB, free: 12.07 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.4735, allocations: 97.7 kB / 475.4 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.4735, allocations: 0 / 475.4 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.4735, allocations: 0 / 475.4 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.4735, allocations: 0 / 475.4 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002739/0.4738, allocations: 253.2 kB / 475.6 MB, free: 11.71 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.103e-05/0.4738, allocations: 36.78 kB / 475.7 MB, free: 11.66 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.248e-05/0.4739, allocations: 19.16 kB / 475.7 MB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.4739, allocations: 0 / 475.7 MB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.544e-05/0.4739, allocations: 34.5 kB / 475.7 MB, free: 11.6 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.4739, allocations: 0 / 475.7 MB, free: 11.6 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001478/0.4741, allocations: 51.08 kB / 475.8 MB, free: 11.55 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/0.4741, allocations: 79.78 kB / 475.8 MB, free: 11.45 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.977e-05/0.4742, allocations: 122.5 kB / 476 MB, free: 11.34 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.728e-06/0.4742, allocations: 25.7 kB / 476 MB, free: 11.31 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.808e-05/0.4743, allocations: 89.09 kB / 476.1 MB, free: 11.22 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.33e-05/0.4743, allocations: 9.109 kB / 476.1 MB, free: 11.21 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-06/0.4743, allocations: 0 / 476.1 MB, free: 11.21 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.913e-05/0.4743, allocations: 319.6 kB / 476.4 MB, free: 10.9 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.293e-05/0.4744, allocations: 7.938 kB / 476.4 MB, free: 10.89 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.384e-05/0.4744, allocations: 17.83 kB / 476.4 MB, free: 10.87 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.577e-05/0.4744, allocations: 5.453 kB / 476.4 MB, free: 10.87 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.4744, allocations: 4 kB / 476.4 MB, free: 10.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.476e-05/0.4745, allocations: 38.89 kB / 476.5 MB, free: 10.82 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.4745, allocations: 8.125 kB / 476.5 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.4745, allocations: 4 kB / 476.5 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.4745, allocations: 0.75 kB / 476.5 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.834e-05/0.4746, allocations: 15.06 kB / 476.5 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.4746, allocations: 0 / 476.5 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.31e-05/0.4746, allocations: 4 kB / 476.5 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-06/0.4747, allocations: 0 / 476.5 MB, free: 10.8 MB / 346.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 () * 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 4.441e-05/0.4747, allocations: 114.5 kB / 476.6 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.002e-05/0.4748, allocations: 51.86 kB / 476.7 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.4748, allocations: 7.906 kB / 476.7 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.055e-05/0.4748, allocations: 18.8 kB / 476.7 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.4749, allocations: 0 / 476.7 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.4749, allocations: 0 / 476.7 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.4749, allocations: 1.125 kB / 476.7 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.475, allocations: 146 kB / 476.8 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.475, allocations: 4 kB / 476.8 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.19e-05/0.475, allocations: 5.359 kB / 476.8 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.4751, allocations: 0 / 476.8 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-06/0.4751, allocations: 6.312 kB / 476.8 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.4751, allocations: 4 kB / 476.9 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4751, allocations: 1.406 kB / 476.9 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.403e-05/0.4752, allocations: 159.5 kB / 477 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.718e-05/0.4752, allocations: 91.55 kB / 477.1 MB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.4752, allocations: 1.672 kB / 477.1 MB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.752e-05/0.4753, allocations: 8 kB / 477.1 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.609e-05/0.4754, allocations: 1.266 kB / 477.1 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.4754, allocations: 7.938 kB / 477.1 MB, free: 10.14 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.029e-05/0.4754, allocations: 101.1 kB / 477.2 MB, free: 10.05 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4754, allocations: 5.625 kB / 477.2 MB, free: 10.05 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002125/0.4756, allocations: 8.984 kB / 477.2 MB, free: 10.04 MB / 346.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 () * 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.0002372/0.4759, allocations: 0.7631 MB / 478 MB, free: 9.258 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.42e-05/0.476, allocations: 13.2 kB / 478 MB, free: 9.246 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.476, allocations: 0 / 478 MB, free: 9.246 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.303e-05/0.476, allocations: 7.812 kB / 478 MB, free: 9.242 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.4762, allocations: 15.2 kB / 478 MB, free: 9.23 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003209/0.4766, allocations: 125.5 kB / 478.2 MB, free: 9.086 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001244/0.4767, allocations: 0.6896 MB / 478.8 MB, free: 8.379 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.75e-05/0.4767, allocations: 0 / 478.8 MB, free: 8.379 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.904e-05/0.4768, allocations: 20.41 kB / 478.9 MB, free: 8.367 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4768, allocations: 0 / 478.9 MB, free: 8.367 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01938/0.4962, allocations: 0.9563 MB / 479.8 MB, free: 7.836 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001932/0.4964, allocations: 151.1 kB / 480 MB, free: 7.648 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.469/1.965, allocations: 5.688 kB / 480 MB, free: 7.645 MB / 346.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