Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC.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/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/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: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008764/0.0008765, allocations: 181.6 kB / 17.46 MB, free: 4.238 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.397/1.397, allocations: 205.4 MB / 223.6 MB, free: 8.941 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.000738/0.0007381, allocations: 90.41 kB / 272 MB, free: 8.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07007/0.07007, allocations: 12.2 MB / 332.4 MB, free: 11.63 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004443/0.0004443, allocations: 20 kB / 392.7 MB, free: 67.06 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09337/0.09383, allocations: 50.28 MB / 443 MB, free: 16.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3204/0.4143, allocations: 80.21 MB / 0.511 GB, free: 12.8 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001851/0.4145, allocations: 59.08 kB / 0.511 GB, free: 12.79 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01442/0.4289, allocations: 6.231 MB / 0.5171 GB, free: 10.35 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.429, allocations: 0 / 0.5171 GB, free: 10.35 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.093e-05/0.429, allocations: 3.844 kB / 0.5171 GB, free: 10.35 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0006708/0.4297, allocations: 0.5483 MB / 0.5176 GB, free: 9.859 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.4297, allocations: 7.688 kB / 0.5176 GB, free: 9.859 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.243e-05/0.4298, allocations: 35.72 kB / 0.5177 GB, free: 9.844 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004865/0.4303, allocations: 353.7 kB / 0.518 GB, free: 9.559 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.4303, allocations: 14.56 kB / 0.518 GB, free: 9.559 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.134e-05/0.4304, allocations: 21.66 kB / 0.518 GB, free: 9.559 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009354/0.4313, allocations: 0.6316 MB / 0.5187 GB, free: 9.27 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.4313, allocations: 11.81 kB / 0.5187 GB, free: 9.258 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.234e-05/0.4314, allocations: 6.875 kB / 0.5187 GB, free: 9.258 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.4314, allocations: 11.84 kB / 0.5187 GB, free: 9.254 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003456/0.4317, allocations: 152.2 kB / 0.5188 GB, free: 9.227 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005181/0.4322, allocations: 0.5348 MB / 0.5194 GB, free: 8.762 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006881/0.4329, allocations: 0.5414 MB / 0.5199 GB, free: 8.406 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003074/0.4333, allocations: 230.2 kB / 0.5201 GB, free: 8.227 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004218/0.4337, allocations: 0.5816 MB / 0.5207 GB, free: 7.52 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.4337, allocations: 45.12 kB / 0.5207 GB, free: 7.473 MB / 330.7 MB Notification: Performance of pre-optimization done (n=44): time 2.013e-06/0.4337, allocations: 0 / 0.5207 GB, free: 7.473 MB / 330.7 MB Notification: Performance of matching and sorting (n=44): time 0.0008442/0.4346, allocations: 449.6 kB / 0.5211 GB, free: 7.125 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.596e-05/0.4347, allocations: 191.2 kB / 0.5213 GB, free: 6.914 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/0.4349, allocations: 223.4 kB / 0.5215 GB, free: 6.723 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.4349, allocations: 32.7 kB / 0.5216 GB, free: 6.691 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.399e-05/0.435, allocations: 136 kB / 0.5217 GB, free: 6.582 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.361e-05/0.435, allocations: 33.91 kB / 0.5217 GB, free: 6.559 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.207e-06/0.435, allocations: 3.875 kB / 0.5217 GB, free: 6.559 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.001e-05/0.4351, allocations: 345.3 kB / 0.5221 GB, free: 6.227 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.4352, allocations: 69.39 kB / 0.5221 GB, free: 6.172 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001749/0.4354, allocations: 333.1 kB / 0.5225 GB, free: 5.746 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003643/0.4358, allocations: 420.8 kB / 0.5229 GB, free: 5.254 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/0.4358, allocations: 8 kB / 0.5229 GB, free: 5.246 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005127/0.4363, allocations: 394.8 kB / 0.5232 GB, free: 4.918 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.4363, allocations: 8 kB / 0.5232 GB, free: 4.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.4363, allocations: 12 kB / 0.5233 GB, free: 4.898 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/0.4364, allocations: 12.19 kB / 0.5233 GB, free: 4.887 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002249/0.4366, allocations: 90.52 kB / 0.5234 GB, free: 4.801 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.691e-05/0.4366, allocations: 15.94 kB / 0.5234 GB, free: 4.785 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/0.4368, allocations: 35.45 kB / 0.5234 GB, free: 4.758 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.733e-05/0.4368, allocations: 31.92 kB / 0.5234 GB, free: 4.73 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 () * Number of clocked states: 3 (sample1.noise.seedState[3],sample1.noise.seedState[2],sample1.noise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * 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.0001582/0.437, allocations: 182.7 kB / 0.5236 GB, free: 4.562 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004867/0.4375, allocations: 296.4 kB / 0.5239 GB, free: 4.336 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005043/0.438, allocations: 322.7 kB / 0.5242 GB, free: 4.105 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.438, allocations: 7.938 kB / 0.5242 GB, free: 4.098 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.438, allocations: 7.938 kB / 0.5242 GB, free: 4.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.4381, allocations: 7.922 kB / 0.5242 GB, free: 4.082 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002625/0.4383, allocations: 298 kB / 0.5245 GB, free: 3.785 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.826e-06/0.4383, allocations: 4 kB / 0.5245 GB, free: 3.781 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002537/0.4386, allocations: 87.12 kB / 0.5246 GB, free: 3.699 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.4386, allocations: 4 kB / 0.5246 GB, free: 3.695 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/0.4386, allocations: 3.625 kB / 0.5246 GB, free: 3.695 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.4387, allocations: 4 kB / 0.5246 GB, free: 3.691 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4387, allocations: 0 / 0.5246 GB, free: 3.691 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005749/0.4392, allocations: 0.5227 MB / 0.5251 GB, free: 3.227 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.096e-05/0.4393, allocations: 108.1 kB / 0.5252 GB, free: 3.105 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.391e-05/0.4394, allocations: 17.98 kB / 0.5252 GB, free: 3.094 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.4395, allocations: 19.48 kB / 0.5253 GB, free: 3.078 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.616e-05/0.4396, allocations: 7.5 kB / 0.5253 GB, free: 3.074 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.507e-05/0.4397, allocations: 8 kB / 0.5253 GB, free: 3.066 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000135/0.4398, allocations: 170.7 kB / 0.5254 GB, free: 2.926 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4398, allocations: 0 / 0.5254 GB, free: 2.926 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004708/0.4403, allocations: 59.44 kB / 0.5255 GB, free: 2.879 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 () * Number of clocked states: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * 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.0002156/0.4405, allocations: 122.3 kB / 0.5256 GB, free: 2.758 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000511/0.441, allocations: 282.9 kB / 0.5259 GB, free: 2.531 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.441, allocations: 7.875 kB / 0.5259 GB, free: 2.527 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.064e-05/0.4411, allocations: 8 kB / 0.5259 GB, free: 2.52 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008921/0.442, allocations: 272.9 kB / 0.5261 GB, free: 2.301 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.4431, allocations: 0.6395 MB / 0.5268 GB, free: 1.691 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/0.4433, allocations: 0.7863 MB / 0.5275 GB, free: 0.8867 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.347e-05/0.4434, allocations: 31.42 kB / 0.5276 GB, free: 0.8594 MB / 330.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4434, allocations: 0 / 0.5276 GB, free: 0.8594 MB / 330.7 MB Notification: Performance of Templates: time 0.006403/0.4498, allocations: 3.597 MB / 0.5311 GB, free: 13.3 MB / 346.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC.pipe 2>&1)