Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.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.TestShiftSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001366/0.001366, allocations: 179.8 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 1.663/1.663, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.0009603/0.0009604, allocations: 94.84 kB / 270.3 MB, free: 13.34 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.09232/0.09232, allocations: 12.61 MB / 331.1 MB, free: 10.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004007/0.0004008, allocations: 14.06 kB / 392 MB, free: 54.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1161, allocations: 50.37 MB / 442.4 MB, free: 10.94 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1135/0.2297, allocations: 78.25 MB / 0.5084 GB, free: 12.58 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/0.23, allocations: 59.97 kB / 0.5085 GB, free: 12.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003774/0.2338, allocations: 1.425 MB / 0.5099 GB, free: 11.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2338, allocations: 0 / 0.5099 GB, free: 11.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.2338, allocations: 7.984 kB / 0.5099 GB, free: 11.09 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004182/0.2343, allocations: 378.9 kB / 0.5102 GB, free: 10.67 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.2343, allocations: 12.03 kB / 0.5102 GB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.964e-05/0.2344, allocations: 7.906 kB / 0.5102 GB, free: 10.65 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.2346, allocations: 190.9 kB / 0.5104 GB, free: 10.42 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.2346, allocations: 7.953 kB / 0.5104 GB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.2346, allocations: 4 kB / 0.5104 GB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003588/0.235, allocations: 165.8 kB / 0.5106 GB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.235, allocations: 0 / 0.5106 GB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.235, allocations: 8 kB / 0.5106 GB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.235, allocations: 0 / 0.5106 GB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001054/0.2351, allocations: 39.91 kB / 0.5106 GB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004005/0.2356, allocations: 282.6 kB / 0.5109 GB, free: 9.848 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002583/0.2358, allocations: 188.9 kB / 0.5111 GB, free: 9.617 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.2359, allocations: 4.062 kB / 0.5111 GB, free: 9.613 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.2359, allocations: 38.5 kB / 0.5111 GB, free: 9.566 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.203e-06/0.2359, allocations: 0 / 0.5111 GB, free: 9.566 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003199/0.2362, allocations: 125.6 kB / 0.5113 GB, free: 9.438 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.2363, allocations: 118.7 kB / 0.5114 GB, free: 9.297 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.277e-05/0.2364, allocations: 109.3 kB / 0.5115 GB, free: 9.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.2364, allocations: 29.7 kB / 0.5115 GB, free: 9.145 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.227e-05/0.2365, allocations: 96.12 kB / 0.5116 GB, free: 9.047 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.781e-05/0.2365, allocations: 3.906 kB / 0.5116 GB, free: 9.043 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-06/0.2365, allocations: 8.062 kB / 0.5116 GB, free: 9.035 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.2366, allocations: 326.8 kB / 0.5119 GB, free: 8.707 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.587e-05/0.2367, allocations: 12 kB / 0.5119 GB, free: 8.695 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.928e-05/0.2368, allocations: 71.66 kB / 0.512 GB, free: 8.598 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.818e-05/0.2368, allocations: 27.92 kB / 0.512 GB, free: 8.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2369, allocations: 0 / 0.512 GB, free: 8.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001695/0.237, allocations: 109.4 kB / 0.5121 GB, free: 8.457 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.2371, allocations: 8 kB / 0.5121 GB, free: 8.449 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.2371, allocations: 256 / 0.5121 GB, free: 8.449 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.2371, allocations: 7.984 kB / 0.5121 GB, free: 8.441 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.345e-05/0.2372, allocations: 24.28 kB / 0.5122 GB, free: 8.418 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.577e-06/0.2372, allocations: 8 kB / 0.5122 GB, free: 8.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.523e-05/0.2373, allocations: 11.92 kB / 0.5122 GB, free: 8.398 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.2373, allocations: 4 kB / 0.5122 GB, free: 8.395 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 9.052e-05/0.2374, allocations: 125.5 kB / 0.5123 GB, free: 8.262 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.2375, allocations: 81.53 kB / 0.5124 GB, free: 8.176 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.242e-05/0.2375, allocations: 12.3 kB / 0.5124 GB, free: 8.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.2375, allocations: 4 kB / 0.5124 GB, free: 8.156 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.2376, allocations: 0 / 0.5124 GB, free: 8.156 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.2376, allocations: 4 kB / 0.5124 GB, free: 8.152 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.2377, allocations: 185.5 kB / 0.5126 GB, free: 7.922 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2378, allocations: 0 / 0.5126 GB, free: 7.922 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.153e-05/0.2378, allocations: 19.98 kB / 0.5126 GB, free: 7.902 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.2379, allocations: 0 / 0.5126 GB, free: 7.902 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.2379, allocations: 8 kB / 0.5126 GB, free: 7.895 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2379, allocations: 0 / 0.5126 GB, free: 7.895 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2379, allocations: 0 / 0.5126 GB, free: 7.895 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.2381, allocations: 232.5 kB / 0.5128 GB, free: 7.633 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.212e-05/0.2382, allocations: 85.02 kB / 0.5129 GB, free: 7.531 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.2382, allocations: 3.984 kB / 0.5129 GB, free: 7.527 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.368e-05/0.2383, allocations: 8 kB / 0.5129 GB, free: 7.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.714e-05/0.2383, allocations: 7.938 kB / 0.5129 GB, free: 7.512 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.2383, allocations: 4 kB / 0.5129 GB, free: 7.508 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.833e-05/0.2384, allocations: 103.2 kB / 0.513 GB, free: 7.406 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.232e-06/0.2384, allocations: 0 / 0.513 GB, free: 7.406 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002194/0.2386, allocations: 12.22 kB / 0.513 GB, free: 7.395 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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 9.384e-05/0.2387, allocations: 95.23 kB / 0.5131 GB, free: 7.293 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001732/0.2389, allocations: 71.98 kB / 0.5132 GB, free: 7.223 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2389, allocations: 0 / 0.5132 GB, free: 7.223 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.719e-05/0.239, allocations: 11.98 kB / 0.5132 GB, free: 7.211 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.2393, allocations: 52.3 kB / 0.5133 GB, free: 7.16 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003515/0.2396, allocations: 211.1 kB / 0.5135 GB, free: 6.922 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.2399, allocations: 0.7004 MB / 0.5141 GB, free: 6.195 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.732e-05/0.24, allocations: 12.42 kB / 0.5142 GB, free: 6.184 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.18e-05/0.24, allocations: 15.44 kB / 0.5142 GB, free: 6.168 MB / 362.7 MB Notification: Performance of SimCode: time 3.4e-07/0.24, allocations: 0 / 0.5142 GB, free: 6.168 MB / 362.7 MB Notification: Performance of Templates: time 0.00278/0.2428, allocations: 0.7807 MB / 0.5149 GB, free: 5.395 MB / 362.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.pipe 2>&1)