Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.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.SampleWithADeffects,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001623/0.001623, allocations: 196.5 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.463/1.463, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001148/0.001148, allocations: 84.48 kB / 292.1 MB, free: 5.984 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.949e-05/3.978e-05, allocations: 4 kB / 350.6 MB, free: 2.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1113, allocations: 51.48 MB / 402.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3291/0.4404, allocations: 79.48 MB / 481.6 MB, free: 9.941 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002177/0.4407, allocations: 79.73 kB / 481.7 MB, free: 9.898 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01227/0.453, allocations: 4.885 MB / 486.6 MB, free: 5.777 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.453, allocations: 3.938 kB / 486.6 MB, free: 5.773 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.507e-05/0.453, allocations: 4 kB / 486.6 MB, free: 5.77 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0004639/0.4535, allocations: 449.4 kB / 487 MB, free: 5.301 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.4536, allocations: 8.031 kB / 487 MB, free: 5.293 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.546e-05/0.4536, allocations: 42 kB / 487.1 MB, free: 5.25 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.4537, allocations: 34.33 kB / 487.1 MB, free: 5.219 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002691/0.454, allocations: 238.2 kB / 487.3 MB, free: 4.961 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.4541, allocations: 11.48 kB / 487.3 MB, free: 4.957 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.4541, allocations: 15.3 kB / 487.4 MB, free: 4.945 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004853/0.4546, allocations: 281.2 kB / 487.6 MB, free: 4.719 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.4546, allocations: 0 / 487.6 MB, free: 4.719 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/0.4546, allocations: 11.5 kB / 487.6 MB, free: 4.711 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.4546, allocations: 0.6562 kB / 487.6 MB, free: 4.711 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.4548, allocations: 59.98 kB / 487.7 MB, free: 4.672 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003776/0.4551, allocations: 351.7 kB / 488 MB, free: 4.312 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002683/0.4554, allocations: 230.1 kB / 488.3 MB, free: 4.09 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.4555, allocations: 89 kB / 488.4 MB, free: 4.023 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004132/0.456, allocations: 0.5775 MB / 488.9 MB, free: 3.32 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/0.456, allocations: 34.56 kB / 489 MB, free: 3.277 MB / 346.7 MB Notification: Performance of pre-optimization done (n=19): time 1.433e-06/0.456, allocations: 4 kB / 489 MB, free: 3.273 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.0002962/0.4563, allocations: 158.2 kB / 489.1 MB, free: 3.145 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.4564, allocations: 110.5 kB / 489.2 MB, free: 3.016 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.4565, allocations: 167.2 kB / 489.4 MB, free: 2.867 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.4565, allocations: 33.39 kB / 489.4 MB, free: 2.832 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.875e-05/0.4566, allocations: 103.2 kB / 489.5 MB, free: 2.742 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.085e-05/0.4566, allocations: 23.55 kB / 489.6 MB, free: 2.723 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-06/0.4566, allocations: 3.688 kB / 489.6 MB, free: 2.723 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.191e-05/0.4567, allocations: 326.1 kB / 489.9 MB, free: 2.402 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.787e-05/0.4567, allocations: 39.17 kB / 489.9 MB, free: 2.375 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.593e-05/0.4568, allocations: 148.7 kB / 490.1 MB, free: 2.184 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.868e-05/0.4569, allocations: 69.94 kB / 490.1 MB, free: 2.133 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.4569, allocations: 0 / 490.1 MB, free: 2.133 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002314/0.4571, allocations: 201.2 kB / 490.3 MB, free: 1.961 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.4572, allocations: 5.25 kB / 490.3 MB, free: 1.957 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.4572, allocations: 15.92 kB / 490.3 MB, free: 1.941 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.4572, allocations: 7.953 kB / 490.4 MB, free: 1.934 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.4573, allocations: 45.89 kB / 490.4 MB, free: 1.891 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.4574, allocations: 5.172 kB / 490.4 MB, free: 1.887 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.4575, allocations: 23.53 kB / 490.4 MB, free: 1.867 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.4575, allocations: 12.22 kB / 490.4 MB, free: 1.855 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 6 (sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[1],$CLKPRE.sample1.noise.seedState[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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 6.319e-05/0.4576, allocations: 128.1 kB / 490.6 MB, free: 1.73 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001825/0.4578, allocations: 137.8 kB / 490.7 MB, free: 1.617 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002408/0.458, allocations: 165 kB / 490.9 MB, free: 1.492 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.458, allocations: 4 kB / 490.9 MB, free: 1.488 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.458, allocations: 3.953 kB / 490.9 MB, free: 1.484 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.458, allocations: 0 / 490.9 MB, free: 1.484 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.4582, allocations: 232.7 kB / 491.1 MB, free: 1.234 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.4582, allocations: 0 / 491.1 MB, free: 1.234 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001371/0.4584, allocations: 39.97 kB / 491.1 MB, free: 1.195 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.4584, allocations: 3.938 kB / 491.1 MB, free: 1.191 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.4584, allocations: 7.75 kB / 491.1 MB, free: 1.188 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.4584, allocations: 3.938 kB / 491.1 MB, free: 1.184 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4584, allocations: 0 / 491.1 MB, free: 1.184 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002211/0.4586, allocations: 275.5 kB / 491.4 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.667e-05/0.4587, allocations: 115.8 kB / 491.5 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.14e-05/0.4588, allocations: 7.375 kB / 491.5 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.4589, allocations: 16.67 kB / 491.6 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.894e-05/0.4589, allocations: 5.312 kB / 491.6 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.459, allocations: 7.984 kB / 491.6 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.133e-05/0.4591, allocations: 143 kB / 491.7 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4591, allocations: 4 kB / 491.7 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003122/0.4594, allocations: 39.05 kB / 491.7 MB, free: 0.6172 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: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0006731/0.4601, allocations: 0.9541 MB / 492.7 MB, free: 15.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002347/0.4603, allocations: 129.7 kB / 492.8 MB, free: 15.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4603, allocations: 0 / 492.8 MB, free: 15.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.899e-05/0.4603, allocations: 7.938 kB / 492.8 MB, free: 15.6 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004124/0.4608, allocations: 133.5 kB / 493 MB, free: 15.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006705/0.4614, allocations: 282.1 kB / 493.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.4618, allocations: 0.7356 MB / 494 MB, free: 14.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.05e-05/0.4619, allocations: 17.33 kB / 494 MB, free: 14.44 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.819e-05/0.462, allocations: 46.11 kB / 494 MB, free: 14.41 MB / 362.7 MB Notification: Performance of SimCode: time 8.42e-07/0.462, allocations: 0 / 494 MB, free: 14.41 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01505/0.477, allocations: 3.804 MB / 497.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001615/0.4772, allocations: 175.6 kB / 498 MB, free: 10.65 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.705/2.182, allocations: 0 / 498 MB, free: 10.65 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat does not exist to compare? outputFormat=mat