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.001543/0.001543, 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.45/1.45, allocations: 225.6 MB / 234.8 MB, free: 3.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008823/0.0008823, allocations: 96.61 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.245e-05/2.245e-05, allocations: 4 kB / 343.8 MB, free: 8.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09066/0.0907, allocations: 51.47 MB / 395.3 MB, free: 4.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3226/0.4133, allocations: 78.81 MB / 474.1 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/0.4137, allocations: 80.45 kB / 474.2 MB, free: 12.88 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01361/0.4273, allocations: 4.863 MB / 479 MB, free: 9.98 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.4273, allocations: 3.938 kB / 479 MB, free: 9.977 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.487e-05/0.4274, allocations: 4 kB / 479 MB, free: 9.973 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.0004984/0.4279, allocations: 444.7 kB / 479.5 MB, free: 9.504 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.4279, allocations: 10 kB / 479.5 MB, free: 9.496 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001575/0.4281, allocations: 34.7 kB / 479.5 MB, free: 9.465 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002995/0.4284, allocations: 238.3 kB / 479.7 MB, free: 9.207 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.4284, allocations: 11.61 kB / 479.7 MB, free: 9.199 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/0.4284, allocations: 4 kB / 479.8 MB, free: 9.195 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001385/0.4286, allocations: 58.8 kB / 479.8 MB, free: 9.16 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004018/0.429, allocations: 271.6 kB / 480.1 MB, free: 8.938 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.429, allocations: 0 / 480.1 MB, free: 8.938 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.429, allocations: 0 / 480.1 MB, free: 8.938 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.4291, allocations: 4 kB / 480.1 MB, free: 8.934 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003881/0.4295, allocations: 328.3 kB / 480.4 MB, free: 8.605 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000262/0.4297, allocations: 215.3 kB / 480.6 MB, free: 8.395 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.4298, allocations: 79.44 kB / 480.7 MB, free: 8.336 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000456/0.4303, allocations: 0.5817 MB / 481.3 MB, free: 7.625 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.4303, allocations: 42.42 kB / 481.3 MB, free: 7.578 MB / 346.7 MB Notification: Performance of pre-optimization done (n=19): time 1.654e-06/0.4304, allocations: 0 / 481.3 MB, free: 7.578 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.0003385/0.4307, allocations: 139.6 kB / 481.4 MB, free: 7.461 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/0.4308, allocations: 118.3 kB / 481.6 MB, free: 7.324 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.4309, allocations: 157.5 kB / 481.7 MB, free: 7.184 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.4309, allocations: 31.7 kB / 481.7 MB, free: 7.148 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.08e-05/0.431, allocations: 109.5 kB / 481.9 MB, free: 7.055 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/0.431, allocations: 15.33 kB / 481.9 MB, free: 7.043 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-06/0.431, allocations: 3.938 kB / 481.9 MB, free: 7.039 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.17e-05/0.4311, allocations: 330.4 kB / 482.2 MB, free: 6.715 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.851e-05/0.4311, allocations: 30.86 kB / 482.2 MB, free: 6.695 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.864e-05/0.4312, allocations: 148.2 kB / 482.4 MB, free: 6.508 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.685e-05/0.4313, allocations: 63.12 kB / 482.4 MB, free: 6.461 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4313, allocations: 0 / 482.4 MB, free: 6.461 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002247/0.4315, allocations: 175.1 kB / 482.6 MB, free: 6.305 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.4316, allocations: 8 kB / 482.6 MB, free: 6.297 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.4316, allocations: 5.719 kB / 482.6 MB, free: 6.293 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.571e-05/0.4316, allocations: 15.92 kB / 482.6 MB, free: 6.277 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.4318, allocations: 43.73 kB / 482.7 MB, free: 6.238 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.984e-06/0.4318, allocations: 4 kB / 482.7 MB, free: 6.234 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.4319, allocations: 23.94 kB / 482.7 MB, free: 6.211 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.4319, allocations: 11.98 kB / 482.7 MB, free: 6.199 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 7.554e-05/0.432, allocations: 120.6 kB / 482.8 MB, free: 6.078 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002223/0.4323, allocations: 143.6 kB / 483 MB, free: 5.957 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.578e-05/0.4323, allocations: 19.81 kB / 483 MB, free: 5.938 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002537/0.4326, allocations: 147.5 kB / 483.1 MB, free: 5.816 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.4326, allocations: 5.688 kB / 483.1 MB, free: 5.812 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4326, allocations: 3.953 kB / 483.1 MB, free: 5.809 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.4326, allocations: 0 / 483.1 MB, free: 5.809 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001575/0.4328, allocations: 202 kB / 483.3 MB, free: 5.598 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.904e-06/0.4328, allocations: 3.188 kB / 483.3 MB, free: 5.598 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001433/0.4329, allocations: 43.94 kB / 483.4 MB, free: 5.555 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.4329, allocations: 0 / 483.4 MB, free: 5.555 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.433, allocations: 7.938 kB / 483.4 MB, free: 5.547 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.433, allocations: 0 / 483.4 MB, free: 5.547 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.433, allocations: 0 / 483.4 MB, free: 5.547 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002494/0.4332, allocations: 267.4 kB / 483.7 MB, free: 5.293 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.271e-05/0.4333, allocations: 110.9 kB / 483.8 MB, free: 5.176 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/0.4334, allocations: 7.984 kB / 483.8 MB, free: 5.168 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.4335, allocations: 8 kB / 483.8 MB, free: 5.16 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.45e-05/0.4335, allocations: 3.984 kB / 483.8 MB, free: 5.156 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.4336, allocations: 7.562 kB / 483.8 MB, free: 5.152 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.862e-05/0.4337, allocations: 137.7 kB / 483.9 MB, free: 5.035 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4337, allocations: 4 kB / 483.9 MB, free: 5.031 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003237/0.434, allocations: 36.88 kB / 484 MB, free: 4.996 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.0006419/0.4346, allocations: 0.9393 MB / 484.9 MB, free: 4.09 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002478/0.4349, allocations: 112.5 kB / 485 MB, free: 4.004 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4349, allocations: 0 / 485 MB, free: 4.004 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.523e-05/0.4349, allocations: 7.562 kB / 485 MB, free: 4 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004597/0.4354, allocations: 129.7 kB / 485.1 MB, free: 3.898 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006683/0.4361, allocations: 262.8 kB / 485.4 MB, free: 3.633 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001678/0.4363, allocations: 0.7432 MB / 486.1 MB, free: 2.867 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.764e-05/0.4363, allocations: 17.41 kB / 486.2 MB, free: 2.852 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.781e-05/0.4364, allocations: 47.42 kB / 486.2 MB, free: 2.828 MB / 346.7 MB Notification: Performance of SimCode: time 8.32e-07/0.4364, allocations: 0 / 486.2 MB, free: 2.828 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02473/0.4612, allocations: 3.364 MB / 489.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002268/0.4615, allocations: 168 kB / 489.7 MB, free: 15.35 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.69/2.151, allocations: 0 / 489.7 MB, free: 15.35 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