Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample.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.TestBackSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestBackSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00245/0.002449, 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.087/2.087, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001093/0.001092, allocations: 90.64 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.1014/0.1014, allocations: 12.6 MB / 328.2 MB, free: 11.17 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.114e-05/4.12e-05, allocations: 3.984 kB / 386 MB, free: 1.316 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3012, allocations: 50.38 MB / 436.3 MB, free: 14.15 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1377/0.4389, allocations: 78.16 MB / 0.5025 GB, free: 15.88 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/0.4392, allocations: 59.97 kB / 0.5025 GB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005928/0.4451, allocations: 1.457 MB / 0.5039 GB, free: 14.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4452, allocations: 0 / 0.5039 GB, free: 14.36 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.487e-05/0.4452, allocations: 4 kB / 0.5039 GB, free: 14.36 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.000465/0.4457, allocations: 366.2 kB / 0.5043 GB, free: 13.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.4457, allocations: 12.03 kB / 0.5043 GB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.987e-05/0.4458, allocations: 7.906 kB / 0.5043 GB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002608/0.4461, allocations: 194.9 kB / 0.5045 GB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.4461, allocations: 11.95 kB / 0.5045 GB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.4461, allocations: 4 kB / 0.5045 GB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004194/0.4466, allocations: 166.7 kB / 0.5047 GB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.4466, allocations: 0 / 0.5047 GB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.4466, allocations: 4 kB / 0.5047 GB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.4466, allocations: 0 / 0.5047 GB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.4467, allocations: 35.92 kB / 0.5047 GB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004956/0.4472, allocations: 307.2 kB / 0.505 GB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003334/0.4476, allocations: 207.6 kB / 0.5052 GB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.4477, allocations: 59.44 kB / 0.5053 GB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.006e-05/0.4478, allocations: 8.062 kB / 0.5053 GB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.4478, allocations: 38.5 kB / 0.5053 GB, free: 12.72 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 2.084e-06/0.4478, allocations: 4 kB / 0.5053 GB, free: 12.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003062/0.4482, allocations: 93.52 kB / 0.5054 GB, free: 12.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.217e-05/0.4483, allocations: 140.5 kB / 0.5055 GB, free: 12.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.4484, allocations: 118.4 kB / 0.5056 GB, free: 12.33 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.4485, allocations: 33.7 kB / 0.5057 GB, free: 12.29 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.196e-05/0.4485, allocations: 154.6 kB / 0.5058 GB, free: 12.14 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.051e-05/0.4486, allocations: 8.062 kB / 0.5058 GB, free: 12.13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.626e-06/0.4486, allocations: 4 kB / 0.5058 GB, free: 12.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.4487, allocations: 318.8 kB / 0.5061 GB, free: 11.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.64e-05/0.4488, allocations: 8 kB / 0.5061 GB, free: 11.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.959e-05/0.4489, allocations: 73.45 kB / 0.5062 GB, free: 11.69 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.195e-05/0.449, allocations: 35.88 kB / 0.5062 GB, free: 11.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.449, allocations: 0 / 0.5062 GB, free: 11.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002341/0.4492, allocations: 105.3 kB / 0.5063 GB, free: 11.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.4493, allocations: 8 kB / 0.5064 GB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.4493, allocations: 4 kB / 0.5064 GB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.4493, allocations: 4.344 kB / 0.5064 GB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.4495, allocations: 23.98 kB / 0.5064 GB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.4495, allocations: 4 kB / 0.5064 GB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.4497, allocations: 11.94 kB / 0.5064 GB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.159e-05/0.4497, allocations: 8 kB / 0.5064 GB, free: 11.48 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 8.872e-05/0.4498, allocations: 120.6 kB / 0.5065 GB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002067/0.45, allocations: 89.56 kB / 0.5066 GB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.059e-05/0.4501, allocations: 20.12 kB / 0.5066 GB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.4501, allocations: 4.031 kB / 0.5066 GB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.4501, allocations: 4 kB / 0.5066 GB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.4501, allocations: 0 / 0.5066 GB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002427/0.4504, allocations: 185.5 kB / 0.5068 GB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/0.4504, allocations: 3.953 kB / 0.5068 GB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001749/0.4506, allocations: 27.92 kB / 0.5068 GB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.4506, allocations: 0 / 0.5068 GB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.4506, allocations: 4 kB / 0.5068 GB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.4506, allocations: 0 / 0.5068 GB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.4506, allocations: 0 / 0.5068 GB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003339/0.451, allocations: 248 kB / 0.5071 GB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.505e-05/0.4511, allocations: 88.95 kB / 0.5072 GB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.421e-05/0.4511, allocations: 8.047 kB / 0.5072 GB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.4512, allocations: 16 kB / 0.5072 GB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/0.4513, allocations: 11.88 kB / 0.5072 GB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.4513, allocations: 0 / 0.5072 GB, free: 10.55 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.428e-05/0.4514, allocations: 107.8 kB / 0.5073 GB, free: 10.45 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.4514, allocations: 0 / 0.5073 GB, free: 10.45 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003272/0.4518, allocations: 15.95 kB / 0.5073 GB, free: 10.43 MB / 362.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 (11): * Single equations (assignments): 11 * 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.0001161/0.4519, allocations: 95.25 kB / 0.5074 GB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001966/0.4521, allocations: 67.91 kB / 0.5075 GB, free: 10.26 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4521, allocations: 0 / 0.5075 GB, free: 10.26 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.707e-05/0.4522, allocations: 4 kB / 0.5075 GB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004129/0.4526, allocations: 47.97 kB / 0.5075 GB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004228/0.453, allocations: 174.3 kB / 0.5077 GB, free: 9.996 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.4534, allocations: 0.7004 MB / 0.5084 GB, free: 9.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.414e-05/0.4534, allocations: 19.44 kB / 0.5084 GB, free: 9.25 MB / 362.7 MB Notification: Performance of SimCode: time 8.31e-07/0.4534, allocations: 0 / 0.5084 GB, free: 9.25 MB / 362.7 MB Notification: Performance of Templates: time 0.003529/0.457, allocations: 1.171 MB / 0.5095 GB, free: 8.078 MB / 362.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample.pipe 2>&1)