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.001546/0.001545, allocations: 186.1 kB / 16.44 MB, free: 5.672 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.979/1.979, allocations: 205.4 MB / 222.6 MB, free: 9.129 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.001134/0.001134, allocations: 82.92 kB / 270.9 MB, free: 8.375 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.1002/0.1002, allocations: 12.59 MB / 331.8 MB, free: 11.39 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005583/0.0005582, allocations: 12 kB / 392 MB, free: 66.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09085/0.09144, allocations: 50.37 MB / 442.3 MB, free: 16.49 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4283/0.5197, allocations: 78.25 MB / 0.5084 GB, free: 12.69 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002149/0.52, allocations: 60.06 kB / 0.5084 GB, free: 12.69 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005345/0.5254, allocations: 1.414 MB / 0.5098 GB, free: 12.24 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.5254, allocations: 0 / 0.5098 GB, free: 12.24 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.5255, allocations: 7.844 kB / 0.5098 GB, free: 12.23 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.0004047/0.5259, allocations: 374.6 kB / 0.5102 GB, free: 11.85 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.5259, allocations: 7.719 kB / 0.5102 GB, free: 11.85 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.938e-05/0.526, allocations: 15.58 kB / 0.5102 GB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001856/0.5262, allocations: 201.7 kB / 0.5104 GB, free: 11.63 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.5262, allocations: 7.266 kB / 0.5104 GB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.5263, allocations: 6.875 kB / 0.5104 GB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003943/0.5267, allocations: 171.1 kB / 0.5106 GB, free: 11.52 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.5267, allocations: 0 / 0.5106 GB, free: 11.52 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.5267, allocations: 0 / 0.5106 GB, free: 11.52 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.5267, allocations: 3.844 kB / 0.5106 GB, free: 11.52 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001599/0.5269, allocations: 41.42 kB / 0.5106 GB, free: 11.51 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003863/0.5273, allocations: 288 kB / 0.5109 GB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002811/0.5276, allocations: 185.5 kB / 0.5111 GB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.5276, allocations: 0 / 0.5111 GB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.827e-05/0.5277, allocations: 34 kB / 0.5111 GB, free: 10.98 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 1.472e-06/0.5277, allocations: 0 / 0.5111 GB, free: 10.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004089/0.5281, allocations: 132.2 kB / 0.5112 GB, free: 10.92 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.5281, allocations: 114 kB / 0.5113 GB, free: 10.79 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.871e-05/0.5283, allocations: 114.7 kB / 0.5115 GB, free: 10.7 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.5283, allocations: 29.2 kB / 0.5115 GB, free: 10.66 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.164e-05/0.5283, allocations: 154.6 kB / 0.5116 GB, free: 10.52 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/0.5284, allocations: 7.906 kB / 0.5116 GB, free: 10.51 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-06/0.5284, allocations: 7.719 kB / 0.5116 GB, free: 10.51 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.902e-05/0.5284, allocations: 318.8 kB / 0.5119 GB, free: 10.19 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.124e-05/0.5285, allocations: 11.78 kB / 0.512 GB, free: 10.19 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.574e-05/0.5286, allocations: 79.05 kB / 0.512 GB, free: 10.1 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.085e-05/0.5287, allocations: 19.25 kB / 0.5121 GB, free: 10.1 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.5288, allocations: 4 kB / 0.5121 GB, free: 10.1 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000249/0.529, allocations: 106.7 kB / 0.5122 GB, free: 10.04 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.529, allocations: 3.844 kB / 0.5122 GB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.5291, allocations: 3.844 kB / 0.5122 GB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.5291, allocations: 4.125 kB / 0.5122 GB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.5292, allocations: 23.62 kB / 0.5122 GB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.5293, allocations: 3.984 kB / 0.5122 GB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.582e-05/0.5294, allocations: 11.56 kB / 0.5122 GB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.5294, allocations: 4.062 kB / 0.5122 GB, free: 10.03 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 9.577e-05/0.5295, allocations: 131.5 kB / 0.5123 GB, free: 9.898 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/0.5297, allocations: 83.22 kB / 0.5124 GB, free: 9.852 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.852e-05/0.5297, allocations: 12.23 kB / 0.5124 GB, free: 9.84 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.5297, allocations: 7.844 kB / 0.5124 GB, free: 9.836 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.5297, allocations: 0 / 0.5124 GB, free: 9.836 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.5298, allocations: 0 / 0.5124 GB, free: 9.836 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.5299, allocations: 180.7 kB / 0.5126 GB, free: 9.633 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.53, allocations: 0 / 0.5126 GB, free: 9.633 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001498/0.5301, allocations: 23.36 kB / 0.5126 GB, free: 9.625 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.5302, allocations: 4.844 kB / 0.5126 GB, free: 9.625 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.5302, allocations: 0 / 0.5126 GB, free: 9.625 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.5302, allocations: 0 / 0.5126 GB, free: 9.625 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.5302, allocations: 0 / 0.5126 GB, free: 9.625 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002946/0.5305, allocations: 234.8 kB / 0.5129 GB, free: 9.426 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.545e-05/0.5306, allocations: 88.81 kB / 0.5129 GB, free: 9.324 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/0.5306, allocations: 4.719 kB / 0.5129 GB, free: 9.324 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.5307, allocations: 7.875 kB / 0.513 GB, free: 9.32 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/0.5308, allocations: 0 / 0.513 GB, free: 9.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.5308, allocations: 3.844 kB / 0.513 GB, free: 9.32 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.614e-05/0.5309, allocations: 102.6 kB / 0.5131 GB, free: 9.238 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5309, allocations: 0 / 0.5131 GB, free: 9.238 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003164/0.5312, allocations: 10.78 kB / 0.5131 GB, free: 9.238 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 0.000102/0.5313, allocations: 102.4 kB / 0.5132 GB, free: 9.148 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002508/0.5316, allocations: 59.94 kB / 0.5132 GB, free: 9.133 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.5316, allocations: 0 / 0.5132 GB, free: 9.133 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.287e-05/0.5317, allocations: 7.688 kB / 0.5132 GB, free: 9.133 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/0.5321, allocations: 54.89 kB / 0.5133 GB, free: 9.113 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004468/0.5325, allocations: 257.7 kB / 0.5135 GB, free: 8.887 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000157/0.5327, allocations: 0.6955 MB / 0.5142 GB, free: 8.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.242e-05/0.5328, allocations: 15.03 kB / 0.5142 GB, free: 8.172 MB / 330.7 MB Notification: Performance of SimCode: time 6.01e-07/0.5328, allocations: 4 kB / 0.5142 GB, free: 8.168 MB / 330.7 MB Notification: Performance of Templates: time 0.002913/0.5357, allocations: 1.04 MB / 0.5152 GB, free: 7.652 MB / 330.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)