Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.SubSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_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.001043/0.001043, allocations: 195 kB / 14.16 MB, free: 1.152 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 225.4 MB / 240.1 MB, free: 15.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008683/0.0008684, allocations: 93.27 kB / 292.1 MB, free: 5.961 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.157e-05/4.169e-05, allocations: 0 / 350.6 MB, free: 2.414 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1166, allocations: 51.48 MB / 402.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3474/0.464, allocations: 77.83 MB / 480 MB, free: 11.59 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/0.4643, allocations: 78.7 kB / 480 MB, free: 11.55 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005729/0.4701, allocations: 2.222 MB / 482.3 MB, free: 9.73 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.4701, allocations: 0 / 482.3 MB, free: 9.73 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.4701, allocations: 4 kB / 482.3 MB, free: 9.727 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.0003318/0.4705, allocations: 365.1 kB / 482.6 MB, free: 9.332 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.4705, allocations: 8.031 kB / 482.6 MB, free: 9.324 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.275e-05/0.4706, allocations: 36.66 kB / 482.7 MB, free: 9.285 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001304/0.4707, allocations: 21.7 kB / 482.7 MB, free: 9.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.4709, allocations: 198.3 kB / 482.9 MB, free: 9.043 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.4709, allocations: 7.609 kB / 482.9 MB, free: 9.039 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.4709, allocations: 4 kB / 482.9 MB, free: 9.035 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002145/0.4711, allocations: 107.7 kB / 483 MB, free: 8.926 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.4712, allocations: 4 kB / 483 MB, free: 8.922 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.615e-06/0.4712, allocations: 3.938 kB / 483 MB, free: 8.918 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.4712, allocations: 0 / 483 MB, free: 8.918 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.557e-05/0.4712, allocations: 15.25 kB / 483 MB, free: 8.91 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003141/0.4715, allocations: 288.8 kB / 483.3 MB, free: 8.582 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.07e-05/0.4716, allocations: 67.11 kB / 483.4 MB, free: 8.496 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.578e-05/0.4717, allocations: 30.08 kB / 483.4 MB, free: 8.461 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.4717, allocations: 0 / 483.4 MB, free: 8.461 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/0.4717, allocations: 34.56 kB / 483.4 MB, free: 8.418 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.4717, allocations: 0 / 483.4 MB, free: 8.418 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001729/0.4719, allocations: 60.69 kB / 483.5 MB, free: 8.359 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.04e-05/0.472, allocations: 110.2 kB / 483.6 MB, free: 8.23 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.742e-05/0.4721, allocations: 125.2 kB / 483.7 MB, free: 8.109 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.478e-06/0.4721, allocations: 37.98 kB / 483.8 MB, free: 8.07 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.131e-05/0.4721, allocations: 91.42 kB / 483.8 MB, free: 7.98 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.297e-05/0.4721, allocations: 0 / 483.8 MB, free: 7.98 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-06/0.4721, allocations: 3.625 kB / 483.8 MB, free: 7.98 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.041e-05/0.4722, allocations: 322.9 kB / 484.2 MB, free: 7.656 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.746e-05/0.4722, allocations: 7.188 kB / 484.2 MB, free: 7.652 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.157e-05/0.4723, allocations: 26.81 kB / 484.2 MB, free: 7.617 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.516e-05/0.4723, allocations: 8 kB / 484.2 MB, free: 7.609 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.4723, allocations: 4 kB / 484.2 MB, free: 7.605 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.925e-05/0.4724, allocations: 66.19 kB / 484.3 MB, free: 7.543 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.4724, allocations: 4 kB / 484.3 MB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.4724, allocations: 7.922 kB / 484.3 MB, free: 7.531 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.4725, allocations: 4 kB / 484.3 MB, free: 7.527 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.806e-05/0.4725, allocations: 8 kB / 484.3 MB, free: 7.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.4726, allocations: 0.8594 kB / 484.3 MB, free: 7.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.263e-05/0.4726, allocations: 4.125 kB / 484.3 MB, free: 7.516 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.4726, allocations: 7.984 kB / 484.3 MB, free: 7.508 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.919e-05/0.4727, allocations: 108.9 kB / 484.4 MB, free: 7.395 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.097e-05/0.4728, allocations: 49.8 kB / 484.5 MB, free: 7.344 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.751e-05/0.4728, allocations: 15.33 kB / 484.5 MB, free: 7.336 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.4728, allocations: 0 / 484.5 MB, free: 7.336 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.4728, allocations: 4 kB / 484.5 MB, free: 7.332 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.4728, allocations: 0 / 484.5 MB, free: 7.332 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.473, allocations: 180.1 kB / 484.7 MB, free: 7.117 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.473, allocations: 7.906 kB / 484.7 MB, free: 7.113 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.879e-05/0.4731, allocations: 11.98 kB / 484.7 MB, free: 7.102 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.4731, allocations: 0 / 484.7 MB, free: 7.102 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.4731, allocations: 4 kB / 484.7 MB, free: 7.098 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.4731, allocations: 0 / 484.7 MB, free: 7.098 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4731, allocations: 0 / 484.7 MB, free: 7.098 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/0.4732, allocations: 195.5 kB / 484.9 MB, free: 6.883 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.315e-05/0.4733, allocations: 94.75 kB / 485 MB, free: 6.777 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.4733, allocations: 7.984 kB / 485 MB, free: 6.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.137e-05/0.4734, allocations: 0 / 485 MB, free: 6.77 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.218e-05/0.4734, allocations: 4 kB / 485 MB, free: 6.766 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.98e-06/0.4734, allocations: 0 / 485 MB, free: 6.766 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.348e-05/0.4735, allocations: 119.3 kB / 485.1 MB, free: 6.66 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4735, allocations: 4 kB / 485.1 MB, free: 6.656 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002167/0.4737, allocations: 11.94 kB / 485.1 MB, free: 6.645 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0003263/0.4741, allocations: 0.8645 MB / 486 MB, free: 5.754 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.584e-05/0.4742, allocations: 19.19 kB / 486 MB, free: 5.738 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4742, allocations: 0 / 486 MB, free: 5.738 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.418e-05/0.4742, allocations: 7.25 kB / 486 MB, free: 5.734 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.4744, allocations: 20.52 kB / 486 MB, free: 5.719 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003474/0.4748, allocations: 151.9 kB / 486.2 MB, free: 5.543 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001276/0.4749, allocations: 0.6958 MB / 486.9 MB, free: 4.824 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.421e-05/0.475, allocations: 8.172 kB / 486.9 MB, free: 4.812 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.521e-05/0.475, allocations: 13.75 kB / 486.9 MB, free: 4.805 MB / 346.7 MB Notification: Performance of SimCode: time 2.8e-07/0.475, allocations: 0 / 486.9 MB, free: 4.805 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01161/0.4866, allocations: 1.396 MB / 488.3 MB, free: 3.633 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001465/0.4868, allocations: 170.7 kB / 488.4 MB, free: 3.402 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.413/1.9, allocations: 3.625 kB / 488.5 MB, free: 3.402 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat does not exist to compare? outputFormat=mat