Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.Sample2,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002832/0.002832, 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.499/1.499, allocations: 225.4 MB / 240.1 MB, free: 15.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001009/0.001009, allocations: 90.23 kB / 292.1 MB, free: 5.926 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.531e-05/4.549e-05, allocations: 4 kB / 350.6 MB, free: 2.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09667/0.09673, allocations: 51.48 MB / 402.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.382/0.4788, allocations: 77.24 MB / 479.4 MB, free: 12.2 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002838/0.4791, allocations: 79.67 kB / 479.4 MB, free: 12.16 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002866/0.482, allocations: 1.162 MB / 480.6 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.482, allocations: 0 / 480.6 MB, free: 11.16 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.4821, allocations: 4 kB / 480.6 MB, free: 11.15 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003143/0.4824, allocations: 345.6 kB / 480.9 MB, free: 10.79 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.4824, allocations: 8.031 kB / 481 MB, free: 10.78 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.657e-05/0.4825, allocations: 40.73 kB / 481 MB, free: 10.73 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.017e-05/0.4825, allocations: 8.094 kB / 481 MB, free: 10.73 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.4827, allocations: 187.3 kB / 481.2 MB, free: 10.51 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.4827, allocations: 4.797 kB / 481.2 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.4827, allocations: 7.188 kB / 481.2 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002831/0.483, allocations: 116.6 kB / 481.3 MB, free: 10.39 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.4831, allocations: 0 / 481.3 MB, free: 10.39 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.4831, allocations: 0 / 481.3 MB, free: 10.39 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.4831, allocations: 0 / 481.3 MB, free: 10.39 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.434e-05/0.4831, allocations: 11.44 kB / 481.3 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003262/0.4835, allocations: 273.4 kB / 481.6 MB, free: 10.07 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001606/0.4836, allocations: 135.6 kB / 481.7 MB, free: 9.91 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.682e-05/0.4837, allocations: 25.16 kB / 481.7 MB, free: 9.883 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.4837, allocations: 4 kB / 481.7 MB, free: 9.879 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.4837, allocations: 34.38 kB / 481.8 MB, free: 9.84 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.203e-06/0.4837, allocations: 0 / 481.8 MB, free: 9.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001673/0.4839, allocations: 56.56 kB / 481.8 MB, free: 9.781 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.484, allocations: 84.3 kB / 481.9 MB, free: 9.684 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.184e-05/0.4841, allocations: 117.7 kB / 482 MB, free: 9.566 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.135e-06/0.4841, allocations: 33.67 kB / 482.1 MB, free: 9.531 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.046e-05/0.4841, allocations: 86.94 kB / 482.2 MB, free: 9.445 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.3e-05/0.4841, allocations: 3.906 kB / 482.2 MB, free: 9.441 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-06/0.4841, allocations: 4 kB / 482.2 MB, free: 9.438 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.181e-05/0.4842, allocations: 313.5 kB / 482.5 MB, free: 9.125 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.39e-05/0.4842, allocations: 4 kB / 482.5 MB, free: 9.121 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.915e-05/0.4842, allocations: 33.11 kB / 482.5 MB, free: 9.082 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.007e-05/0.4843, allocations: 8 kB / 482.5 MB, free: 9.074 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.4843, allocations: 3.953 kB / 482.5 MB, free: 9.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.405e-05/0.4844, allocations: 60.38 kB / 482.6 MB, free: 9.012 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.4844, allocations: 8 kB / 482.6 MB, free: 9.004 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.4844, allocations: 0 / 482.6 MB, free: 9.004 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.4844, allocations: 128 / 482.6 MB, free: 9.004 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.232e-05/0.4845, allocations: 12.94 kB / 482.6 MB, free: 8.992 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.4845, allocations: 7.938 kB / 482.6 MB, free: 8.984 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.341e-05/0.4845, allocations: 6.438 kB / 482.6 MB, free: 8.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.4845, allocations: 0 / 482.6 MB, free: 8.98 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 5.025e-05/0.4846, allocations: 108.6 kB / 482.7 MB, free: 8.871 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.392e-05/0.4847, allocations: 53.58 kB / 482.8 MB, free: 8.816 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.359e-05/0.4847, allocations: 12.02 kB / 482.8 MB, free: 8.801 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.4847, allocations: 0 / 482.8 MB, free: 8.801 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.4847, allocations: 8 kB / 482.8 MB, free: 8.793 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.4847, allocations: 0 / 482.8 MB, free: 8.793 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.4849, allocations: 166.2 kB / 482.9 MB, free: 8.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4849, allocations: 0 / 482.9 MB, free: 8.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.878e-05/0.4849, allocations: 14.86 kB / 483 MB, free: 8.578 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.4849, allocations: 0 / 483 MB, free: 8.578 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.485, allocations: 7.188 kB / 483 MB, free: 8.574 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.485, allocations: 0 / 483 MB, free: 8.574 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.485, allocations: 0 / 483 MB, free: 8.574 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.4851, allocations: 175.2 kB / 483.1 MB, free: 8.387 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.298e-05/0.4852, allocations: 96.94 kB / 483.2 MB, free: 8.273 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.4852, allocations: 4.609 kB / 483.2 MB, free: 8.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.822e-05/0.4852, allocations: 7.062 kB / 483.2 MB, free: 8.266 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.563e-05/0.4853, allocations: 0 / 483.2 MB, free: 8.266 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.4853, allocations: 0 / 483.2 MB, free: 8.266 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.948e-05/0.4853, allocations: 107.5 kB / 483.4 MB, free: 8.168 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4853, allocations: 0 / 483.4 MB, free: 8.168 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002074/0.4856, allocations: 4 kB / 483.4 MB, free: 8.164 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 (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.0002882/0.4859, allocations: 0.7797 MB / 484.1 MB, free: 7.367 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.631e-05/0.4859, allocations: 22.98 kB / 484.2 MB, free: 7.348 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.486, allocations: 1.594 kB / 484.2 MB, free: 7.348 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.427e-05/0.486, allocations: 4 kB / 484.2 MB, free: 7.344 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/0.4862, allocations: 15.53 kB / 484.2 MB, free: 7.336 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003635/0.4866, allocations: 132.5 kB / 484.3 MB, free: 7.18 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001319/0.4867, allocations: 0.6929 MB / 485 MB, free: 6.461 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.814e-05/0.4868, allocations: 4 kB / 485 MB, free: 6.457 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.747e-05/0.4868, allocations: 10.31 kB / 485 MB, free: 6.449 MB / 346.7 MB Notification: Performance of SimCode: time 6.71e-07/0.4868, allocations: 0 / 485 MB, free: 6.449 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01279/0.4996, allocations: 1.222 MB / 486.2 MB, free: 5.441 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002911/0.5, allocations: 160.6 kB / 486.4 MB, free: 5.219 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.466/1.966, allocations: 4 kB / 486.4 MB, free: 5.215 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat does not exist to compare? outputFormat=mat