Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_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_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestBackSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_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.001471/0.001472, allocations: 181.6 kB / 13.23 MB, free: 2.086 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.662/1.662, allocations: 205.2 MB / 219 MB, free: 9.203 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.000864/0.0008641, allocations: 88.33 kB / 267.1 MB, free: 9.277 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.08212/0.08212, allocations: 12.58 MB / 327.8 MB, free: 12.48 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.899e-05/2.901e-05, allocations: 4 kB / 386 MB, free: 69.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0877/0.08776, allocations: 50.38 MB / 436.4 MB, free: 19.22 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3728/0.4606, allocations: 78.16 MB / 0.5025 GB, free: 12.03 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001453/0.4608, allocations: 61.48 kB / 0.5025 GB, free: 12.03 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003174/0.464, allocations: 1.459 MB / 0.504 GB, free: 11.63 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.464, allocations: 0 / 0.504 GB, free: 11.63 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.4641, allocations: 7.844 kB / 0.504 GB, free: 11.63 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.0002445/0.4643, allocations: 367.8 kB / 0.5043 GB, free: 11.26 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.4643, allocations: 7.75 kB / 0.5043 GB, free: 11.26 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.267e-05/0.4644, allocations: 11.16 kB / 0.5043 GB, free: 11.26 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.4645, allocations: 198.6 kB / 0.5045 GB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.4646, allocations: 7.734 kB / 0.5045 GB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.4646, allocations: 5.875 kB / 0.5045 GB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/0.4648, allocations: 168.3 kB / 0.5047 GB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.4648, allocations: 0 / 0.5047 GB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.4649, allocations: 0 / 0.5047 GB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.4649, allocations: 3.969 kB / 0.5047 GB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.839e-05/0.4649, allocations: 30.61 kB / 0.5047 GB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002874/0.4652, allocations: 315.3 kB / 0.505 GB, free: 10.65 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.4654, allocations: 203.5 kB / 0.5052 GB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.664e-05/0.4655, allocations: 56.38 kB / 0.5053 GB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.4655, allocations: 0 / 0.5053 GB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.4655, allocations: 41.34 kB / 0.5053 GB, free: 10.38 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 9.52e-07/0.4655, allocations: 0 / 0.5053 GB, free: 10.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001888/0.4657, allocations: 97.98 kB / 0.5054 GB, free: 10.34 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.4658, allocations: 138.6 kB / 0.5055 GB, free: 10.18 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.64e-05/0.4659, allocations: 124.4 kB / 0.5057 GB, free: 10.08 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.245e-06/0.4659, allocations: 29.61 kB / 0.5057 GB, free: 10.05 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.629e-05/0.4659, allocations: 96.92 kB / 0.5058 GB, free: 9.965 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.251e-05/0.4659, allocations: 3.875 kB / 0.5058 GB, free: 9.965 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.4659, allocations: 2.625 kB / 0.5058 GB, free: 9.965 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.764e-05/0.466, allocations: 322.6 kB / 0.5061 GB, free: 9.652 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.203e-05/0.466, allocations: 10.66 kB / 0.5061 GB, free: 9.652 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.697e-05/0.4661, allocations: 81.45 kB / 0.5062 GB, free: 9.559 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.589e-05/0.4661, allocations: 25.08 kB / 0.5062 GB, free: 9.551 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4661, allocations: 0 / 0.5062 GB, free: 9.551 MB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001179/0.4662, allocations: 117 kB / 0.5063 GB, free: 9.496 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.4663, allocations: 6.531 kB / 0.5063 GB, free: 9.496 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.4663, allocations: 7.969 kB / 0.5063 GB, free: 9.492 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.4663, allocations: 3.875 kB / 0.5063 GB, free: 9.492 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.469e-05/0.4664, allocations: 25.34 kB / 0.5064 GB, free: 9.488 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.4664, allocations: 3.812 kB / 0.5064 GB, free: 9.488 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.677e-05/0.4664, allocations: 10.27 kB / 0.5064 GB, free: 9.484 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.4665, allocations: 7.094 kB / 0.5064 GB, free: 9.484 MB / 330.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 4.075e-05/0.4665, allocations: 124.1 kB / 0.5065 GB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.4666, allocations: 95.25 kB / 0.5066 GB, free: 9.316 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.315e-05/0.4667, allocations: 14.17 kB / 0.5066 GB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.4667, allocations: 0 / 0.5066 GB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.4667, allocations: 3.75 kB / 0.5066 GB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.4667, allocations: 0 / 0.5066 GB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.4668, allocations: 186.6 kB / 0.5068 GB, free: 9.121 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.4668, allocations: 7.922 kB / 0.5068 GB, free: 9.117 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.292e-05/0.4669, allocations: 21.67 kB / 0.5068 GB, free: 9.113 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.4669, allocations: 3.906 kB / 0.5068 GB, free: 9.113 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.4669, allocations: 2.484 kB / 0.5068 GB, free: 9.113 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.4669, allocations: 4.031 kB / 0.5068 GB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4669, allocations: 3.906 kB / 0.5068 GB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.4671, allocations: 249.3 kB / 0.5071 GB, free: 8.895 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.297e-05/0.4671, allocations: 91.67 kB / 0.5072 GB, free: 8.793 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.4671, allocations: 3.25 kB / 0.5072 GB, free: 8.793 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.603e-05/0.4672, allocations: 3.781 kB / 0.5072 GB, free: 8.793 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.165e-05/0.4673, allocations: 7.906 kB / 0.5072 GB, free: 8.789 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.4673, allocations: 2.672 kB / 0.5072 GB, free: 8.789 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.58e-05/0.4673, allocations: 103.5 kB / 0.5073 GB, free: 8.715 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4673, allocations: 0 / 0.5073 GB, free: 8.715 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002202/0.4675, allocations: 18.58 kB / 0.5073 GB, free: 8.711 MB / 330.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 8.22e-05/0.4676, allocations: 102 kB / 0.5074 GB, free: 8.613 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001113/0.4677, allocations: 59.66 kB / 0.5074 GB, free: 8.605 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.4678, allocations: 3.938 kB / 0.5074 GB, free: 8.602 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.418e-05/0.4678, allocations: 7.594 kB / 0.5075 GB, free: 8.602 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.4681, allocations: 45.14 kB / 0.5075 GB, free: 8.598 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002443/0.4683, allocations: 140.2 kB / 0.5076 GB, free: 8.488 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000119/0.4685, allocations: 0.7059 MB / 0.5083 GB, free: 7.793 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.278e-05/0.4685, allocations: 7.578 kB / 0.5083 GB, free: 7.793 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.819e-05/0.4685, allocations: 14.78 kB / 0.5083 GB, free: 7.789 MB / 330.7 MB Notification: Performance of SimCode: time 3.9e-07/0.4685, allocations: 4 kB / 0.5083 GB, free: 7.785 MB / 330.7 MB Notification: Performance of Templates: time 0.002568/0.4711, allocations: 0.8764 MB / 0.5092 GB, free: 7.691 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample.pipe 2>&1)