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.000978/0.0009782, allocations: 172.1 kB / 16.8 MB, free: 5.031 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.67/1.67, allocations: 205.4 MB / 223 MB, free: 9.027 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.0008221/0.0008223, allocations: 86.42 kB / 271.3 MB, free: 8.25 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.09752/0.09752, allocations: 12.59 MB / 332.2 MB, free: 11.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004206/0.0004206, allocations: 16 kB / 393.2 MB, free: 65.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1162, allocations: 50.37 MB / 443.6 MB, free: 15.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3886/0.5048, allocations: 78.28 MB / 0.5096 GB, free: 13.42 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002115/0.5051, allocations: 60.88 kB / 0.5097 GB, free: 13.42 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003564/0.5087, allocations: 1.42 MB / 0.5111 GB, free: 12.77 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.975e-06/0.5087, allocations: 0 / 0.5111 GB, free: 12.77 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.5087, allocations: 3.844 kB / 0.5111 GB, free: 12.77 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0003393/0.5091, allocations: 374.6 kB / 0.5114 GB, free: 12.39 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.5091, allocations: 7.844 kB / 0.5115 GB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.355e-05/0.5092, allocations: 8.688 kB / 0.5115 GB, free: 12.38 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/0.5093, allocations: 202.3 kB / 0.5117 GB, free: 12.16 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.5094, allocations: 7.281 kB / 0.5117 GB, free: 12.16 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.5094, allocations: 4.25 kB / 0.5117 GB, free: 12.16 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003244/0.5097, allocations: 182.2 kB / 0.5118 GB, free: 12.05 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.5097, allocations: 4.125 kB / 0.5118 GB, free: 12.05 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.5097, allocations: 3.938 kB / 0.5118 GB, free: 12.05 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.5098, allocations: 0 / 0.5118 GB, free: 12.05 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.312e-05/0.5099, allocations: 33.83 kB / 0.5119 GB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003391/0.5102, allocations: 296 kB / 0.5122 GB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002324/0.5104, allocations: 190.6 kB / 0.5123 GB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.38e-05/0.5105, allocations: 51.34 kB / 0.5124 GB, free: 11.52 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.5106, allocations: 3.875 kB / 0.5124 GB, free: 11.52 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.5106, allocations: 37.98 kB / 0.5124 GB, free: 11.48 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 1.422e-06/0.5106, allocations: 4 kB / 0.5124 GB, free: 11.47 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003644/0.511, allocations: 119.8 kB / 0.5126 GB, free: 11.42 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.131e-05/0.5111, allocations: 113.9 kB / 0.5127 GB, free: 11.29 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.5112, allocations: 127.6 kB / 0.5128 GB, free: 11.18 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.5112, allocations: 25.7 kB / 0.5128 GB, free: 11.15 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.405e-05/0.5112, allocations: 94.05 kB / 0.5129 GB, free: 11.07 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.5113, allocations: 7.281 kB / 0.5129 GB, free: 11.06 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-06/0.5113, allocations: 0 / 0.5129 GB, free: 11.06 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.056e-05/0.5114, allocations: 322.5 kB / 0.5132 GB, free: 10.75 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.531e-05/0.5114, allocations: 18.98 kB / 0.5132 GB, free: 10.74 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.611e-05/0.5115, allocations: 70.22 kB / 0.5133 GB, free: 10.66 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.5116, allocations: 95.81 kB / 0.5134 GB, free: 10.57 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.5116, allocations: 0 / 0.5134 GB, free: 10.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001444/0.5117, allocations: 117.2 kB / 0.5135 GB, free: 10.51 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.5118, allocations: 7.844 kB / 0.5135 GB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.5118, allocations: 0 / 0.5135 GB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.5118, allocations: 7.812 kB / 0.5135 GB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.719e-05/0.5119, allocations: 19.36 kB / 0.5135 GB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.5119, allocations: 4.625 kB / 0.5135 GB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.135e-05/0.512, allocations: 11.56 kB / 0.5135 GB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/0.512, allocations: 3.844 kB / 0.5136 GB, free: 10.5 MB / 330.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 6.252e-05/0.512, allocations: 132.4 kB / 0.5137 GB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.977e-05/0.5121, allocations: 79.62 kB / 0.5138 GB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.564e-05/0.5122, allocations: 15.77 kB / 0.5138 GB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.5122, allocations: 0 / 0.5138 GB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.5122, allocations: 3.844 kB / 0.5138 GB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.5122, allocations: 240 / 0.5138 GB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.5123, allocations: 178.6 kB / 0.5139 GB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.5124, allocations: 4 kB / 0.5139 GB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.163e-05/0.5124, allocations: 19.55 kB / 0.514 GB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.5124, allocations: 3.984 kB / 0.514 GB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.5125, allocations: 3.438 kB / 0.514 GB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.5125, allocations: 3.969 kB / 0.514 GB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.5125, allocations: 0 / 0.514 GB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001706/0.5126, allocations: 210.3 kB / 0.5142 GB, free: 9.922 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.643e-05/0.5127, allocations: 89.16 kB / 0.5143 GB, free: 9.82 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.5127, allocations: 3.062 kB / 0.5143 GB, free: 9.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.818e-05/0.5128, allocations: 7.906 kB / 0.5143 GB, free: 9.816 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.084e-05/0.5128, allocations: 3.969 kB / 0.5143 GB, free: 9.816 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.5128, allocations: 0 / 0.5143 GB, free: 9.816 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.11e-05/0.5129, allocations: 103.6 kB / 0.5144 GB, free: 9.734 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5129, allocations: 4 kB / 0.5144 GB, free: 9.73 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002221/0.5131, allocations: 10.66 kB / 0.5144 GB, free: 9.73 MB / 330.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 7.883e-05/0.5132, allocations: 98.59 kB / 0.5145 GB, free: 9.641 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000157/0.5133, allocations: 59.25 kB / 0.5145 GB, free: 9.629 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.5134, allocations: 0.5625 kB / 0.5145 GB, free: 9.629 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.228e-05/0.5134, allocations: 15.62 kB / 0.5146 GB, free: 9.621 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/0.5138, allocations: 53.66 kB / 0.5146 GB, free: 9.605 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003297/0.5141, allocations: 224.3 kB / 0.5148 GB, free: 9.414 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001246/0.5143, allocations: 0.6991 MB / 0.5155 GB, free: 8.707 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.367e-05/0.5143, allocations: 8.266 kB / 0.5155 GB, free: 8.703 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.602e-05/0.5143, allocations: 11.28 kB / 0.5155 GB, free: 8.695 MB / 330.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5143, allocations: 0 / 0.5155 GB, free: 8.695 MB / 330.7 MB Notification: Performance of Templates: time 0.002846/0.5172, allocations: 0.7783 MB / 0.5163 GB, free: 8.316 MB / 330.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)