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.002235/0.002235, allocations: 180 kB / 8.406 MB, free: 0.6719 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.093/2.093, allocations: 205.3 MB / 214.1 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001172/0.001172, allocations: 78.67 kB / 262.1 MB, free: 1.688 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.09608/0.09608, allocations: 12.6 MB / 322.7 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.507e-05/4.524e-05, allocations: 7.938 kB / 378.9 MB, free: 6.898 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.312, allocations: 50.36 MB / 429.3 MB, free: 18.43 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1349/0.447, allocations: 77.52 MB / 0.4949 GB, free: 4.805 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002299/0.4473, allocations: 55.98 kB / 0.495 GB, free: 4.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006258/0.4535, allocations: 1.443 MB / 0.4964 GB, free: 3.305 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.4536, allocations: 4 kB / 0.4964 GB, free: 3.301 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.351e-05/0.4536, allocations: 0 / 0.4964 GB, free: 3.301 MB / 346.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.000526/0.4542, allocations: 374.2 kB / 0.4967 GB, free: 2.891 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.4542, allocations: 8.031 kB / 0.4967 GB, free: 2.883 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.084e-05/0.4543, allocations: 7.906 kB / 0.4967 GB, free: 2.875 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003104/0.4546, allocations: 202.9 kB / 0.4969 GB, free: 2.637 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.4546, allocations: 3.953 kB / 0.4969 GB, free: 2.633 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.4547, allocations: 4 kB / 0.4969 GB, free: 2.629 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001563/0.4548, allocations: 35.94 kB / 0.497 GB, free: 2.594 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004024/0.4552, allocations: 154.7 kB / 0.4971 GB, free: 2.418 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.4553, allocations: 0 / 0.4971 GB, free: 2.418 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.4553, allocations: 0 / 0.4971 GB, free: 2.418 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.4553, allocations: 3.938 kB / 0.4971 GB, free: 2.414 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004948/0.4558, allocations: 279.9 kB / 0.4974 GB, free: 2.094 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003255/0.4562, allocations: 191.6 kB / 0.4976 GB, free: 1.852 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.4563, allocations: 59.52 kB / 0.4976 GB, free: 1.781 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.191e-05/0.4564, allocations: 4 kB / 0.4976 GB, free: 1.777 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.4564, allocations: 38.5 kB / 0.4977 GB, free: 1.73 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 2.445e-06/0.4565, allocations: 4 kB / 0.4977 GB, free: 1.727 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003123/0.4568, allocations: 89.52 kB / 0.4978 GB, free: 1.633 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.4569, allocations: 136.5 kB / 0.4979 GB, free: 1.469 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.457, allocations: 113.2 kB / 0.498 GB, free: 1.348 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.4571, allocations: 25.7 kB / 0.498 GB, free: 1.316 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.566e-05/0.4572, allocations: 154.6 kB / 0.4982 GB, free: 1.164 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.4572, allocations: 12.05 kB / 0.4982 GB, free: 1.152 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.011e-06/0.4572, allocations: 4 kB / 0.4982 GB, free: 1.148 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.4574, allocations: 310.8 kB / 0.4985 GB, free: 0.8359 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.97e-05/0.4575, allocations: 12 kB / 0.4985 GB, free: 0.8242 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.827e-05/0.4576, allocations: 73.39 kB / 0.4986 GB, free: 0.7188 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.577e-05/0.4576, allocations: 23.98 kB / 0.4986 GB, free: 0.6953 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.4577, allocations: 0 / 0.4986 GB, free: 0.6953 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002465/0.4579, allocations: 101.3 kB / 0.4987 GB, free: 0.5898 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.458, allocations: 8.781 kB / 0.4987 GB, free: 0.582 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.458, allocations: 3.938 kB / 0.4987 GB, free: 0.5781 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.458, allocations: 4 kB / 0.4987 GB, free: 0.5742 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/0.4582, allocations: 27.92 kB / 0.4987 GB, free: 0.5469 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.4582, allocations: 4.344 kB / 0.4987 GB, free: 0.543 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.4584, allocations: 12 kB / 0.4988 GB, free: 0.5312 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.4584, allocations: 8 kB / 0.4988 GB, free: 0.5234 MB / 346.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 0.00011/0.4585, allocations: 108.9 kB / 0.4989 GB, free: 420 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002121/0.4587, allocations: 85.53 kB / 0.4989 GB, free: 328 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.176e-05/0.4588, allocations: 12.34 kB / 0.499 GB, free: 320 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.4588, allocations: 7.938 kB / 0.499 GB, free: 312 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.4588, allocations: 0 / 0.499 GB, free: 312 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/0.4589, allocations: 8.016 kB / 0.499 GB, free: 304 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002192/0.4591, allocations: 158.1 kB / 0.4991 GB, free: 108 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.4591, allocations: 0 / 0.4991 GB, free: 108 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001894/0.4593, allocations: 23.98 kB / 0.4991 GB, free: 84 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.4593, allocations: 0 / 0.4991 GB, free: 84 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.4593, allocations: 7.953 kB / 0.4992 GB, free: 76 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.4594, allocations: 0 / 0.4992 GB, free: 76 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.4594, allocations: 0 / 0.4992 GB, free: 76 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003474/0.4597, allocations: 247.2 kB / 0.4994 GB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.513e-05/0.4598, allocations: 92.94 kB / 0.4995 GB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.473e-05/0.4599, allocations: 0 / 0.4995 GB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.46, allocations: 4 kB / 0.4995 GB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.437e-05/0.4601, allocations: 7.984 kB / 0.4995 GB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.4601, allocations: 4 kB / 0.4995 GB, free: 15.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.86e-05/0.4602, allocations: 99.81 kB / 0.4996 GB, free: 15.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.4602, allocations: 3.938 kB / 0.4996 GB, free: 15.56 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003818/0.4606, allocations: 12 kB / 0.4996 GB, free: 15.55 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.0001424/0.4607, allocations: 95.23 kB / 0.4997 GB, free: 15.45 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002038/0.461, allocations: 52.31 kB / 0.4997 GB, free: 15.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.461, allocations: 4.25 kB / 0.4997 GB, free: 15.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.079e-05/0.461, allocations: 0 / 0.4997 GB, free: 15.39 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004359/0.4615, allocations: 51.25 kB / 0.4998 GB, free: 15.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004737/0.462, allocations: 160.6 kB / 0.4999 GB, free: 15.14 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/0.4623, allocations: 0.7159 MB / 0.5006 GB, free: 14.4 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.277e-05/0.4624, allocations: 11.44 kB / 0.5007 GB, free: 14.39 MB / 362.7 MB Notification: Performance of SimCode: time 3.637e-06/0.4624, allocations: 0 / 0.5007 GB, free: 14.39 MB / 362.7 MB Notification: Performance of Templates: time 0.004002/0.4664, allocations: 1.166 MB / 0.5018 GB, free: 13.23 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)