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.001901/0.001901, allocations: 180.9 kB / 15.8 MB, free: 6.336 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.735/1.735, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.001065/0.001065, allocations: 86.86 kB / 270.3 MB, free: 13.34 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.08568/0.08568, allocations: 12.61 MB / 331.1 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004422/0.000442, allocations: 17.91 kB / 392 MB, free: 54.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1129, allocations: 50.37 MB / 442.4 MB, free: 10.93 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.118/0.2309, allocations: 78.26 MB / 0.5084 GB, free: 12.57 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002975/0.2313, allocations: 59.97 kB / 0.5085 GB, free: 12.51 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004347/0.2357, allocations: 1.46 MB / 0.5099 GB, free: 11.05 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.2357, allocations: 0 / 0.5099 GB, free: 11.05 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.2357, allocations: 4 kB / 0.5099 GB, free: 11.04 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.000447/0.2362, allocations: 378.9 kB / 0.5103 GB, free: 10.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.2362, allocations: 8.031 kB / 0.5103 GB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.265e-05/0.2363, allocations: 15.84 kB / 0.5103 GB, free: 10.6 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.2365, allocations: 194.9 kB / 0.5105 GB, free: 10.37 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.2365, allocations: 11.95 kB / 0.5105 GB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.2366, allocations: 4 kB / 0.5105 GB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003764/0.2369, allocations: 170.7 kB / 0.5107 GB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.237, allocations: 0 / 0.5107 GB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.237, allocations: 8 kB / 0.5107 GB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.237, allocations: 7.969 kB / 0.5107 GB, free: 10.15 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.2371, allocations: 43.92 kB / 0.5107 GB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004242/0.2376, allocations: 303.3 kB / 0.511 GB, free: 9.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002896/0.2379, allocations: 207.6 kB / 0.5112 GB, free: 9.492 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.2379, allocations: 8.078 kB / 0.5112 GB, free: 9.484 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.2379, allocations: 38.56 kB / 0.5112 GB, free: 9.438 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 3.917e-06/0.2379, allocations: 0 / 0.5112 GB, free: 9.438 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003442/0.2383, allocations: 141.4 kB / 0.5114 GB, free: 9.293 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.198e-05/0.2384, allocations: 144.7 kB / 0.5115 GB, free: 9.121 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.2385, allocations: 124.1 kB / 0.5116 GB, free: 8.992 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.2385, allocations: 25.7 kB / 0.5117 GB, free: 8.961 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.723e-05/0.2386, allocations: 96.12 kB / 0.5118 GB, free: 8.863 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/0.2386, allocations: 7.906 kB / 0.5118 GB, free: 8.855 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-06/0.2386, allocations: 4 kB / 0.5118 GB, free: 8.852 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.2388, allocations: 318.8 kB / 0.5121 GB, free: 8.531 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.071e-05/0.2388, allocations: 19.98 kB / 0.5121 GB, free: 8.512 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.2389, allocations: 81.44 kB / 0.5122 GB, free: 8.398 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.999e-05/0.239, allocations: 31.94 kB / 0.5122 GB, free: 8.367 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.239, allocations: 3.953 kB / 0.5122 GB, free: 8.363 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001963/0.2392, allocations: 129.3 kB / 0.5123 GB, free: 8.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.2393, allocations: 8 kB / 0.5123 GB, free: 8.223 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.2393, allocations: 0 / 0.5123 GB, free: 8.223 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.2393, allocations: 7.938 kB / 0.5123 GB, free: 8.215 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.271e-05/0.2394, allocations: 23.98 kB / 0.5124 GB, free: 8.191 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.475e-06/0.2394, allocations: 4.344 kB / 0.5124 GB, free: 8.188 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6e-05/0.2395, allocations: 11.98 kB / 0.5124 GB, free: 8.176 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.2395, allocations: 7.984 kB / 0.5124 GB, free: 8.168 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 () * Number of clocked 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 0.0001008/0.2396, allocations: 133.5 kB / 0.5125 GB, free: 8.027 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/0.2397, allocations: 97.64 kB / 0.5126 GB, free: 7.926 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.291e-05/0.2398, allocations: 20.3 kB / 0.5126 GB, free: 7.902 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.2398, allocations: 0 / 0.5126 GB, free: 7.902 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.2398, allocations: 4 kB / 0.5126 GB, free: 7.898 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.2398, allocations: 4.031 kB / 0.5126 GB, free: 7.895 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001771/0.24, allocations: 173.6 kB / 0.5128 GB, free: 7.676 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.24, allocations: 7.922 kB / 0.5128 GB, free: 7.668 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.215e-05/0.2401, allocations: 23.95 kB / 0.5128 GB, free: 7.645 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.2401, allocations: 3.938 kB / 0.5128 GB, free: 7.641 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.2401, allocations: 11.98 kB / 0.5128 GB, free: 7.629 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2401, allocations: 0 / 0.5128 GB, free: 7.629 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2401, allocations: 0 / 0.5128 GB, free: 7.629 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.2404, allocations: 255.1 kB / 0.5131 GB, free: 7.336 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.246e-05/0.2405, allocations: 92.94 kB / 0.5132 GB, free: 7.227 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.2405, allocations: 8 kB / 0.5132 GB, free: 7.219 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.602e-05/0.2406, allocations: 4 kB / 0.5132 GB, free: 7.215 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/0.2406, allocations: 7.938 kB / 0.5132 GB, free: 7.207 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.381e-06/0.2407, allocations: 0 / 0.5132 GB, free: 7.207 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.415e-05/0.2407, allocations: 111.2 kB / 0.5133 GB, free: 7.098 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2407, allocations: 0 / 0.5133 GB, free: 7.098 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002266/0.241, allocations: 12 kB / 0.5133 GB, free: 7.086 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 () * Number of clocked 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.0001013/0.2411, allocations: 99.2 kB / 0.5134 GB, free: 6.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001902/0.2413, allocations: 76.11 kB / 0.5135 GB, free: 6.906 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2413, allocations: 0 / 0.5135 GB, free: 6.906 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.995e-05/0.2413, allocations: 15.98 kB / 0.5135 GB, free: 6.891 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.2417, allocations: 64.97 kB / 0.5136 GB, free: 6.828 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004242/0.2421, allocations: 243.7 kB / 0.5138 GB, free: 6.547 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.2424, allocations: 0.7043 MB / 0.5145 GB, free: 5.816 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.475e-05/0.2424, allocations: 8.547 kB / 0.5145 GB, free: 5.809 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.245e-05/0.2425, allocations: 15.44 kB / 0.5145 GB, free: 5.797 MB / 362.7 MB Notification: Performance of SimCode: time 3.3e-07/0.2425, allocations: 0 / 0.5145 GB, free: 5.797 MB / 362.7 MB Notification: Performance of Templates: time 0.003047/0.2455, allocations: 0.8658 MB / 0.5153 GB, free: 4.938 MB / 362.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)