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-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: 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.001471/0.001471, allocations: 186.2 kB / 16.44 MB, free: 5.672 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.995/1.995, allocations: 205.4 MB / 222.6 MB, free: 9.121 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.001118/0.001118, allocations: 78.98 kB / 270.9 MB, free: 8.379 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.1001/0.1001, allocations: 12.59 MB / 331.8 MB, free: 11.4 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007467/0.0007467, allocations: 12 kB / 392 MB, free: 66.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09415/0.09493, allocations: 50.37 MB / 442.3 MB, free: 16.5 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4617/0.5566, allocations: 80.24 MB / 0.5103 GB, free: 12.59 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/0.5569, allocations: 60.36 kB / 0.5104 GB, free: 12.58 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02579/0.5827, allocations: 6.228 MB / 0.5165 GB, free: 10.15 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.5828, allocations: 0 / 0.5165 GB, free: 10.15 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.197e-05/0.5828, allocations: 3.844 kB / 0.5165 GB, free: 10.15 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.001047/0.5839, allocations: 0.5572 MB / 0.517 GB, free: 9.656 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.584, allocations: 11.56 kB / 0.517 GB, free: 9.656 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.143e-05/0.5841, allocations: 34.94 kB / 0.5171 GB, free: 9.637 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007164/0.5848, allocations: 340.4 kB / 0.5174 GB, free: 9.359 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/0.5848, allocations: 14.56 kB / 0.5174 GB, free: 9.359 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.532e-05/0.5849, allocations: 22.97 kB / 0.5174 GB, free: 9.359 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00156/0.5865, allocations: 0.6293 MB / 0.518 GB, free: 9.066 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.5865, allocations: 4 kB / 0.518 GB, free: 9.062 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.749e-05/0.5865, allocations: 7.625 kB / 0.5181 GB, free: 9.062 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.5866, allocations: 3.844 kB / 0.5181 GB, free: 9.062 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000643/0.5872, allocations: 163.8 kB / 0.5182 GB, free: 8.961 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007796/0.588, allocations: 0.5283 MB / 0.5187 GB, free: 8.441 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001204/0.5892, allocations: 0.5488 MB / 0.5193 GB, free: 7.91 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006616/0.5899, allocations: 0.5779 MB / 0.5198 GB, free: 7.203 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.59, allocations: 38.31 kB / 0.5199 GB, free: 7.16 MB / 330.7 MB Notification: Performance of pre-optimization done (n=44): time 3.276e-06/0.59, allocations: 4 kB / 0.5199 GB, free: 7.156 MB / 330.7 MB Notification: Performance of matching and sorting (n=44): time 0.001517/0.5915, allocations: 0.5224 MB / 0.5204 GB, free: 6.715 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/0.5917, allocations: 193.3 kB / 0.5206 GB, free: 6.5 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002963/0.592, allocations: 200.1 kB / 0.5208 GB, free: 6.328 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.763e-05/0.592, allocations: 36.27 kB / 0.5208 GB, free: 6.293 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.753e-05/0.5921, allocations: 192.2 kB / 0.521 GB, free: 6.125 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.179e-05/0.5922, allocations: 26.11 kB / 0.521 GB, free: 6.109 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.847e-05/0.5922, allocations: 7.188 kB / 0.521 GB, free: 6.105 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.219e-05/0.5923, allocations: 330 kB / 0.5213 GB, free: 5.781 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/0.5925, allocations: 58.84 kB / 0.5214 GB, free: 5.738 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002989/0.5928, allocations: 339.6 kB / 0.5217 GB, free: 5.305 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002668/0.5931, allocations: 116.6 kB / 0.5218 GB, free: 5.223 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.737e-06/0.5931, allocations: 4 kB / 0.5218 GB, free: 5.219 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007558/0.5938, allocations: 372.9 kB / 0.5222 GB, free: 4.914 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.5939, allocations: 8 kB / 0.5222 GB, free: 4.906 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.5939, allocations: 12 kB / 0.5222 GB, free: 4.895 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.207e-05/0.594, allocations: 15.98 kB / 0.5222 GB, free: 4.879 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004334/0.5944, allocations: 94.73 kB / 0.5223 GB, free: 4.789 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.913e-05/0.5944, allocations: 23.92 kB / 0.5223 GB, free: 4.766 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002981/0.5947, allocations: 39.09 kB / 0.5224 GB, free: 4.734 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.291e-05/0.5948, allocations: 24.73 kB / 0.5224 GB, free: 4.715 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.0002782/0.5951, allocations: 180.6 kB / 0.5226 GB, free: 4.551 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009028/0.596, allocations: 310 kB / 0.5228 GB, free: 4.312 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008913/0.5969, allocations: 316.8 kB / 0.5231 GB, free: 4.086 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.5969, allocations: 4 kB / 0.5232 GB, free: 4.082 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.5969, allocations: 7.891 kB / 0.5232 GB, free: 4.074 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.318e-06/0.597, allocations: 7.984 kB / 0.5232 GB, free: 4.066 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004146/0.5974, allocations: 299.3 kB / 0.5235 GB, free: 3.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/0.5974, allocations: 3.984 kB / 0.5235 GB, free: 3.766 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005178/0.5979, allocations: 83.08 kB / 0.5235 GB, free: 3.688 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.205e-06/0.598, allocations: 0 / 0.5235 GB, free: 3.688 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.828e-05/0.598, allocations: 7.5 kB / 0.5235 GB, free: 3.684 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.598, allocations: 4 kB / 0.5235 GB, free: 3.68 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.598, allocations: 7.938 kB / 0.5236 GB, free: 3.672 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.599, allocations: 0.5549 MB / 0.5241 GB, free: 3.16 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.467e-05/0.5991, allocations: 115.9 kB / 0.5242 GB, free: 3.031 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.558e-05/0.5992, allocations: 7.688 kB / 0.5242 GB, free: 3.027 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003193/0.5995, allocations: 22.11 kB / 0.5242 GB, free: 3.012 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.5996, allocations: 8 kB / 0.5242 GB, free: 3.004 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.323e-05/0.5996, allocations: 11.56 kB / 0.5243 GB, free: 2.996 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000228/0.5999, allocations: 164.4 kB / 0.5244 GB, free: 2.859 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5999, allocations: 0 / 0.5244 GB, free: 2.859 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006562/0.6006, allocations: 61.48 kB / 0.5245 GB, free: 2.812 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.0002306/0.6008, allocations: 124.8 kB / 0.5246 GB, free: 2.684 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009228/0.6017, allocations: 278.3 kB / 0.5249 GB, free: 2.465 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/0.6018, allocations: 4.188 kB / 0.5249 GB, free: 2.461 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.558e-05/0.6019, allocations: 22.23 kB / 0.5249 GB, free: 2.441 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/0.603, allocations: 259.8 kB / 0.5251 GB, free: 2.23 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.6049, allocations: 0.6314 MB / 0.5257 GB, free: 1.625 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.6052, allocations: 0.7967 MB / 0.5265 GB, free: 0.8086 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.6053, allocations: 31.42 kB / 0.5266 GB, free: 0.7812 MB / 330.7 MB Notification: Performance of SimCode: time 9.52e-07/0.6053, allocations: 0 / 0.5266 GB, free: 0.7812 MB / 330.7 MB Notification: Performance of Templates: time 0.009163/0.6145, allocations: 3.535 MB / 0.53 GB, free: 13.29 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)