Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_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.002217/0.002221, allocations: 186.4 kB / 13.7 MB, free: 1.625 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.026/2.026, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.001102/0.001102, allocations: 82.67 kB / 267.6 MB, free: 14.11 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.09929/0.09929, allocations: 12.6 MB / 328.2 MB, free: 11.16 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.133e-05/5.16e-05, allocations: 4 kB / 386 MB, free: 1.316 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3117, allocations: 50.38 MB / 436.3 MB, free: 14.16 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1345/0.4463, allocations: 78.16 MB / 0.5024 GB, free: 15.89 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/0.4465, allocations: 51.98 kB / 0.5025 GB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005939/0.4525, allocations: 1.41 MB / 0.5039 GB, free: 14.42 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4526, allocations: 0 / 0.5039 GB, free: 14.42 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.486e-05/0.4526, allocations: 4 kB / 0.5039 GB, free: 14.42 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.0004753/0.4531, allocations: 362.3 kB / 0.5042 GB, free: 14.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/0.4531, allocations: 16.03 kB / 0.5042 GB, free: 14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.116e-05/0.4532, allocations: 11.81 kB / 0.5042 GB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/0.4535, allocations: 194.8 kB / 0.5044 GB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.4535, allocations: 3.953 kB / 0.5044 GB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.725e-05/0.4536, allocations: 8 kB / 0.5044 GB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004555/0.454, allocations: 157.8 kB / 0.5046 GB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.4541, allocations: 0 / 0.5046 GB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.4541, allocations: 7.938 kB / 0.5046 GB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.4541, allocations: 0 / 0.5046 GB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.4542, allocations: 27.98 kB / 0.5046 GB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005588/0.4548, allocations: 294.5 kB / 0.5049 GB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003208/0.4551, allocations: 176.9 kB / 0.5051 GB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.4553, allocations: 46.64 kB / 0.5051 GB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-05/0.4553, allocations: 4 kB / 0.5051 GB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.4553, allocations: 42.64 kB / 0.5052 GB, free: 12.87 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 2.324e-06/0.4554, allocations: 4 kB / 0.5052 GB, free: 12.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002984/0.4557, allocations: 81.53 kB / 0.5052 GB, free: 12.78 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.511e-05/0.4558, allocations: 110.8 kB / 0.5054 GB, free: 12.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.4559, allocations: 118.1 kB / 0.5055 GB, free: 12.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.456, allocations: 29.73 kB / 0.5055 GB, free: 12.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.353e-05/0.456, allocations: 154.6 kB / 0.5056 GB, free: 12.33 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.023e-05/0.4561, allocations: 23.77 kB / 0.5057 GB, free: 12.31 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-06/0.4561, allocations: 0 / 0.5057 GB, free: 12.31 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.4563, allocations: 314.8 kB / 0.506 GB, free: 11.99 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.874e-05/0.4563, allocations: 12 kB / 0.506 GB, free: 11.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.497e-05/0.4564, allocations: 59.73 kB / 0.506 GB, free: 11.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.964e-05/0.4565, allocations: 27.92 kB / 0.5061 GB, free: 11.87 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.4565, allocations: 0 / 0.5061 GB, free: 11.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002084/0.4567, allocations: 89.48 kB / 0.5061 GB, free: 11.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.4567, allocations: 8 kB / 0.5062 GB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.4568, allocations: 0 / 0.5062 GB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.4568, allocations: 4 kB / 0.5062 GB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001773/0.457, allocations: 24.27 kB / 0.5062 GB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.464e-05/0.457, allocations: 7.938 kB / 0.5062 GB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.528e-05/0.4571, allocations: 4 kB / 0.5062 GB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.4571, allocations: 4 kB / 0.5062 GB, free: 11.72 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 () * 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.56e-05/0.4572, allocations: 116.7 kB / 0.5063 GB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000179/0.4574, allocations: 73.53 kB / 0.5064 GB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.174e-05/0.4575, allocations: 16.08 kB / 0.5064 GB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.4575, allocations: 4 kB / 0.5064 GB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.4575, allocations: 0 / 0.5064 GB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.4576, allocations: 4 kB / 0.5064 GB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002375/0.4578, allocations: 189.4 kB / 0.5066 GB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.4578, allocations: 0 / 0.5066 GB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001572/0.458, allocations: 19.98 kB / 0.5066 GB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.421e-06/0.458, allocations: 0 / 0.5066 GB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.458, allocations: 0 / 0.5066 GB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.458, allocations: 7.938 kB / 0.5066 GB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.4581, allocations: 0 / 0.5066 GB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002777/0.4583, allocations: 224.5 kB / 0.5068 GB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.881e-05/0.4584, allocations: 81.3 kB / 0.5069 GB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.314e-05/0.4584, allocations: 4 kB / 0.5069 GB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.4586, allocations: 8 kB / 0.5069 GB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/0.4586, allocations: 12.08 kB / 0.5069 GB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.4587, allocations: 12 kB / 0.5069 GB, free: 10.86 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.026e-05/0.4588, allocations: 92.83 kB / 0.507 GB, free: 10.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4588, allocations: 0 / 0.507 GB, free: 10.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003198/0.4591, allocations: 12 kB / 0.507 GB, free: 10.75 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 () * 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 0.0001342/0.4592, allocations: 99.23 kB / 0.5071 GB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001875/0.4594, allocations: 51.86 kB / 0.5072 GB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.4595, allocations: 1.25 kB / 0.5072 GB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.592e-05/0.4595, allocations: 8 kB / 0.5072 GB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004264/0.4599, allocations: 43.91 kB / 0.5072 GB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004632/0.4604, allocations: 152.6 kB / 0.5074 GB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/0.4607, allocations: 0.7004 MB / 0.5081 GB, free: 9.633 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.646e-05/0.4608, allocations: 11.44 kB / 0.5081 GB, free: 9.625 MB / 362.7 MB Notification: Performance of SimCode: time 1.123e-06/0.4608, allocations: 4.062 kB / 0.5081 GB, free: 9.621 MB / 362.7 MB Notification: Performance of Templates: time 0.003672/0.4645, allocations: 1.043 MB / 0.5091 GB, free: 8.578 MB / 362.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.pipe 2>&1)