Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00851/0.00851, allocations: 101.5 kB / 15.73 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 188.9 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.79/1.79, allocations: 205.1 MB / 222.5 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3658/0.3658, allocations: 39.95 MB / 309.8 MB, free: 9.453 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001659/0.001659, allocations: 72.31 kB / 435.8 MB, free: 2.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4267/0.4284, allocations: 56.88 MB / 492.7 MB, free: 19.56 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.00397/0.4324, allocations: 1.834 MB / 494.6 MB, free: 18.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001666/0.4341, allocations: 0.8986 MB / 495.5 MB, free: 17.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.4342, allocations: 6.188 kB / 495.5 MB, free: 17.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005963/0.4348, allocations: 254.6 kB / 495.7 MB, free: 17.61 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0004238/0.4353, allocations: 182.5 kB / 495.9 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004181/0.4357, allocations: 146.7 kB / 496 MB, free: 17.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003267/0.436, allocations: 236.3 kB / 496.3 MB, free: 17.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.4361, allocations: 34.81 kB / 496.3 MB, free: 17.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001767/0.4363, allocations: 126 kB / 496.4 MB, free: 17.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002439/0.4366, allocations: 176.2 kB / 496.6 MB, free: 17.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.141e-05/0.4366, allocations: 11.81 kB / 496.6 MB, free: 17.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.4367, allocations: 50.08 kB / 496.7 MB, free: 17.28 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.702e-05/0.4369, allocations: 62.48 kB / 496.7 MB, free: 17.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.454e-05/0.437, allocations: 81.27 kB / 496.8 MB, free: 17.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003426/0.4373, allocations: 228.5 kB / 497 MB, free: 17.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.4373, allocations: 0.8438 kB / 497 MB, free: 17.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4373, allocations: 1.469 kB / 497 MB, free: 17.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.299e-05/0.4373, allocations: 0 / 497 MB, free: 17.09 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008704/0.4382, allocations: 0.5549 MB / 497.6 MB, free: 16.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/0.4383, allocations: 17.7 kB / 497.6 MB, free: 16.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.28e-05/0.4384, allocations: 29.31 kB / 497.6 MB, free: 16.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005607/0.4389, allocations: 289.5 kB / 497.9 MB, free: 16.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/0.439, allocations: 3.688 kB / 497.9 MB, free: 16.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.419e-05/0.439, allocations: 8.328 kB / 497.9 MB, free: 16.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003004/0.4393, allocations: 94.94 kB / 498 MB, free: 16.24 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.4394, allocations: 0.7031 kB / 498 MB, free: 16.24 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.4394, allocations: 9.25 kB / 498 MB, free: 16.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.4394, allocations: 2.047 kB / 498 MB, free: 16.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001452/0.4396, allocations: 39.66 kB / 498.1 MB, free: 16.22 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000682/0.4402, allocations: 456.7 kB / 498.5 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003406/0.4406, allocations: 116.3 kB / 498.6 MB, free: 15.74 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.4407, allocations: 40.73 kB / 498.7 MB, free: 15.72 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.03e-05/0.4408, allocations: 1.859 kB / 498.7 MB, free: 15.72 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003058/0.4411, allocations: 123.5 kB / 498.8 MB, free: 15.62 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.502e-06/0.4411, allocations: 0 / 498.8 MB, free: 15.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001193/0.4423, allocations: 381 kB / 499.1 MB, free: 15.44 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.057e-05/0.4424, allocations: 87.52 kB / 499.2 MB, free: 15.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007478/0.4431, allocations: 480.9 kB / 499.7 MB, free: 15.13 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/0.4432, allocations: 33.11 kB / 499.7 MB, free: 15.1 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.4433, allocations: 163.6 kB / 499.9 MB, free: 14.96 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.838e-05/0.4434, allocations: 47.28 kB / 499.9 MB, free: 14.92 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.328e-05/0.4435, allocations: 36.59 kB / 500 MB, free: 14.89 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.4436, allocations: 344.9 kB / 0.4886 GB, free: 14.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.4438, allocations: 37.33 kB / 0.4886 GB, free: 14.56 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.4439, allocations: 73.39 kB / 0.4887 GB, free: 14.51 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002497/0.4442, allocations: 123.8 kB / 0.4888 GB, free: 14.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.4442, allocations: 0 / 0.4888 GB, free: 14.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003929/0.4446, allocations: 186.3 kB / 0.489 GB, free: 14.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.4446, allocations: 6.047 kB / 0.489 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.4446, allocations: 1.156 kB / 0.489 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.406e-05/0.4446, allocations: 10.06 kB / 0.489 GB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/0.4448, allocations: 34.48 kB / 0.489 GB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.979e-05/0.4449, allocations: 7.109 kB / 0.489 GB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.45e-05/0.445, allocations: 8.922 kB / 0.4891 GB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.445, allocations: 5.281 kB / 0.4891 GB, free: 14.32 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 0.000195/0.4452, allocations: 173.6 kB / 0.4892 GB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.424e-05/0.4453, allocations: 29.72 kB / 0.4893 GB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.4454, allocations: 35.17 kB / 0.4893 GB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.4454, allocations: 5.406 kB / 0.4893 GB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/0.4454, allocations: 6.328 kB / 0.4893 GB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.4454, allocations: 0.9375 kB / 0.4893 GB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008007/0.4462, allocations: 0.6257 MB / 0.4899 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.4462, allocations: 1.75 kB / 0.4899 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.716e-05/0.4463, allocations: 17.5 kB / 0.4899 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.4463, allocations: 1.781 kB / 0.4899 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.4463, allocations: 11.62 kB / 0.4899 GB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.4463, allocations: 5.094 kB / 0.4899 GB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.4463, allocations: 3.984 kB / 0.49 GB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003656/0.4467, allocations: 373.2 kB / 0.4903 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.674e-05/0.4468, allocations: 108.2 kB / 0.4904 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.663e-05/0.4468, allocations: 5.609 kB / 0.4904 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.447, allocations: 8.125 kB / 0.4904 GB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.195e-05/0.447, allocations: 11.41 kB / 0.4904 GB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.864e-05/0.4471, allocations: 17.56 kB / 0.4905 GB, free: 13.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003444/0.4474, allocations: 355 kB / 0.4908 GB, free: 13.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4474, allocations: 1.219 kB / 0.4908 GB, free: 13.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003333/0.4478, allocations: 38.92 kB / 0.4908 GB, free: 13.08 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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 0.0009929/0.4488, allocations: 478.6 kB / 0.4913 GB, free: 12.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003099/0.4491, allocations: 120.3 kB / 0.4914 GB, free: 12.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.4491, allocations: 4.125 kB / 0.4914 GB, free: 12.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.4492, allocations: 61.12 kB / 0.4915 GB, free: 12.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005788/0.4498, allocations: 57.47 kB / 0.4915 GB, free: 12.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008036/0.4507, allocations: 0.5301 MB / 0.492 GB, free: 12.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002442/0.4509, allocations: 0.7697 MB / 0.4928 GB, free: 11.62 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.307e-05/0.451, allocations: 33.8 kB / 0.4928 GB, free: 11.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.73e-05/0.4511, allocations: 24.91 kB / 0.4928 GB, free: 11.6 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4511, allocations: 0 / 0.4928 GB, free: 11.6 MB / 382.1 MB Notification: Performance of Templates: time 0.008673/0.4598, allocations: 2.819 MB / 0.4956 GB, free: 10.62 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1)