Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_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.0014/0.0014, allocations: 198.1 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.359/1.359, allocations: 225.6 MB / 234.8 MB, free: 3.281 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001004/0.001004, allocations: 103.6 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.917e-05/1.932e-05, allocations: 4 kB / 343.8 MB, free: 8.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1019, allocations: 51.46 MB / 395.3 MB, free: 4.699 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3249/0.4269, allocations: 77.18 MB / 472.4 MB, free: 14.02 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001939/0.4271, allocations: 78.83 kB / 472.5 MB, free: 13.99 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005792/0.4329, allocations: 2.21 MB / 474.7 MB, free: 12.69 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.433, allocations: 0 / 474.7 MB, free: 12.69 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.218e-06/0.433, allocations: 0 / 474.7 MB, free: 12.69 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.00031/0.4333, allocations: 363 kB / 475.1 MB, free: 12.31 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.4333, allocations: 12.64 kB / 475.1 MB, free: 12.3 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/0.4335, allocations: 23.73 kB / 475.1 MB, free: 12.28 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.4336, allocations: 197.8 kB / 475.3 MB, free: 12.05 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.4337, allocations: 0 / 475.3 MB, free: 12.05 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.4337, allocations: 4.312 kB / 475.3 MB, free: 12.05 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.063e-05/0.4338, allocations: 19.61 kB / 475.3 MB, free: 12.04 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.434, allocations: 99.84 kB / 475.4 MB, free: 11.95 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.434, allocations: 11.98 kB / 475.4 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-06/0.434, allocations: 0 / 475.4 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.434, allocations: 0 / 475.4 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002796/0.4343, allocations: 259.6 kB / 475.7 MB, free: 11.66 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.875e-05/0.4344, allocations: 64.41 kB / 475.8 MB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.249e-05/0.4344, allocations: 27.3 kB / 475.8 MB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.4344, allocations: 0 / 475.8 MB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.619e-05/0.4344, allocations: 43.81 kB / 475.8 MB, free: 11.5 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.4345, allocations: 0 / 475.8 MB, free: 11.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001495/0.4346, allocations: 53.09 kB / 475.9 MB, free: 11.45 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.4346, allocations: 106.8 kB / 476 MB, free: 11.32 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.672e-05/0.4347, allocations: 127.2 kB / 476.1 MB, free: 11.21 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.636e-06/0.4348, allocations: 25.7 kB / 476.1 MB, free: 11.18 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.891e-05/0.4348, allocations: 88.02 kB / 476.2 MB, free: 11.09 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.398e-05/0.4348, allocations: 19.66 kB / 476.2 MB, free: 11.08 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-06/0.4348, allocations: 0 / 476.2 MB, free: 11.08 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.821e-05/0.4349, allocations: 320.5 kB / 476.5 MB, free: 10.76 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.317e-05/0.4349, allocations: 4 kB / 476.6 MB, free: 10.76 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.925e-05/0.4349, allocations: 28.5 kB / 476.6 MB, free: 10.72 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.171e-05/0.4349, allocations: 9.5 kB / 476.6 MB, free: 10.71 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.435, allocations: 0 / 476.6 MB, free: 10.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.211e-05/0.435, allocations: 56.55 kB / 476.6 MB, free: 10.66 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.4351, allocations: 8 kB / 476.7 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.4351, allocations: 0 / 476.7 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.4351, allocations: 0 / 476.7 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.139e-05/0.4352, allocations: 14.61 kB / 476.7 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.4352, allocations: 4 kB / 476.7 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.156e-05/0.4352, allocations: 9.25 kB / 476.7 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-06/0.4352, allocations: 0 / 476.7 MB, free: 10.63 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.752e-05/0.4353, allocations: 108.6 kB / 476.8 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.373e-05/0.4354, allocations: 60.97 kB / 476.8 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.4354, allocations: 9.5 kB / 476.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.212e-05/0.4355, allocations: 12.62 kB / 476.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.4355, allocations: 0 / 476.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4355, allocations: 8.094 kB / 476.9 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.4355, allocations: 0 / 476.9 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.4356, allocations: 149 kB / 477 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.4356, allocations: 5.453 kB / 477 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.692e-05/0.4357, allocations: 9.453 kB / 477 MB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.4357, allocations: 0 / 477 MB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.4357, allocations: 1.406 kB / 477 MB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.4357, allocations: 7.938 kB / 477 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.4357, allocations: 0 / 477 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.4358, allocations: 189.4 kB / 477.2 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.086e-05/0.4359, allocations: 93.52 kB / 477.3 MB, free: 9.941 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.4359, allocations: 0 / 477.3 MB, free: 9.941 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.995e-05/0.436, allocations: 8.422 kB / 477.3 MB, free: 9.938 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.013e-05/0.436, allocations: 4 kB / 477.3 MB, free: 9.934 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.436, allocations: 8.234 kB / 477.3 MB, free: 9.93 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.809e-05/0.4361, allocations: 108.7 kB / 477.4 MB, free: 9.836 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4361, allocations: 4.875 kB / 477.5 MB, free: 9.832 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002314/0.4363, allocations: 7.938 kB / 477.5 MB, free: 9.824 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.0002719/0.4366, allocations: 0.8641 MB / 478.3 MB, free: 8.938 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.436e-05/0.4367, allocations: 24.12 kB / 478.3 MB, free: 8.922 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4367, allocations: 0 / 478.3 MB, free: 8.922 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.388e-05/0.4367, allocations: 4.844 kB / 478.4 MB, free: 8.918 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/0.437, allocations: 20.23 kB / 478.4 MB, free: 8.906 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003466/0.4373, allocations: 145.1 kB / 478.5 MB, free: 8.742 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.4374, allocations: 0.6969 MB / 479.2 MB, free: 8.031 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.218e-05/0.4375, allocations: 5.578 kB / 479.2 MB, free: 8.023 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.39e-05/0.4375, allocations: 19.78 kB / 479.2 MB, free: 8.012 MB / 346.7 MB Notification: Performance of SimCode: time 3.4e-07/0.4375, allocations: 0 / 479.2 MB, free: 8.012 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02073/0.4583, allocations: 1.073 MB / 480.3 MB, free: 7.418 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001952/0.4585, allocations: 151.6 kB / 480.5 MB, free: 7.227 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.455/1.913, allocations: 0.875 kB / 480.5 MB, free: 7.227 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat does not exist to compare? outputFormat=mat