Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009622/0.009622, allocations: 102 kB / 15.73 MB, free: 6.035 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.0012/0.0012, allocations: 187.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.514/1.514, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.3178/0.3178, allocations: 38 MB / 307.9 MB, free: 10.17 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.001441/0.001442, allocations: 68.42 kB / 433.1 MB, free: 5.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3547, allocations: 56.45 MB / 489.5 MB, free: 19.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003934/0.3587, allocations: 1.682 MB / 491.2 MB, free: 18.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001488/0.3603, allocations: 0.8031 MB / 492 MB, free: 18.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.3604, allocations: 1.344 kB / 492 MB, free: 18.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003401/0.3608, allocations: 42.95 kB / 492 MB, free: 18.17 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.0002558/0.361, allocations: 48.06 kB / 492.1 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003283/0.3614, allocations: 84.38 kB / 492.2 MB, free: 18.1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002206/0.3616, allocations: 99.42 kB / 492.3 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.3618, allocations: 15.39 kB / 492.3 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.3619, allocations: 41.25 kB / 492.3 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.362, allocations: 30.8 kB / 492.3 MB, free: 18.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.362, allocations: 3.281 kB / 492.3 MB, free: 18.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001621/0.3622, allocations: 42.06 kB / 492.4 MB, free: 18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.716e-05/0.3623, allocations: 17.17 kB / 492.4 MB, free: 17.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.145e-05/0.3623, allocations: 33.36 kB / 492.4 MB, free: 17.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003012/0.3627, allocations: 108.8 kB / 492.5 MB, free: 17.92 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.3627, allocations: 2.031 kB / 492.5 MB, free: 17.92 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.3627, allocations: 0 / 492.5 MB, free: 17.92 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.408e-05/0.3627, allocations: 0 / 492.5 MB, free: 17.92 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.0008013/0.3635, allocations: 411.5 kB / 493 MB, free: 17.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.703e-05/0.3636, allocations: 17.58 kB / 493 MB, free: 17.51 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.148e-05/0.3636, allocations: 8.875 kB / 493 MB, free: 17.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003473/0.364, allocations: 213.8 kB / 493.2 MB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.364, allocations: 6.656 kB / 493.2 MB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.3641, allocations: 7.5 kB / 493.2 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.3642, allocations: 57.17 kB / 493.3 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.3643, allocations: 4 kB / 493.3 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.3643, allocations: 1.125 kB / 493.3 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.3643, allocations: 1.891 kB / 493.3 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.364e-05/0.3644, allocations: 18.05 kB / 493.3 MB, free: 17.22 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003949/0.3648, allocations: 280.9 kB / 493.6 MB, free: 16.94 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002022/0.365, allocations: 60.28 kB / 493.6 MB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.742e-05/0.3651, allocations: 23.28 kB / 493.6 MB, free: 16.88 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/0.3651, allocations: 1.25 kB / 493.6 MB, free: 16.88 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000171/0.3653, allocations: 66.45 kB / 493.7 MB, free: 16.83 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.3653, allocations: 0 / 493.7 MB, free: 16.83 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006469/0.366, allocations: 176 kB / 493.9 MB, free: 16.74 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.931e-05/0.3661, allocations: 52.84 kB / 493.9 MB, free: 16.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002485/0.3663, allocations: 174.2 kB / 494.1 MB, free: 16.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.3663, allocations: 26.7 kB / 494.1 MB, free: 16.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.876e-05/0.3664, allocations: 98.31 kB / 494.2 MB, free: 16.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.967e-05/0.3665, allocations: 26.91 kB / 494.2 MB, free: 16.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.034e-05/0.3665, allocations: 25.81 kB / 494.3 MB, free: 16.39 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.459e-05/0.3666, allocations: 326 kB / 494.6 MB, free: 16.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.695e-05/0.3667, allocations: 17.84 kB / 494.6 MB, free: 16.06 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.3668, allocations: 41.81 kB / 494.6 MB, free: 16.03 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.3669, allocations: 58.2 kB / 494.7 MB, free: 16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3669, allocations: 0 / 494.7 MB, free: 16 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002019/0.3671, allocations: 102.2 kB / 494.8 MB, free: 15.94 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.3672, allocations: 5.031 kB / 494.8 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.3672, allocations: 7.922 kB / 494.8 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.3672, allocations: 2.062 kB / 494.8 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.3673, allocations: 23.25 kB / 494.8 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.3674, allocations: 1.891 kB / 494.8 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.463e-05/0.3674, allocations: 11.03 kB / 494.9 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.3674, allocations: 3 kB / 494.9 MB, free: 15.91 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 0.0001208/0.3676, allocations: 129 kB / 495 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.3676, allocations: 8.125 kB / 495 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.605e-05/0.3677, allocations: 19.31 kB / 495 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.3677, allocations: 0 / 495 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.3677, allocations: 0 / 495 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.3677, allocations: 9.766 kB / 495 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004362/0.3681, allocations: 384.2 kB / 495.4 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3681, allocations: 0 / 495.4 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.67e-05/0.3682, allocations: 9.453 kB / 495.4 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.3682, allocations: 2.031 kB / 495.4 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.3682, allocations: 9.766 kB / 495.4 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.3682, allocations: 1.875 kB / 495.4 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3682, allocations: 0 / 495.4 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002366/0.3685, allocations: 205 kB / 495.6 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.67e-05/0.3685, allocations: 91.92 kB / 495.7 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.3686, allocations: 6.688 kB / 495.7 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.216e-05/0.3686, allocations: 3.469 kB / 495.7 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.315e-05/0.3687, allocations: 5.562 kB / 495.7 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-05/0.3687, allocations: 3.656 kB / 495.7 MB, free: 15.14 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001056/0.3688, allocations: 137.4 kB / 495.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3688, allocations: 0 / 495.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002737/0.3691, allocations: 26.12 kB / 495.9 MB, free: 15.04 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.001069/0.3702, allocations: 469.9 kB / 496.3 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002165/0.3704, allocations: 60.11 kB / 496.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3704, allocations: 0 / 496.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.61e-05/0.3705, allocations: 29.53 kB / 496.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004207/0.3709, allocations: 31.91 kB / 496.5 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005268/0.3715, allocations: 210 kB / 496.7 MB, free: 14.47 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002006/0.3717, allocations: 0.703 MB / 497.4 MB, free: 13.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.5e-05/0.3718, allocations: 17.22 kB / 497.4 MB, free: 13.76 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.007e-05/0.3718, allocations: 20.25 kB / 497.4 MB, free: 13.75 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3718, allocations: 1.062 kB / 497.4 MB, free: 13.75 MB / 382.1 MB Notification: Performance of Templates: time 0.006408/0.3782, allocations: 1.697 MB / 499.1 MB, free: 13.55 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1)