Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006942/0.006942, allocations: 101.5 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.001634/0.001634, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.643/1.643, allocations: 205.1 MB / 222.5 MB, free: 4.48 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.4293/0.4293, allocations: 38 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.002105/0.002105, allocations: 84.45 kB / 433.1 MB, free: 5.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3703, allocations: 56.46 MB / 489.5 MB, free: 20.08 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003152/0.3735, allocations: 1.669 MB / 491.2 MB, free: 18.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001303/0.3748, allocations: 0.8081 MB / 492 MB, free: 18.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.631e-05/0.3749, allocations: 0.875 kB / 492 MB, free: 18.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004036/0.3753, allocations: 79.33 kB / 492.1 MB, free: 18.34 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.0002647/0.3756, allocations: 76.98 kB / 492.1 MB, free: 18.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000256/0.3759, allocations: 88.88 kB / 492.2 MB, free: 18.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001944/0.3761, allocations: 106.5 kB / 492.3 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.3762, allocations: 15.5 kB / 492.4 MB, free: 18.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.3763, allocations: 56.12 kB / 492.4 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.3764, allocations: 50.86 kB / 492.5 MB, free: 18.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.3765, allocations: 7.234 kB / 492.5 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.3766, allocations: 42.34 kB / 492.5 MB, free: 18.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.45e-05/0.3766, allocations: 20.23 kB / 492.5 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.066e-05/0.3767, allocations: 40.45 kB / 492.6 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.3769, allocations: 122.9 kB / 492.7 MB, free: 18.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3769, allocations: 1.125 kB / 492.7 MB, free: 18.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3769, allocations: 0 / 492.7 MB, free: 18.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.377, allocations: 0 / 492.7 MB, free: 18.06 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.0005052/0.3775, allocations: 420.5 kB / 493.1 MB, free: 17.65 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.3775, allocations: 12.98 kB / 493.1 MB, free: 17.65 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.285e-05/0.3776, allocations: 10.72 kB / 493.1 MB, free: 17.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002458/0.3778, allocations: 215.3 kB / 493.3 MB, free: 17.42 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.3778, allocations: 6.094 kB / 493.3 MB, free: 17.42 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.3779, allocations: 10.97 kB / 493.3 MB, free: 17.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.378, allocations: 49.64 kB / 493.4 MB, free: 17.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.378, allocations: 1.125 kB / 493.4 MB, free: 17.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.3781, allocations: 4.609 kB / 493.4 MB, free: 17.37 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.3781, allocations: 1.156 kB / 493.4 MB, free: 17.37 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.625e-05/0.3782, allocations: 18.31 kB / 493.4 MB, free: 17.37 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003324/0.3785, allocations: 288.3 kB / 493.7 MB, free: 17.08 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.3787, allocations: 60.28 kB / 493.8 MB, free: 17.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.376e-05/0.3787, allocations: 20.38 kB / 493.8 MB, free: 17.03 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.3788, allocations: 1.25 kB / 493.8 MB, free: 17.03 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001381/0.3789, allocations: 69.69 kB / 493.8 MB, free: 16.97 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.3789, allocations: 0 / 493.8 MB, free: 16.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005679/0.3795, allocations: 176.8 kB / 494 MB, free: 16.88 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/0.3795, allocations: 53.16 kB / 494.1 MB, free: 16.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.3797, allocations: 219.3 kB / 494.3 MB, free: 16.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.3798, allocations: 30.77 kB / 494.3 MB, free: 16.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.851e-05/0.3798, allocations: 105.5 kB / 494.4 MB, free: 16.55 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.3798, allocations: 21.58 kB / 494.4 MB, free: 16.53 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.901e-05/0.3799, allocations: 30.2 kB / 494.5 MB, free: 16.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.046e-05/0.3799, allocations: 326.2 kB / 494.8 MB, free: 16.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.885e-05/0.38, allocations: 26.66 kB / 494.8 MB, free: 16.17 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.801e-05/0.3801, allocations: 35.25 kB / 494.8 MB, free: 16.15 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/0.3802, allocations: 54.09 kB / 494.9 MB, free: 16.12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3802, allocations: 0 / 494.9 MB, free: 16.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001709/0.3804, allocations: 114.5 kB / 495 MB, free: 16.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.3804, allocations: 4.375 kB / 495 MB, free: 16.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.3804, allocations: 2.031 kB / 495 MB, free: 16.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.3804, allocations: 192 / 495 MB, free: 16.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.047e-05/0.3805, allocations: 16.16 kB / 495 MB, free: 16.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.3805, allocations: 6.172 kB / 495 MB, free: 16.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.474e-05/0.3806, allocations: 5.875 kB / 495 MB, free: 16.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.3806, allocations: 7.344 kB / 495.1 MB, free: 16.04 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.37e-05/0.3807, allocations: 132.3 kB / 495.2 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.3807, allocations: 13.47 kB / 495.2 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.433e-05/0.3808, allocations: 23.53 kB / 495.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.3808, allocations: 1.578 kB / 495.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3808, allocations: 1.125 kB / 495.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.3808, allocations: 4.828 kB / 495.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003896/0.3812, allocations: 393 kB / 495.6 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.3812, allocations: 0 / 495.6 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.435e-05/0.3813, allocations: 13.58 kB / 495.6 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.3813, allocations: 6.094 kB / 495.6 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.3813, allocations: 4.594 kB / 495.6 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.3813, allocations: 2.578 kB / 495.6 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3813, allocations: 0 / 495.6 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002018/0.3815, allocations: 205 kB / 495.8 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.868e-05/0.3815, allocations: 89.94 kB / 495.9 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.3816, allocations: 9.094 kB / 495.9 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.814e-05/0.3816, allocations: 3.516 kB / 495.9 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.3817, allocations: 5.469 kB / 495.9 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.3817, allocations: 12.02 kB / 496 MB, free: 15.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001275/0.3819, allocations: 157.1 kB / 496.1 MB, free: 15.14 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3819, allocations: 0 / 496.1 MB, free: 15.14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000262/0.3821, allocations: 26.77 kB / 496.1 MB, free: 15.13 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.001043/0.3832, allocations: 461.1 kB / 496.6 MB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001928/0.3834, allocations: 64.28 kB / 496.6 MB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.3834, allocations: 0 / 496.6 MB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.476e-05/0.3835, allocations: 28.5 kB / 496.7 MB, free: 14.74 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.3838, allocations: 43.44 kB / 496.7 MB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004428/0.3843, allocations: 243.1 kB / 497 MB, free: 14.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001647/0.3845, allocations: 0.704 MB / 497.7 MB, free: 13.85 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.481e-05/0.3845, allocations: 20.75 kB / 497.7 MB, free: 13.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.766e-05/0.3846, allocations: 17.11 kB / 497.7 MB, free: 13.83 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3846, allocations: 0 / 497.7 MB, free: 13.83 MB / 382.1 MB Notification: Performance of Templates: time 0.005161/0.3897, allocations: 1.715 MB / 499.4 MB, free: 13.63 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1)