Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008333/0.008333, allocations: 100.9 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.001853/0.001854, allocations: 196.8 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.759/1.759, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.4229/0.4229, allocations: 37.99 MB / 307.9 MB, free: 10.11 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.001602/0.001602, allocations: 67.91 kB / 433 MB, free: 5.359 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3636/0.3652, allocations: 56.47 MB / 489.5 MB, free: 20.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003244/0.3685, allocations: 1.67 MB / 491.2 MB, free: 19.1 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.3699, allocations: 0.8146 MB / 492 MB, free: 18.54 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.3701, allocations: 1.156 kB / 492 MB, free: 18.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004598/0.3706, allocations: 38.34 kB / 492 MB, free: 18.52 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.0003937/0.371, allocations: 59.3 kB / 492.1 MB, free: 18.49 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003914/0.3714, allocations: 75.7 kB / 492.2 MB, free: 18.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003062/0.3717, allocations: 104.1 kB / 492.3 MB, free: 18.4 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/0.3719, allocations: 15.09 kB / 492.3 MB, free: 18.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.372, allocations: 36.94 kB / 492.3 MB, free: 18.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.3721, allocations: 34.31 kB / 492.4 MB, free: 18.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.3722, allocations: 4.25 kB / 492.4 MB, free: 18.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001476/0.3723, allocations: 42.22 kB / 492.4 MB, free: 18.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.716e-05/0.3724, allocations: 23.22 kB / 492.4 MB, free: 18.33 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.118e-05/0.3725, allocations: 37.94 kB / 492.5 MB, free: 18.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003201/0.3728, allocations: 112.3 kB / 492.6 MB, free: 18.26 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.3728, allocations: 1.125 kB / 492.6 MB, free: 18.26 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.667e-06/0.3728, allocations: 0 / 492.6 MB, free: 18.26 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.226e-06/0.3728, allocations: 0 / 492.6 MB, free: 18.26 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.0005693/0.3734, allocations: 415.4 kB / 493 MB, free: 17.86 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.3735, allocations: 13.17 kB / 493 MB, free: 17.85 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.135e-05/0.3735, allocations: 18.38 kB / 493 MB, free: 17.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002883/0.3738, allocations: 211 kB / 493.2 MB, free: 17.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.3739, allocations: 6.875 kB / 493.2 MB, free: 17.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.3739, allocations: 6.531 kB / 493.2 MB, free: 17.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.374, allocations: 54.14 kB / 493.3 MB, free: 17.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.3741, allocations: 0 / 493.3 MB, free: 17.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.3741, allocations: 1.75 kB / 493.3 MB, free: 17.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.3741, allocations: 4.906 kB / 493.3 MB, free: 17.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.862e-05/0.3742, allocations: 17.86 kB / 493.3 MB, free: 17.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003466/0.3745, allocations: 287.1 kB / 493.6 MB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/0.3747, allocations: 60.31 kB / 493.6 MB, free: 17.24 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.585e-05/0.3748, allocations: 20.45 kB / 493.7 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.3748, allocations: 1.547 kB / 493.7 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001496/0.375, allocations: 73.16 kB / 493.7 MB, free: 17.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.174e-06/0.375, allocations: 4 kB / 493.7 MB, free: 17.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005571/0.3756, allocations: 177 kB / 493.9 MB, free: 17.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.224e-05/0.3756, allocations: 52.84 kB / 494 MB, free: 17.01 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.3758, allocations: 203.8 kB / 494.2 MB, free: 16.88 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.3758, allocations: 26.89 kB / 494.2 MB, free: 16.85 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.026e-05/0.3759, allocations: 103 kB / 494.3 MB, free: 16.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.82e-05/0.3759, allocations: 25.47 kB / 494.3 MB, free: 16.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.893e-05/0.376, allocations: 22.7 kB / 494.3 MB, free: 16.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.492e-05/0.3761, allocations: 331 kB / 494.7 MB, free: 16.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.625e-05/0.3761, allocations: 21.61 kB / 494.7 MB, free: 16.38 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.615e-05/0.3762, allocations: 34.77 kB / 494.7 MB, free: 16.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.3763, allocations: 58.34 kB / 494.8 MB, free: 16.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3763, allocations: 384 / 494.8 MB, free: 16.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001837/0.3765, allocations: 101.9 kB / 494.9 MB, free: 16.26 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.3765, allocations: 9.312 kB / 494.9 MB, free: 16.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3766, allocations: 0 / 494.9 MB, free: 16.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.3766, allocations: 5.969 kB / 494.9 MB, free: 16.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.862e-05/0.3767, allocations: 19.28 kB / 494.9 MB, free: 16.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.3767, allocations: 1.656 kB / 494.9 MB, free: 16.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.727e-05/0.3767, allocations: 10.77 kB / 494.9 MB, free: 16.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.3768, allocations: 6.797 kB / 494.9 MB, free: 16.24 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 8.646e-05/0.3769, allocations: 122.2 kB / 495 MB, free: 16.12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.238e-05/0.3769, allocations: 18.14 kB / 495.1 MB, free: 16.11 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.528e-05/0.3769, allocations: 19.83 kB / 495.1 MB, free: 16.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3769, allocations: 1.375 kB / 495.1 MB, free: 16.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.377, allocations: 0 / 495.1 MB, free: 16.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.377, allocations: 6.25 kB / 495.1 MB, free: 16.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004096/0.3774, allocations: 385.8 kB / 495.5 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.3774, allocations: 1.125 kB / 495.5 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.378e-05/0.3774, allocations: 9.562 kB / 495.5 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.3774, allocations: 1.062 kB / 495.5 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.3775, allocations: 13.7 kB / 495.5 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.3775, allocations: 1.828 kB / 495.5 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.3775, allocations: 1.188 kB / 495.5 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002065/0.3777, allocations: 208.5 kB / 495.7 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.158e-05/0.3777, allocations: 84.47 kB / 495.8 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/0.3777, allocations: 6.531 kB / 495.8 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.617e-05/0.3778, allocations: 7.953 kB / 495.8 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/0.3779, allocations: 4.75 kB / 495.8 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.3779, allocations: 8.969 kB / 495.8 MB, free: 15.45 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000117/0.378, allocations: 151.2 kB / 496 MB, free: 15.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.378, allocations: 0 / 496 MB, free: 15.36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002592/0.3783, allocations: 22.19 kB / 496 MB, free: 15.36 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.001048/0.3793, allocations: 485.3 kB / 496.4 MB, free: 14.97 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001901/0.3795, allocations: 52.16 kB / 496.5 MB, free: 14.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3795, allocations: 0 / 496.5 MB, free: 14.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.953e-05/0.3796, allocations: 33.27 kB / 496.5 MB, free: 14.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.38, allocations: 45.95 kB / 496.6 MB, free: 14.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004248/0.3804, allocations: 229.4 kB / 496.8 MB, free: 14.76 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001685/0.3806, allocations: 0.7028 MB / 497.5 MB, free: 14.06 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.286e-05/0.3807, allocations: 13.34 kB / 497.5 MB, free: 14.06 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.728e-05/0.3807, allocations: 24.48 kB / 497.5 MB, free: 14.05 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3807, allocations: 0 / 497.5 MB, free: 14.05 MB / 382.1 MB Notification: Performance of Templates: time 0.005213/0.3859, allocations: 1.732 MB / 499.3 MB, free: 13.84 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test26.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1)