Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_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: "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC",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.001701/0.001701, allocations: 180.9 kB / 15.8 MB, free: 6.34 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.027/2.027, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001205/0.001205, allocations: 102.8 kB / 270.3 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1014/0.1014, allocations: 12.59 MB / 331.1 MB, free: 10.3 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005582/0.0005582, allocations: 14.88 kB / 392.1 MB, free: 54.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1068, allocations: 50.38 MB / 442.5 MB, free: 10.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1488/0.2556, allocations: 80.23 MB / 0.5105 GB, free: 10.49 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/0.2559, allocations: 63.97 kB / 0.5105 GB, free: 10.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03003/0.286, allocations: 6.235 MB / 0.5166 GB, free: 4.176 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.286, allocations: 0 / 0.5166 GB, free: 4.176 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.703e-05/0.2861, allocations: 12 kB / 0.5166 GB, free: 4.164 MB / 362.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.001257/0.2874, allocations: 0.5492 MB / 0.5172 GB, free: 3.566 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.2874, allocations: 8.031 kB / 0.5172 GB, free: 3.559 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001014/0.2875, allocations: 62.53 kB / 0.5172 GB, free: 3.488 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.621e-05/0.2876, allocations: 36.31 kB / 0.5173 GB, free: 3.453 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008783/0.2885, allocations: 337.7 kB / 0.5176 GB, free: 3.086 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.22e-05/0.2886, allocations: 20.38 kB / 0.5176 GB, free: 3.066 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.004e-05/0.2886, allocations: 16 kB / 0.5176 GB, free: 3.051 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001915/0.2906, allocations: 0.6359 MB / 0.5182 GB, free: 2.371 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.2906, allocations: 0 / 0.5182 GB, free: 2.371 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.791e-05/0.2907, allocations: 12 kB / 0.5182 GB, free: 2.359 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.2907, allocations: 4 kB / 0.5183 GB, free: 2.355 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007351/0.2915, allocations: 160.2 kB / 0.5184 GB, free: 2.195 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.2925, allocations: 0.5336 MB / 0.5189 GB, free: 1.602 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001675/0.2942, allocations: 0.54 MB / 0.5195 GB, free: 0.9883 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008938/0.2951, allocations: 0.5821 MB / 0.52 GB, free: 284 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.301e-05/0.2952, allocations: 42.67 kB / 0.5201 GB, free: 232 kB / 362.7 MB Notification: Performance of pre-optimization done (n=44): time 3.406e-06/0.2952, allocations: 0 / 0.5201 GB, free: 232 kB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.2864/0.5817, allocations: 0.5174 MB / 0.5206 GB, free: 84.81 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/0.5818, allocations: 183.1 kB / 0.5207 GB, free: 84.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003008/0.5821, allocations: 197.5 kB / 0.5209 GB, free: 84.53 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.837e-05/0.5822, allocations: 35.98 kB / 0.521 GB, free: 84.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.228e-05/0.5823, allocations: 127.8 kB / 0.5211 GB, free: 84.42 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.686e-05/0.5824, allocations: 32.95 kB / 0.5211 GB, free: 84.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.307e-05/0.5824, allocations: 9.094 kB / 0.5211 GB, free: 84.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.958e-05/0.5825, allocations: 345.3 kB / 0.5215 GB, free: 84.1 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001951/0.5827, allocations: 61.39 kB / 0.5215 GB, free: 84.1 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003439/0.5831, allocations: 338.7 kB / 0.5218 GB, free: 83.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003007/0.5834, allocations: 125.7 kB / 0.522 GB, free: 83.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.748e-06/0.5834, allocations: 2.5 kB / 0.522 GB, free: 83.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009136/0.5843, allocations: 396.1 kB / 0.5223 GB, free: 83.67 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/0.5844, allocations: 8.688 kB / 0.5223 GB, free: 83.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.919e-05/0.5844, allocations: 8.875 kB / 0.5224 GB, free: 83.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.822e-05/0.5845, allocations: 18.12 kB / 0.5224 GB, free: 83.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005041/0.585, allocations: 88.78 kB / 0.5225 GB, free: 83.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.981e-05/0.585, allocations: 18.31 kB / 0.5225 GB, free: 83.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003125/0.5853, allocations: 43.12 kB / 0.5225 GB, free: 83.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.427e-05/0.5854, allocations: 20.62 kB / 0.5225 GB, free: 83.65 MB / 362.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.0002993/0.5857, allocations: 179.5 kB / 0.5227 GB, free: 83.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009817/0.5867, allocations: 308 kB / 0.523 GB, free: 83.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001009/0.5877, allocations: 321.7 kB / 0.5233 GB, free: 83.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.5878, allocations: 4.781 kB / 0.5233 GB, free: 83.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.5878, allocations: 2.688 kB / 0.5233 GB, free: 83.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.5878, allocations: 8.406 kB / 0.5233 GB, free: 83.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000534/0.5884, allocations: 300 kB / 0.5236 GB, free: 83.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.63e-05/0.5884, allocations: 7.266 kB / 0.5236 GB, free: 83.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005898/0.589, allocations: 79 kB / 0.5237 GB, free: 83.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.069e-05/0.589, allocations: 3.938 kB / 0.5237 GB, free: 83.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.257e-05/0.5891, allocations: 14.77 kB / 0.5237 GB, free: 83.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.237e-06/0.5891, allocations: 6.188 kB / 0.5237 GB, free: 83.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.5891, allocations: 1.375 kB / 0.5237 GB, free: 83.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001218/0.5903, allocations: 0.5471 MB / 0.5242 GB, free: 82.9 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.744e-05/0.5904, allocations: 113.8 kB / 0.5244 GB, free: 82.79 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.36e-05/0.5905, allocations: 10.67 kB / 0.5244 GB, free: 82.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003414/0.5909, allocations: 22.33 kB / 0.5244 GB, free: 82.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.288e-05/0.591, allocations: 13.84 kB / 0.5244 GB, free: 82.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-05/0.591, allocations: 13.28 kB / 0.5244 GB, free: 82.78 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002504/0.5913, allocations: 163.7 kB / 0.5246 GB, free: 82.7 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5913, allocations: 3.938 kB / 0.5246 GB, free: 82.7 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000747/0.592, allocations: 57.8 kB / 0.5246 GB, free: 82.7 MB / 362.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.002289/0.5943, allocations: 1.469 MB / 0.5261 GB, free: 81.67 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001019/0.5954, allocations: 280.7 kB / 0.5263 GB, free: 81.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.5955, allocations: 5.281 kB / 0.5263 GB, free: 81.63 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.923e-05/0.5956, allocations: 13.39 kB / 0.5263 GB, free: 81.63 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001417/0.597, allocations: 260.3 kB / 0.5266 GB, free: 81.58 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005875/0.6029, allocations: 8.02 MB / 0.5344 GB, free: 74.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/0.6033, allocations: 0.788 MB / 0.5352 GB, free: 73.62 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002041/0.6035, allocations: 35.55 kB / 0.5352 GB, free: 73.61 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002299/0.6038, allocations: 93.19 kB / 0.5353 GB, free: 73.6 MB / 362.7 MB Notification: Performance of SimCode: time 1.182e-06/0.6038, allocations: 0 / 0.5353 GB, free: 73.6 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03524/0.639, allocations: 5.967 MB / 0.5411 GB, free: 72.8 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002623/0.6394, allocations: 203.1 kB / 0.5413 GB, free: 72.55 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.611/3.251, allocations: 0 / 0.5413 GB, free: 72.55 MB / 362.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC_fmu --startTime=0 --stopTime=1.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestSimulatedADC.fmu > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC.pipe 2>&1)