Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001649/0.001649, allocations: 181.7 kB / 13.23 MB, free: 2.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.145/2.145, allocations: 205.2 MB / 219 MB, free: 9.133 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00126/0.00126, allocations: 91.86 kB / 267.1 MB, free: 9.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1107/0.1107, allocations: 12.58 MB / 327.8 MB, free: 12.47 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.183e-05/4.199e-05, allocations: 4 kB / 386.1 MB, free: 69.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09832/0.09841, allocations: 50.37 MB / 436.5 MB, free: 19.11 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4419/0.5404, allocations: 79.69 MB / 0.5041 GB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/0.5407, allocations: 81.91 kB / 0.5041 GB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02045/0.5612, allocations: 4.585 MB / 0.5086 GB, free: 10.6 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5613, allocations: 4 kB / 0.5086 GB, free: 10.6 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.899e-05/0.5613, allocations: 3.844 kB / 0.5086 GB, free: 10.6 MB / 330.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.0007023/0.562, allocations: 447 kB / 0.5091 GB, free: 10.18 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.5621, allocations: 7.812 kB / 0.5091 GB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.656e-05/0.5621, allocations: 45.2 kB / 0.5091 GB, free: 10.13 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.92e-05/0.5622, allocations: 23.06 kB / 0.5091 GB, free: 10.12 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003765/0.5626, allocations: 232.5 kB / 0.5093 GB, free: 9.895 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.5626, allocations: 11.44 kB / 0.5094 GB, free: 9.891 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.908e-05/0.5627, allocations: 7.219 kB / 0.5094 GB, free: 9.891 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00065/0.5633, allocations: 289.5 kB / 0.5096 GB, free: 9.77 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.5634, allocations: 3.938 kB / 0.5096 GB, free: 9.766 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/0.5634, allocations: 3.312 kB / 0.5097 GB, free: 9.766 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.5634, allocations: 3.625 kB / 0.5097 GB, free: 9.766 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001691/0.5636, allocations: 55.38 kB / 0.5097 GB, free: 9.762 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005571/0.5642, allocations: 361.4 kB / 0.5101 GB, free: 9.434 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004276/0.5646, allocations: 226.5 kB / 0.5103 GB, free: 9.281 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001807/0.5648, allocations: 88.42 kB / 0.5104 GB, free: 9.258 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007008/0.5655, allocations: 0.5838 MB / 0.5109 GB, free: 8.582 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.5656, allocations: 38.47 kB / 0.511 GB, free: 8.539 MB / 330.7 MB Notification: Performance of pre-optimization done (n=19): time 3.537e-06/0.5656, allocations: 0 / 0.511 GB, free: 8.539 MB / 330.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005082/0.5661, allocations: 149.1 kB / 0.5111 GB, free: 8.484 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.111e-05/0.5662, allocations: 121.1 kB / 0.5112 GB, free: 8.355 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/0.5664, allocations: 180 kB / 0.5114 GB, free: 8.242 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.5665, allocations: 28.83 kB / 0.5114 GB, free: 8.211 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.42e-05/0.5665, allocations: 102.2 kB / 0.5115 GB, free: 8.125 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/0.5666, allocations: 18.77 kB / 0.5115 GB, free: 8.117 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.758e-06/0.5666, allocations: 3.906 kB / 0.5115 GB, free: 8.117 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.118e-05/0.5667, allocations: 329.2 kB / 0.5118 GB, free: 7.797 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.007e-05/0.5668, allocations: 30.97 kB / 0.5119 GB, free: 7.797 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/0.5669, allocations: 159.9 kB / 0.512 GB, free: 7.629 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001328/0.5671, allocations: 55.89 kB / 0.5121 GB, free: 7.613 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.962e-06/0.5671, allocations: 11.58 kB / 0.5121 GB, free: 7.605 MB / 330.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003917/0.5675, allocations: 205.3 kB / 0.5123 GB, free: 7.52 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.5675, allocations: 3.812 kB / 0.5123 GB, free: 7.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.5676, allocations: 11.52 kB / 0.5123 GB, free: 7.516 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.52e-05/0.5676, allocations: 3.844 kB / 0.5123 GB, free: 7.516 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002863/0.5679, allocations: 46.05 kB / 0.5124 GB, free: 7.508 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.441e-05/0.5679, allocations: 15.45 kB / 0.5124 GB, free: 7.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/0.5681, allocations: 18.45 kB / 0.5124 GB, free: 7.492 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.5681, allocations: 11.53 kB / 0.5124 GB, free: 7.492 MB / 330.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 (sample.noise.seedState[3],$CLKPRE.sample.noise.seedState[3],sample.noise.seedState[2],$CLKPRE.sample.noise.seedState[2],sample.noise.seedState[1],$CLKPRE.sample.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 0.0001313/0.5683, allocations: 130 kB / 0.5125 GB, free: 7.375 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003281/0.5686, allocations: 137.8 kB / 0.5127 GB, free: 7.324 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003983/0.569, allocations: 166 kB / 0.5128 GB, free: 7.266 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.238e-06/0.5691, allocations: 11.83 kB / 0.5128 GB, free: 7.258 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.5691, allocations: 4 kB / 0.5128 GB, free: 7.254 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.5691, allocations: 0 / 0.5128 GB, free: 7.254 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002554/0.5694, allocations: 227.4 kB / 0.513 GB, free: 7.027 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/0.5694, allocations: 3.844 kB / 0.513 GB, free: 7.027 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002873/0.5697, allocations: 37.7 kB / 0.5131 GB, free: 7.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.5697, allocations: 0 / 0.5131 GB, free: 7.02 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.993e-05/0.5698, allocations: 3.984 kB / 0.5131 GB, free: 7.016 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.5698, allocations: 3.938 kB / 0.5131 GB, free: 7.016 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.5698, allocations: 3.953 kB / 0.5131 GB, free: 7.012 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003768/0.5702, allocations: 269.4 kB / 0.5133 GB, free: 6.828 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.5703, allocations: 122.5 kB / 0.5135 GB, free: 6.711 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.953e-05/0.5704, allocations: 7.594 kB / 0.5135 GB, free: 6.711 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/0.5706, allocations: 15.48 kB / 0.5135 GB, free: 6.707 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.001e-05/0.5706, allocations: 7.938 kB / 0.5135 GB, free: 6.699 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.591e-05/0.5707, allocations: 3.844 kB / 0.5135 GB, free: 6.699 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001571/0.5708, allocations: 147.2 kB / 0.5136 GB, free: 6.613 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5709, allocations: 0 / 0.5136 GB, free: 6.613 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004442/0.5713, allocations: 30.56 kB / 0.5137 GB, free: 6.613 MB / 330.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 (sample.noise.seedState[1],sample.noise.seedState[2],sample.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.000925/0.5722, allocations: 0.9555 MB / 0.5146 GB, free: 5.828 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003563/0.5726, allocations: 124.3 kB / 0.5147 GB, free: 5.809 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.5727, allocations: 3.875 kB / 0.5147 GB, free: 5.809 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.434e-05/0.5727, allocations: 0 / 0.5147 GB, free: 5.809 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006848/0.5734, allocations: 139.3 kB / 0.5149 GB, free: 5.75 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.5744, allocations: 272 kB / 0.5151 GB, free: 5.574 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/0.5747, allocations: 0.7406 MB / 0.5158 GB, free: 4.848 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001022/0.5748, allocations: 24.8 kB / 0.5159 GB, free: 4.836 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.5749, allocations: 40.86 kB / 0.5159 GB, free: 4.824 MB / 330.7 MB Notification: Performance of SimCode: time 1.673e-06/0.5749, allocations: 0 / 0.5159 GB, free: 4.824 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02899/0.6039, allocations: 3.807 MB / 0.5196 GB, free: 2.891 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002556/0.6043, allocations: 181.5 kB / 0.5198 GB, free: 2.668 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.657/3.261, allocations: 3.844 kB / 0.5198 GB, free: 2.668 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat does not exist to compare? outputFormat=mat