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.00125/0.001249, allocations: 163.3 kB / 16.8 MB, free: 5.023 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.704/1.704, allocations: 205.4 MB / 223 MB, free: 8.93 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.000878/0.0008779, allocations: 85.55 kB / 271.3 MB, free: 8.238 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.09694/0.09694, allocations: 12.6 MB / 332.2 MB, free: 11.24 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000439/0.000439, allocations: 12 kB / 393.2 MB, free: 65.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09565/0.0961, allocations: 50.38 MB / 443.6 MB, free: 15.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3224/0.4185, allocations: 78.29 MB / 0.5097 GB, free: 13.46 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/0.4188, allocations: 60.08 kB / 0.5097 GB, free: 13.46 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003521/0.4224, allocations: 1.453 MB / 0.5111 GB, free: 12.8 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.4224, allocations: 0 / 0.5111 GB, free: 12.8 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.4224, allocations: 0 / 0.5111 GB, free: 12.8 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.0003356/0.4227, allocations: 388.6 kB / 0.5115 GB, free: 12.41 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.898e-05/0.4228, allocations: 7.469 kB / 0.5115 GB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.183e-05/0.4229, allocations: 8.625 kB / 0.5115 GB, free: 12.4 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.4231, allocations: 208.4 kB / 0.5117 GB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.4231, allocations: 8.156 kB / 0.5117 GB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.4231, allocations: 6.656 kB / 0.5117 GB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000336/0.4234, allocations: 182.3 kB / 0.5119 GB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.4235, allocations: 192 / 0.5119 GB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.4235, allocations: 11.34 kB / 0.5119 GB, free: 12.06 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.4235, allocations: 0 / 0.5119 GB, free: 12.06 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.4236, allocations: 42.3 kB / 0.512 GB, free: 12.05 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003458/0.424, allocations: 300 kB / 0.5122 GB, free: 11.74 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002262/0.4242, allocations: 211.2 kB / 0.5124 GB, free: 11.53 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.792e-05/0.4243, allocations: 72.41 kB / 0.5125 GB, free: 11.48 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.4243, allocations: 3.625 kB / 0.5125 GB, free: 11.48 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.4244, allocations: 41.67 kB / 0.5126 GB, free: 11.44 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 1.292e-06/0.4244, allocations: 0 / 0.5126 GB, free: 11.44 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003088/0.4247, allocations: 138.2 kB / 0.5127 GB, free: 11.38 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.4247, allocations: 136.3 kB / 0.5128 GB, free: 11.23 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.33e-05/0.4248, allocations: 132.8 kB / 0.5129 GB, free: 11.12 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.4248, allocations: 29.64 kB / 0.513 GB, free: 11.09 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.23e-05/0.4249, allocations: 99.28 kB / 0.5131 GB, free: 11 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.43e-05/0.4249, allocations: 7.156 kB / 0.5131 GB, free: 10.99 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-06/0.4249, allocations: 7.094 kB / 0.5131 GB, free: 10.99 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.011e-05/0.425, allocations: 322.5 kB / 0.5134 GB, free: 10.67 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.727e-05/0.425, allocations: 22.86 kB / 0.5134 GB, free: 10.66 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.411e-05/0.4251, allocations: 84.48 kB / 0.5135 GB, free: 10.57 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.4252, allocations: 114.4 kB / 0.5136 GB, free: 10.46 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.4252, allocations: 3.938 kB / 0.5136 GB, free: 10.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001654/0.4254, allocations: 123.9 kB / 0.5137 GB, free: 10.39 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.4254, allocations: 7.625 kB / 0.5137 GB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.4254, allocations: 3.719 kB / 0.5137 GB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.4254, allocations: 3.875 kB / 0.5137 GB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.213e-05/0.4255, allocations: 23.61 kB / 0.5138 GB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.4256, allocations: 7.969 kB / 0.5138 GB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.482e-05/0.4256, allocations: 10.59 kB / 0.5138 GB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.4256, allocations: 11.52 kB / 0.5138 GB, free: 10.38 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 () * 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 6.033e-05/0.4257, allocations: 124.7 kB / 0.5139 GB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.4258, allocations: 92.25 kB / 0.514 GB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.584e-05/0.4259, allocations: 19.39 kB / 0.514 GB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.4259, allocations: 0 / 0.514 GB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.4259, allocations: 3.844 kB / 0.514 GB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.4259, allocations: 4.031 kB / 0.514 GB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/0.426, allocations: 188.1 kB / 0.5142 GB, free: 9.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.426, allocations: 3.906 kB / 0.5142 GB, free: 9.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.128e-05/0.4261, allocations: 19.7 kB / 0.5142 GB, free: 9.977 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.4261, allocations: 0 / 0.5142 GB, free: 9.977 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.4261, allocations: 7.766 kB / 0.5142 GB, free: 9.973 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4262, allocations: 0 / 0.5142 GB, free: 9.973 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.4262, allocations: 3.906 kB / 0.5142 GB, free: 9.973 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001936/0.4264, allocations: 231.6 kB / 0.5145 GB, free: 9.789 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.721e-05/0.4264, allocations: 92.31 kB / 0.5145 GB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.4264, allocations: 3.906 kB / 0.5145 GB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.3e-05/0.4265, allocations: 3.812 kB / 0.5146 GB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.4265, allocations: 4 kB / 0.5146 GB, free: 9.684 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.4266, allocations: 7.344 kB / 0.5146 GB, free: 9.684 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.212e-05/0.4266, allocations: 108.3 kB / 0.5147 GB, free: 9.602 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4266, allocations: 0 / 0.5147 GB, free: 9.602 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002558/0.4269, allocations: 11.38 kB / 0.5147 GB, free: 9.602 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 () * 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 8.977e-05/0.427, allocations: 98.62 kB / 0.5148 GB, free: 9.512 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001874/0.4272, allocations: 68.81 kB / 0.5148 GB, free: 9.496 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4272, allocations: 7.188 kB / 0.5148 GB, free: 9.492 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.425e-05/0.4272, allocations: 11.62 kB / 0.5149 GB, free: 9.488 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/0.4276, allocations: 64.89 kB / 0.5149 GB, free: 9.469 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003394/0.428, allocations: 243.4 kB / 0.5151 GB, free: 9.258 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.4281, allocations: 0.6958 MB / 0.5158 GB, free: 8.555 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.528e-05/0.4282, allocations: 16.38 kB / 0.5158 GB, free: 8.543 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.616e-05/0.4282, allocations: 11.28 kB / 0.5159 GB, free: 8.539 MB / 330.7 MB Notification: Performance of SimCode: time 2.1e-07/0.4282, allocations: 0 / 0.5159 GB, free: 8.539 MB / 330.7 MB Notification: Performance of Templates: time 0.002794/0.431, allocations: 0.889 MB / 0.5167 GB, free: 8.109 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)