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.001142/0.001142, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.377/1.377, allocations: 225.4 MB / 240.1 MB, free: 15.05 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00109/0.00109, allocations: 84.28 kB / 292.1 MB, free: 6.012 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.508e-05/3.519e-05, allocations: 8 kB / 350.6 MB, free: 2.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1189, allocations: 51.49 MB / 402.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3469/0.4659, allocations: 77.81 MB / 479.9 MB, free: 11.62 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002336/0.4662, allocations: 78.58 kB / 480 MB, free: 11.58 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005532/0.4717, allocations: 2.208 MB / 482.2 MB, free: 9.773 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.4717, allocations: 7.938 kB / 482.2 MB, free: 9.766 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.4717, allocations: 0 / 482.2 MB, free: 9.766 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.0002755/0.472, allocations: 361.6 kB / 482.6 MB, free: 9.375 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.4721, allocations: 8.031 kB / 482.6 MB, free: 9.367 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.545e-05/0.4721, allocations: 39.06 kB / 482.6 MB, free: 9.324 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/0.4723, allocations: 20.48 kB / 482.6 MB, free: 9.309 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.4724, allocations: 190.5 kB / 482.8 MB, free: 9.09 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.4725, allocations: 4 kB / 482.8 MB, free: 9.086 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.4725, allocations: 7.609 kB / 482.8 MB, free: 9.082 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.4727, allocations: 97.25 kB / 482.9 MB, free: 8.984 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.4727, allocations: 3.938 kB / 482.9 MB, free: 8.98 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.4727, allocations: 6.891 kB / 483 MB, free: 8.977 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.4727, allocations: 0 / 483 MB, free: 8.977 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.164e-05/0.4728, allocations: 8 kB / 483 MB, free: 8.969 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003049/0.4731, allocations: 273.6 kB / 483.2 MB, free: 8.66 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.346e-05/0.4732, allocations: 41.09 kB / 483.3 MB, free: 8.605 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.467e-05/0.4732, allocations: 17.59 kB / 483.3 MB, free: 8.586 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.4732, allocations: 4 kB / 483.3 MB, free: 8.582 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/0.4732, allocations: 32.25 kB / 483.3 MB, free: 8.543 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.4732, allocations: 0 / 483.3 MB, free: 8.543 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001473/0.4734, allocations: 53.47 kB / 483.4 MB, free: 8.488 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.4734, allocations: 81.11 kB / 483.4 MB, free: 8.391 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.129e-05/0.4735, allocations: 121.2 kB / 483.6 MB, free: 8.273 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.268e-06/0.4735, allocations: 34.52 kB / 483.6 MB, free: 8.234 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.315e-05/0.4736, allocations: 92 kB / 483.7 MB, free: 8.145 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.248e-05/0.4736, allocations: 3.906 kB / 483.7 MB, free: 8.141 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.574e-06/0.4736, allocations: 0 / 483.7 MB, free: 8.141 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.713e-05/0.4737, allocations: 322.5 kB / 484 MB, free: 7.82 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.384e-05/0.4737, allocations: 3.938 kB / 484 MB, free: 7.816 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.654e-05/0.4737, allocations: 21.58 kB / 484 MB, free: 7.793 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.97e-05/0.4737, allocations: 8.062 kB / 484 MB, free: 7.785 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.4737, allocations: 1.594 kB / 484 MB, free: 7.785 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.937e-05/0.4738, allocations: 41.64 kB / 484.1 MB, free: 7.742 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.4738, allocations: 7.938 kB / 484.1 MB, free: 7.734 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.4738, allocations: 0 / 484.1 MB, free: 7.734 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.4739, allocations: 7.984 kB / 484.1 MB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.891e-05/0.4739, allocations: 4 kB / 484.1 MB, free: 7.723 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.4739, allocations: 0 / 484.1 MB, free: 7.723 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.394e-05/0.474, allocations: 8.062 kB / 484.1 MB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.474, allocations: 0 / 484.1 MB, free: 7.715 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.464e-05/0.474, allocations: 112.9 kB / 484.2 MB, free: 7.598 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.823e-05/0.4741, allocations: 41.28 kB / 484.3 MB, free: 7.555 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.106e-05/0.4741, allocations: 7.656 kB / 484.3 MB, free: 7.551 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-06/0.4741, allocations: 0 / 484.3 MB, free: 7.551 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4742, allocations: 0 / 484.3 MB, free: 7.551 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.4742, allocations: 4 kB / 484.3 MB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.4743, allocations: 173.3 kB / 484.4 MB, free: 7.336 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.4743, allocations: 0.9375 kB / 484.4 MB, free: 7.336 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.372e-05/0.4743, allocations: 14.27 kB / 484.5 MB, free: 7.324 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.4744, allocations: 4 kB / 484.5 MB, free: 7.32 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.4744, allocations: 0 / 484.5 MB, free: 7.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4744, allocations: 0 / 484.5 MB, free: 7.32 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4744, allocations: 1.484 kB / 484.5 MB, free: 7.32 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.951e-05/0.4745, allocations: 169.5 kB / 484.6 MB, free: 7.137 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.183e-05/0.4745, allocations: 95.25 kB / 484.7 MB, free: 7.031 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.4746, allocations: 0 / 484.7 MB, free: 7.031 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.447e-05/0.4746, allocations: 4 kB / 484.7 MB, free: 7.027 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.269e-05/0.4747, allocations: 0 / 484.7 MB, free: 7.027 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.4747, allocations: 0 / 484.7 MB, free: 7.027 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.004e-05/0.4747, allocations: 109.1 kB / 484.8 MB, free: 6.93 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4747, allocations: 3.938 kB / 484.8 MB, free: 6.926 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001924/0.4749, allocations: 8.031 kB / 484.8 MB, free: 6.918 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.0002561/0.4752, allocations: 0.7715 MB / 485.6 MB, free: 6.125 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.36e-05/0.4753, allocations: 15.97 kB / 485.6 MB, free: 6.109 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4753, allocations: 0 / 485.6 MB, free: 6.109 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.484e-05/0.4753, allocations: 7.938 kB / 485.6 MB, free: 6.105 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.4755, allocations: 21.78 kB / 485.7 MB, free: 6.09 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003205/0.4759, allocations: 118.9 kB / 485.8 MB, free: 5.938 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001273/0.476, allocations: 0.6927 MB / 486.5 MB, free: 5.223 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.991e-05/0.476, allocations: 11.98 kB / 486.5 MB, free: 5.211 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.079e-05/0.4761, allocations: 12.53 kB / 486.5 MB, free: 5.203 MB / 346.7 MB Notification: Performance of SimCode: time 4.61e-07/0.4761, allocations: 0 / 486.5 MB, free: 5.203 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01224/0.4883, allocations: 1.266 MB / 487.8 MB, free: 4.16 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001666/0.4885, allocations: 167.7 kB / 487.9 MB, free: 3.934 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.501/1.99, allocations: 0 / 487.9 MB, free: 3.934 MB / 346.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