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.0009293/0.0009295, allocations: 173.4 kB / 16.76 MB, free: 5.031 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.261/1.261, allocations: 205 MB / 222.6 MB, free: 9.059 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.0007625/0.0007625, allocations: 88.02 kB / 270.5 MB, free: 8.668 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.06374/0.06374, allocations: 12.58 MB / 331 MB, free: 12.05 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003295/0.0003296, allocations: 12 kB / 391.7 MB, free: 66.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07028/0.07062, allocations: 49.97 MB / 441.7 MB, free: 16.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestBackSample): time 0.001438/0.0721, allocations: 1.428 MB / 443.1 MB, free: 14.97 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006588/0.07278, allocations: 0.5113 MB / 443.6 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.465e-05/0.0729, allocations: 7.938 kB / 443.6 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.497e-05/0.07294, allocations: 3.938 kB / 443.6 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.804e-05/0.07303, allocations: 11.92 kB / 443.6 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002594/0.07329, allocations: 47.91 kB / 443.7 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.703e-05/0.07339, allocations: 67.72 kB / 443.8 MB, free: 14.31 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.0735, allocations: 31.97 kB / 443.8 MB, free: 14.28 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.332e-05/0.0736, allocations: 23.88 kB / 443.8 MB, free: 14.26 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.305e-05/0.07366, allocations: 27.84 kB / 443.8 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.07368, allocations: 7.938 kB / 443.8 MB, free: 14.22 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.107e-05/0.0737, allocations: 4 kB / 443.8 MB, free: 14.22 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.616e-05/0.07372, allocations: 7.938 kB / 443.9 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.24e-05/0.07376, allocations: 31.73 kB / 443.9 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.535e-05/0.07383, allocations: 44.14 kB / 443.9 MB, free: 14.14 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.07384, allocations: 0 / 443.9 MB, free: 14.14 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.07385, allocations: 0 / 443.9 MB, free: 14.14 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.07385, allocations: 0 / 443.9 MB, free: 14.14 MB / 298.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.0003429/0.0742, allocations: 379.2 kB / 444.3 MB, free: 13.72 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.07424, allocations: 12.03 kB / 444.3 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.436e-05/0.07428, allocations: 16.78 kB / 444.3 MB, free: 13.69 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.07444, allocations: 204.7 kB / 444.5 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.654e-06/0.07446, allocations: 4.375 kB / 444.5 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.07448, allocations: 8.375 kB / 444.5 MB, free: 13.44 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002891/0.07477, allocations: 183 kB / 444.7 MB, free: 13.24 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.07479, allocations: 7.922 kB / 444.7 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.07481, allocations: 0 / 444.7 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.07482, allocations: 4 kB / 444.7 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.07493, allocations: 47.91 kB / 444.8 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002549/0.07519, allocations: 295.3 kB / 445.1 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/0.07541, allocations: 203.6 kB / 445.3 MB, free: 12.58 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.056e-05/0.07552, allocations: 67.47 kB / 445.3 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.07555, allocations: 4 kB / 445.3 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.533e-05/0.07557, allocations: 42.5 kB / 445.4 MB, free: 12.45 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.272e-06/0.07557, allocations: 0 / 445.4 MB, free: 12.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003013/0.07588, allocations: 145.4 kB / 445.5 MB, free: 12.3 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.07593, allocations: 140.8 kB / 445.7 MB, free: 12.13 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.866e-05/0.07601, allocations: 131.7 kB / 445.8 MB, free: 11.99 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.448e-06/0.07603, allocations: 29.7 kB / 445.8 MB, free: 11.96 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.898e-05/0.07606, allocations: 92.12 kB / 445.9 MB, free: 11.86 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.709e-05/0.07608, allocations: 15.84 kB / 445.9 MB, free: 11.85 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.081e-05/0.07611, allocations: 17.72 kB / 445.9 MB, free: 11.82 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.999e-05/0.07615, allocations: 322.8 kB / 446.3 MB, free: 11.5 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.856e-05/0.07621, allocations: 19.98 kB / 446.3 MB, free: 11.48 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.755e-05/0.07627, allocations: 85.38 kB / 446.4 MB, free: 11.36 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/0.07639, allocations: 113.3 kB / 446.5 MB, free: 11.22 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.0764, allocations: 0 / 446.5 MB, free: 11.22 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001697/0.07658, allocations: 129.5 kB / 446.6 MB, free: 11.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.0766, allocations: 8 kB / 446.6 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.07661, allocations: 4 kB / 446.6 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.07663, allocations: 0 / 446.6 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.515e-05/0.07672, allocations: 27.92 kB / 446.6 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.07673, allocations: 7.938 kB / 446.6 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.608e-05/0.07679, allocations: 7.984 kB / 446.6 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.178e-06/0.07681, allocations: 8 kB / 446.7 MB, free: 11.02 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.869e-05/0.07687, allocations: 126.8 kB / 446.8 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.07698, allocations: 85.53 kB / 446.9 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.912e-05/0.07702, allocations: 20.3 kB / 446.9 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.07703, allocations: 4 kB / 446.9 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.07704, allocations: 0 / 446.9 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.07705, allocations: 0 / 446.9 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.07717, allocations: 185.4 kB / 447.1 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.07718, allocations: 11.92 kB / 447.1 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.595e-05/0.07727, allocations: 19.97 kB / 447.1 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.07729, allocations: 7.984 kB / 447.1 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.627e-06/0.0773, allocations: 8 kB / 447.1 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.07731, allocations: 0 / 447.1 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.07731, allocations: 4 kB / 447.1 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001801/0.0775, allocations: 230.1 kB / 447.3 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.296e-05/0.07753, allocations: 92.98 kB / 447.4 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.07755, allocations: 4 kB / 447.4 MB, free: 10.13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.489e-05/0.07764, allocations: 4 kB / 447.4 MB, free: 10.13 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.812e-05/0.07768, allocations: 4 kB / 447.4 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-06/0.07769, allocations: 4.312 kB / 447.4 MB, free: 10.12 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.742e-05/0.07773, allocations: 101.9 kB / 447.5 MB, free: 10.02 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.07774, allocations: 0 / 447.5 MB, free: 10.02 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002324/0.07798, allocations: 20 kB / 447.6 MB, free: 10 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.907e-05/0.07805, allocations: 95.25 kB / 447.7 MB, free: 9.902 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001612/0.07822, allocations: 71.84 kB / 447.7 MB, free: 9.832 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.07823, allocations: 0.6875 kB / 447.7 MB, free: 9.832 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.456e-05/0.07827, allocations: 15.98 kB / 447.7 MB, free: 9.816 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/0.07866, allocations: 63.91 kB / 447.8 MB, free: 9.754 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003276/0.079, allocations: 281.2 kB / 448.1 MB, free: 9.438 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.962e-05/0.07911, allocations: 0.6965 MB / 448.8 MB, free: 8.715 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.91e-05/0.07915, allocations: 15.42 kB / 448.8 MB, free: 8.699 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.07915, allocations: 0 / 448.8 MB, free: 8.699 MB / 298.7 MB Notification: Performance of Templates: time 0.002036/0.08119, allocations: 1.181 MB / 450 MB, free: 7.52 MB / 298.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)