Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.Test59,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006166/0.006166, allocations: 98.7 kB / 15.73 MB, free: 6.004 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.001272/0.001272, allocations: 191.4 kB / 16.67 MB, free: 5.922 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.553/1.553, allocations: 205.1 MB / 222.5 MB, free: 4.477 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3226/0.3226, allocations: 37.99 MB / 307.9 MB, free: 10.09 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.1. 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.001443/0.001443, allocations: 75.91 kB / 433 MB, free: 5.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3363, allocations: 56.47 MB / 489.5 MB, free: 19.9 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.0031/0.3395, allocations: 1.676 MB / 491.2 MB, free: 18.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001825/0.3413, allocations: 1.415 MB / 492.6 MB, free: 17.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.812e-05/0.3414, allocations: 0.9375 kB / 492.6 MB, free: 17.72 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003157/0.3418, allocations: 36.41 kB / 492.6 MB, free: 17.7 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.0002488/0.342, allocations: 50.52 kB / 492.7 MB, free: 17.67 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002392/0.3423, allocations: 88 kB / 492.8 MB, free: 17.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001748/0.3425, allocations: 100.5 kB / 492.9 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.3426, allocations: 14.53 kB / 492.9 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.135e-05/0.3427, allocations: 42.36 kB / 492.9 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001574/0.3428, allocations: 39.02 kB / 493 MB, free: 17.53 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.3429, allocations: 4.125 kB / 493 MB, free: 17.53 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.343, allocations: 58.78 kB / 493 MB, free: 17.51 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.957e-05/0.3431, allocations: 19.39 kB / 493 MB, free: 17.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.729e-05/0.3431, allocations: 34.23 kB / 493.1 MB, free: 17.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002464/0.3434, allocations: 118.8 kB / 493.2 MB, free: 17.44 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3434, allocations: 5.031 kB / 493.2 MB, free: 17.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3434, allocations: 4 kB / 493.2 MB, free: 17.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.3434, allocations: 0 / 493.2 MB, free: 17.43 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005621/0.344, allocations: 404.3 kB / 493.6 MB, free: 17.03 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.344, allocations: 13.08 kB / 493.6 MB, free: 17.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.975e-05/0.3441, allocations: 9.797 kB / 493.6 MB, free: 17.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002725/0.3444, allocations: 204.5 kB / 493.8 MB, free: 16.81 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.3444, allocations: 6.594 kB / 493.8 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.3444, allocations: 11.31 kB / 493.8 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.3446, allocations: 69.39 kB / 493.9 MB, free: 16.74 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.3446, allocations: 2.25 kB / 493.9 MB, free: 16.74 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.3446, allocations: 0 / 493.9 MB, free: 16.74 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.3447, allocations: 1.156 kB / 493.9 MB, free: 16.74 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.239e-05/0.3447, allocations: 18.36 kB / 493.9 MB, free: 16.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000309/0.345, allocations: 287.5 kB / 494.2 MB, free: 16.44 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/0.3452, allocations: 65 kB / 494.3 MB, free: 16.4 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.241e-05/0.3453, allocations: 18.89 kB / 494.3 MB, free: 16.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.3453, allocations: 5.938 kB / 494.3 MB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001369/0.3454, allocations: 70.62 kB / 494.4 MB, free: 16.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.3455, allocations: 0 / 494.4 MB, free: 16.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005326/0.346, allocations: 176.2 kB / 494.5 MB, free: 16.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/0.346, allocations: 78.23 kB / 494.6 MB, free: 16.14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.3462, allocations: 151.3 kB / 494.8 MB, free: 16.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.3462, allocations: 31.14 kB / 494.8 MB, free: 15.99 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.243e-05/0.3462, allocations: 101.2 kB / 494.9 MB, free: 15.89 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.345e-05/0.3462, allocations: 26.16 kB / 494.9 MB, free: 15.87 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.3463, allocations: 22.72 kB / 494.9 MB, free: 15.85 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.303e-05/0.3463, allocations: 324.1 kB / 495.3 MB, free: 15.53 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.422e-05/0.3464, allocations: 26.19 kB / 495.3 MB, free: 15.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.013e-05/0.3465, allocations: 45.05 kB / 495.3 MB, free: 15.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.862e-05/0.3466, allocations: 62.06 kB / 495.4 MB, free: 15.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3466, allocations: 0 / 495.4 MB, free: 15.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000162/0.3467, allocations: 100.6 kB / 495.5 MB, free: 15.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.3468, allocations: 10.27 kB / 495.5 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3468, allocations: 1.094 kB / 495.5 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.3468, allocations: 1.188 kB / 495.5 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.868e-05/0.3469, allocations: 19.89 kB / 495.5 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.3469, allocations: 1.25 kB / 495.5 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.479e-05/0.347, allocations: 9.812 kB / 495.5 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.347, allocations: 4.016 kB / 495.5 MB, free: 15.37 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 6.687e-05/0.347, allocations: 117.4 kB / 495.6 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.306e-05/0.3471, allocations: 13.92 kB / 495.7 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.267e-05/0.3471, allocations: 16.38 kB / 495.7 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.3471, allocations: 2.156 kB / 495.7 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3471, allocations: 0 / 495.7 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3471, allocations: 4.641 kB / 495.7 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003409/0.3475, allocations: 392.6 kB / 496.1 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3475, allocations: 1.281 kB / 496.1 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.132e-05/0.3475, allocations: 7.703 kB / 496.1 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3475, allocations: 1.922 kB / 496.1 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.3475, allocations: 9.891 kB / 496.1 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.3476, allocations: 1.375 kB / 496.1 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3476, allocations: 5.844 kB / 496.1 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001837/0.3477, allocations: 199.6 kB / 496.3 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.342e-05/0.3478, allocations: 84.75 kB / 496.4 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.3478, allocations: 10.22 kB / 496.4 MB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.89e-05/0.3479, allocations: 3.672 kB / 496.4 MB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.264e-05/0.3479, allocations: 9.516 kB / 496.4 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.3479, allocations: 7.625 kB / 496.4 MB, free: 14.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.294e-05/0.348, allocations: 119 kB / 496.5 MB, free: 14.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.348, allocations: 0 / 496.5 MB, free: 14.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002593/0.3483, allocations: 31.16 kB / 496.5 MB, free: 14.5 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009712/0.3493, allocations: 0.4978 MB / 497 MB, free: 14.1 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001729/0.3495, allocations: 61.31 kB / 497.1 MB, free: 14.08 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3495, allocations: 3.938 kB / 497.1 MB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.889e-05/0.3495, allocations: 36.61 kB / 497.1 MB, free: 14.06 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.3499, allocations: 31.97 kB / 497.2 MB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003164/0.3502, allocations: 186.3 kB / 497.4 MB, free: 13.9 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.3503, allocations: 0.6983 MB / 498.1 MB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.753e-05/0.3504, allocations: 22.33 kB / 498.1 MB, free: 13.19 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.959e-05/0.3504, allocations: 18.8 kB / 498.1 MB, free: 13.18 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3504, allocations: 0 / 498.1 MB, free: 13.18 MB / 382.1 MB Notification: Performance of Templates: time 0.004579/0.355, allocations: 1.946 MB / 0.4883 GB, free: 12.96 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1)