Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.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.TestRealSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00109/0.00109, allocations: 182.3 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 1.564/1.564, allocations: 205.2 MB / 219 MB, free: 9.207 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.001028/0.001028, allocations: 86.59 kB / 267.1 MB, free: 9.273 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.08863/0.08863, allocations: 12.59 MB / 327.8 MB, free: 12.48 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.193e-05/3.197e-05, allocations: 4 kB / 386 MB, free: 69.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1217, allocations: 50.37 MB / 436.4 MB, free: 19.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4499/0.5716, allocations: 78.48 MB / 0.5028 GB, free: 11.9 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002018/0.5719, allocations: 54.27 kB / 0.5028 GB, free: 11.9 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007999/0.5799, allocations: 3.141 MB / 0.5059 GB, free: 11.39 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5799, allocations: 0 / 0.5059 GB, free: 11.39 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.378e-05/0.5799, allocations: 4 kB / 0.5059 GB, free: 11.39 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0003885/0.5803, allocations: 419.2 kB / 0.5063 GB, free: 10.99 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.041e-05/0.5804, allocations: 11.22 kB / 0.5063 GB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.475e-05/0.5805, allocations: 15.16 kB / 0.5063 GB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.5807, allocations: 225.5 kB / 0.5065 GB, free: 10.76 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.5807, allocations: 15.53 kB / 0.5066 GB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.5808, allocations: 11.47 kB / 0.5066 GB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000502/0.5813, allocations: 328.1 kB / 0.5069 GB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.5813, allocations: 3.984 kB / 0.5069 GB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.5813, allocations: 3.25 kB / 0.5069 GB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.5813, allocations: 3.812 kB / 0.5069 GB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001424/0.5815, allocations: 100.8 kB / 0.507 GB, free: 10.58 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005132/0.582, allocations: 470.4 kB / 0.5074 GB, free: 10.15 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00031/0.5823, allocations: 213.8 kB / 0.5076 GB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/0.5825, allocations: 124.8 kB / 0.5078 GB, free: 9.969 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.952e-05/0.5825, allocations: 11.16 kB / 0.5078 GB, free: 9.965 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.5825, allocations: 37.53 kB / 0.5078 GB, free: 9.926 MB / 330.7 MB Notification: Performance of pre-optimization done (n=18): time 1.343e-06/0.5825, allocations: 0 / 0.5078 GB, free: 9.926 MB / 330.7 MB Notification: Performance of matching and sorting (n=18): time 0.0003163/0.5828, allocations: 183.8 kB / 0.508 GB, free: 9.852 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.962e-05/0.5829, allocations: 143.1 kB / 0.5081 GB, free: 9.691 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.583, allocations: 138 kB / 0.5083 GB, free: 9.582 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.583, allocations: 32.95 kB / 0.5083 GB, free: 9.551 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.912e-05/0.5831, allocations: 112.7 kB / 0.5084 GB, free: 9.453 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.5831, allocations: 11.44 kB / 0.5084 GB, free: 9.449 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-06/0.5831, allocations: 0 / 0.5084 GB, free: 9.449 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.951e-05/0.5832, allocations: 324.2 kB / 0.5087 GB, free: 9.133 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.4e-05/0.5832, allocations: 37.08 kB / 0.5087 GB, free: 9.125 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.985e-05/0.5833, allocations: 136.4 kB / 0.5089 GB, free: 8.973 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.993e-05/0.5834, allocations: 57 kB / 0.5089 GB, free: 8.953 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.5834, allocations: 0 / 0.5089 GB, free: 8.953 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002101/0.5836, allocations: 190.8 kB / 0.5091 GB, free: 8.867 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.5837, allocations: 3.844 kB / 0.5091 GB, free: 8.867 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.5837, allocations: 3.844 kB / 0.5091 GB, free: 8.867 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.5837, allocations: 11.7 kB / 0.5091 GB, free: 8.863 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.5838, allocations: 43.19 kB / 0.5092 GB, free: 8.852 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.5838, allocations: 7.844 kB / 0.5092 GB, free: 8.848 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.463e-05/0.5839, allocations: 14.41 kB / 0.5092 GB, free: 8.848 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.5839, allocations: 7.688 kB / 0.5092 GB, free: 8.848 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 6.295e-05/0.584, allocations: 129 kB / 0.5093 GB, free: 8.727 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000199/0.5842, allocations: 160.4 kB / 0.5095 GB, free: 8.66 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.932e-05/0.5843, allocations: 18.91 kB / 0.5095 GB, free: 8.66 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.5843, allocations: 3.844 kB / 0.5095 GB, free: 8.66 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.5843, allocations: 7.984 kB / 0.5095 GB, free: 8.652 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.5843, allocations: 7.828 kB / 0.5095 GB, free: 8.648 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/0.5846, allocations: 209.2 kB / 0.5097 GB, free: 8.434 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.5846, allocations: 0 / 0.5097 GB, free: 8.434 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001345/0.5847, allocations: 46 kB / 0.5098 GB, free: 8.422 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.5847, allocations: 0 / 0.5098 GB, free: 8.422 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.5847, allocations: 3.844 kB / 0.5098 GB, free: 8.422 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.5847, allocations: 3.938 kB / 0.5098 GB, free: 8.418 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.5847, allocations: 3.844 kB / 0.5098 GB, free: 8.418 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002622/0.585, allocations: 399.6 kB / 0.5102 GB, free: 8.113 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.938e-05/0.5851, allocations: 96.56 kB / 0.5102 GB, free: 8.008 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/0.5851, allocations: 11.61 kB / 0.5103 GB, free: 8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.5852, allocations: 7.656 kB / 0.5103 GB, free: 8 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.281e-05/0.5853, allocations: 0 / 0.5103 GB, free: 8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.5853, allocations: 14.73 kB / 0.5103 GB, free: 7.996 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.348e-05/0.5853, allocations: 117.8 kB / 0.5104 GB, free: 7.91 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5853, allocations: 0 / 0.5104 GB, free: 7.91 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002799/0.5856, allocations: 26.69 kB / 0.5104 GB, free: 7.906 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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 Backend phase and start with SimCode phase: time 8.955e-05/0.5857, allocations: 97.09 kB / 0.5105 GB, free: 7.816 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001991/0.5859, allocations: 125.2 kB / 0.5106 GB, free: 7.789 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.5859, allocations: 0 / 0.5106 GB, free: 7.789 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.727e-05/0.586, allocations: 14.55 kB / 0.5106 GB, free: 7.785 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003756/0.5863, allocations: 105.8 kB / 0.5107 GB, free: 7.762 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004404/0.5868, allocations: 266.3 kB / 0.511 GB, free: 7.594 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001965/0.587, allocations: 0.7455 MB / 0.5117 GB, free: 6.871 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.253e-05/0.5871, allocations: 24.47 kB / 0.5117 GB, free: 6.855 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.661e-05/0.5871, allocations: 11.12 kB / 0.5118 GB, free: 6.848 MB / 330.7 MB Notification: Performance of SimCode: time 3.1e-07/0.5871, allocations: 0 / 0.5118 GB, free: 6.848 MB / 330.7 MB Notification: Performance of Templates: time 0.003244/0.5904, allocations: 1.178 MB / 0.5129 GB, free: 6.289 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe 2>&1)