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.001613/0.001613, allocations: 175.2 kB / 16.77 MB, free: 4.918 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.649/1.649, allocations: 205.4 MB / 222.9 MB, free: 9.008 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.00091/0.00091, allocations: 89.3 kB / 271.3 MB, free: 8.246 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.09571/0.09571, allocations: 12.6 MB / 332.2 MB, free: 11.24 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004035/0.0004035, allocations: 16 kB / 392.6 MB, free: 66.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08794/0.08836, allocations: 50.37 MB / 443 MB, free: 16.13 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestBackSample): time 0.00151/0.08992, allocations: 1.385 MB / 444.3 MB, free: 14.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006028/0.09054, allocations: 0.496 MB / 444.8 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.076e-05/0.09063, allocations: 0 / 444.8 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.88e-05/0.09067, allocations: 7.922 kB / 444.8 MB, free: 14.22 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.486e-05/0.09076, allocations: 11.88 kB / 444.9 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002741/0.09104, allocations: 43.91 kB / 444.9 MB, free: 14.17 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.701e-05/0.09115, allocations: 63.78 kB / 445 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.09127, allocations: 35.95 kB / 445 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.724e-05/0.09137, allocations: 27.86 kB / 445 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.582e-05/0.09144, allocations: 23.8 kB / 445 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.09146, allocations: 4 kB / 445 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.301e-05/0.09148, allocations: 0 / 445 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.735e-05/0.09151, allocations: 11.94 kB / 445.1 MB, free: 14 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.086e-05/0.09157, allocations: 61.48 kB / 445.1 MB, free: 13.94 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.583e-05/0.09165, allocations: 35.92 kB / 445.2 MB, free: 13.9 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.09167, allocations: 8 kB / 445.2 MB, free: 13.89 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.09168, allocations: 0 / 445.2 MB, free: 13.89 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.09169, allocations: 0 / 445.2 MB, free: 13.89 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.0004282/0.09212, allocations: 371.4 kB / 445.5 MB, free: 13.48 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.09217, allocations: 12.03 kB / 445.5 MB, free: 13.47 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.711e-05/0.09221, allocations: 8.844 kB / 445.5 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.09239, allocations: 204.1 kB / 445.7 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.0924, allocations: 8.375 kB / 445.8 MB, free: 13.22 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.09243, allocations: 8.375 kB / 445.8 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003128/0.09274, allocations: 182.9 kB / 445.9 MB, free: 13.01 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.09277, allocations: 0 / 445.9 MB, free: 13.01 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.09278, allocations: 4 kB / 445.9 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.09279, allocations: 8 kB / 446 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.0929, allocations: 43.91 kB / 446 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002916/0.0932, allocations: 303.3 kB / 446.3 MB, free: 12.6 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002347/0.09345, allocations: 203.6 kB / 446.5 MB, free: 12.34 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.006e-05/0.09355, allocations: 67.48 kB / 446.6 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.09358, allocations: 3.984 kB / 446.6 MB, free: 12.26 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.0936, allocations: 42.5 kB / 446.6 MB, free: 12.21 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.352e-06/0.09361, allocations: 0 / 446.6 MB, free: 12.21 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.000295/0.09391, allocations: 137.7 kB / 446.7 MB, free: 12.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.459e-05/0.09398, allocations: 140.6 kB / 446.9 MB, free: 11.9 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.285e-05/0.09406, allocations: 131.5 kB / 447 MB, free: 11.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.09407, allocations: 29.7 kB / 447 MB, free: 11.73 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.433e-05/0.09411, allocations: 96.28 kB / 447.1 MB, free: 11.63 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.352e-05/0.09413, allocations: 7.906 kB / 447.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-06/0.09415, allocations: 4 kB / 447.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.457e-05/0.09421, allocations: 326.8 kB / 447.5 MB, free: 11.29 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.777e-05/0.09426, allocations: 23.92 kB / 447.5 MB, free: 11.27 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.066e-05/0.09433, allocations: 93.25 kB / 447.6 MB, free: 11.14 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001071/0.09444, allocations: 109.3 kB / 447.7 MB, free: 11 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.09445, allocations: 4 kB / 447.7 MB, free: 11 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001683/0.09463, allocations: 125.3 kB / 447.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.09465, allocations: 6.812 kB / 447.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.09466, allocations: 4.344 kB / 447.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.09468, allocations: 8 kB / 447.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.632e-05/0.09477, allocations: 19.98 kB / 447.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.09479, allocations: 7.938 kB / 447.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.72e-05/0.09485, allocations: 15.92 kB / 447.9 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.09487, allocations: 4 kB / 447.9 MB, free: 10.81 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.016e-05/0.09494, allocations: 125.6 kB / 448 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.09506, allocations: 93.7 kB / 448.1 MB, free: 10.58 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.359e-05/0.0951, allocations: 20.33 kB / 448.1 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.09511, allocations: 4 kB / 448.1 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.09512, allocations: 0 / 448.1 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.09513, allocations: 4 kB / 448.1 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001289/0.09526, allocations: 189.4 kB / 448.3 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.09527, allocations: 0 / 448.3 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.284e-05/0.09536, allocations: 23.92 kB / 448.3 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.09537, allocations: 4 kB / 448.3 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.09538, allocations: 4 kB / 448.3 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.09539, allocations: 4 kB / 448.3 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.0954, allocations: 0 / 448.3 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002046/0.09561, allocations: 233.8 kB / 448.6 MB, free: 10.03 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.724e-05/0.09565, allocations: 85.02 kB / 448.6 MB, free: 9.926 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.09567, allocations: 4 kB / 448.6 MB, free: 9.922 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.509e-05/0.09575, allocations: 12 kB / 448.7 MB, free: 9.91 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.295e-05/0.09579, allocations: 0 / 448.7 MB, free: 9.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.0958, allocations: 4 kB / 448.7 MB, free: 9.906 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.86e-05/0.09584, allocations: 99.25 kB / 448.8 MB, free: 9.809 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09585, allocations: 0 / 448.8 MB, free: 9.809 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002311/0.09608, allocations: 16 kB / 448.8 MB, free: 9.793 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 (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 7.148e-05/0.09616, allocations: 95.25 kB / 448.9 MB, free: 9.691 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001634/0.09633, allocations: 75.84 kB / 448.9 MB, free: 9.617 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.09634, allocations: 0 / 448.9 MB, free: 9.617 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.629e-05/0.09638, allocations: 11.98 kB / 449 MB, free: 9.605 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003966/0.09678, allocations: 60.78 kB / 449 MB, free: 9.547 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003244/0.09712, allocations: 277.6 kB / 449.3 MB, free: 9.234 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001225/0.09725, allocations: 0.7043 MB / 450 MB, free: 8.504 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.149e-05/0.09729, allocations: 11.44 kB / 450 MB, free: 8.492 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.0973, allocations: 0 / 450 MB, free: 8.492 MB / 298.7 MB Notification: Performance of Templates: time 0.002133/0.09944, allocations: 1.188 MB / 451.2 MB, free: 7.305 MB / 298.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)