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.00813/0.00813, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001468/0.001468, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.7/1.7, 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.1+maint.om/package.mo): time 0.3932/0.3932, allocations: 38 MB / 307.9 MB, free: 10.18 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.001792/0.001792, allocations: 75.91 kB / 433.1 MB, free: 5.348 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.3736, allocations: 56.45 MB / 489.5 MB, free: 20.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003452/0.3771, allocations: 1.675 MB / 491.2 MB, free: 18.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.3785, allocations: 0.7999 MB / 492 MB, free: 18.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.089e-05/0.3786, allocations: 5.125 kB / 492 MB, free: 18.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003955/0.379, allocations: 82.73 kB / 492.1 MB, free: 18.27 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.0002674/0.3793, allocations: 81.11 kB / 492.2 MB, free: 18.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002658/0.3796, allocations: 80.17 kB / 492.2 MB, free: 18.19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001916/0.3798, allocations: 110.6 kB / 492.3 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.3799, allocations: 16.58 kB / 492.4 MB, free: 18.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.38, allocations: 54.2 kB / 492.4 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.3801, allocations: 50.75 kB / 492.5 MB, free: 18.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.3801, allocations: 4.25 kB / 492.5 MB, free: 18.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.3803, allocations: 46.38 kB / 492.5 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.849e-05/0.3803, allocations: 19.94 kB / 492.5 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.777e-05/0.3804, allocations: 41.41 kB / 492.6 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002279/0.3806, allocations: 114.3 kB / 492.7 MB, free: 18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3806, allocations: 3.938 kB / 492.7 MB, free: 18 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3806, allocations: 1.156 kB / 492.7 MB, free: 18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.3807, allocations: 0 / 492.7 MB, free: 18 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.00049/0.3812, allocations: 420.5 kB / 493.1 MB, free: 17.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.3812, allocations: 13.17 kB / 493.1 MB, free: 17.58 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.756e-05/0.3813, allocations: 10.84 kB / 493.1 MB, free: 17.58 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003024/0.3816, allocations: 211.1 kB / 493.3 MB, free: 17.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.3816, allocations: 5.938 kB / 493.3 MB, free: 17.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.3816, allocations: 6.219 kB / 493.3 MB, free: 17.35 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.3818, allocations: 59.23 kB / 493.4 MB, free: 17.31 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.3818, allocations: 4 kB / 493.4 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.3818, allocations: 0.6094 kB / 493.4 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.3818, allocations: 1 kB / 493.4 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.931e-05/0.3819, allocations: 19.19 kB / 493.4 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003584/0.3823, allocations: 283.9 kB / 493.7 MB, free: 17.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.3825, allocations: 64.11 kB / 493.8 MB, free: 16.97 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.918e-05/0.3825, allocations: 24.31 kB / 493.8 MB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.3826, allocations: 5.734 kB / 493.8 MB, free: 16.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001505/0.3827, allocations: 64.97 kB / 493.8 MB, free: 16.9 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.3827, allocations: 1.219 kB / 493.8 MB, free: 16.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000566/0.3833, allocations: 176.9 kB / 494 MB, free: 16.81 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.3834, allocations: 57.16 kB / 494.1 MB, free: 16.74 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002066/0.3836, allocations: 226.2 kB / 494.3 MB, free: 16.6 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.3836, allocations: 27.36 kB / 494.3 MB, free: 16.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.843e-05/0.3836, allocations: 104.8 kB / 494.4 MB, free: 16.47 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/0.3837, allocations: 21.95 kB / 494.4 MB, free: 16.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-05/0.3837, allocations: 21.84 kB / 494.5 MB, free: 16.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.357e-05/0.3838, allocations: 326.9 kB / 494.8 MB, free: 16.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.959e-05/0.3839, allocations: 22.03 kB / 494.8 MB, free: 16.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.651e-05/0.3839, allocations: 42.83 kB / 494.9 MB, free: 16.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.384, allocations: 57.58 kB / 494.9 MB, free: 16.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3841, allocations: 1.281 kB / 494.9 MB, free: 16.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00018/0.3842, allocations: 100.7 kB / 495 MB, free: 15.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.3843, allocations: 5.469 kB / 495 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.3843, allocations: 1.859 kB / 495 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.3843, allocations: 1.312 kB / 495 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.415e-05/0.3844, allocations: 19.56 kB / 495 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.3844, allocations: 1.188 kB / 495 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.88e-05/0.3845, allocations: 14.62 kB / 495.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.3845, allocations: 3.156 kB / 495.1 MB, free: 15.96 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.113e-05/0.3846, allocations: 131.1 kB / 495.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.286e-05/0.3846, allocations: 13.98 kB / 495.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.255e-05/0.3846, allocations: 20.66 kB / 495.2 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.3846, allocations: 1.578 kB / 495.2 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3847, allocations: 0 / 495.2 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.3847, allocations: 9.656 kB / 495.2 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003996/0.3851, allocations: 392.7 kB / 495.6 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.3851, allocations: 0 / 495.6 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.284e-05/0.3851, allocations: 9.172 kB / 495.6 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.3851, allocations: 1.062 kB / 495.6 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.3851, allocations: 6.062 kB / 495.6 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.3852, allocations: 2.688 kB / 495.6 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3852, allocations: 0 / 495.6 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002082/0.3854, allocations: 217.1 kB / 495.8 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.639e-05/0.3854, allocations: 89.2 kB / 495.9 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.3855, allocations: 5.844 kB / 495.9 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.855e-05/0.3855, allocations: 3.766 kB / 495.9 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.613e-05/0.3856, allocations: 10.05 kB / 495.9 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.3856, allocations: 3.531 kB / 496 MB, free: 15.17 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001385/0.3858, allocations: 160.2 kB / 496.1 MB, free: 15.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3858, allocations: 0 / 496.1 MB, free: 15.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002665/0.386, allocations: 26.39 kB / 496.1 MB, free: 15.07 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.001013/0.3871, allocations: 464 kB / 496.6 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001953/0.3873, allocations: 59.89 kB / 496.6 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3873, allocations: 0 / 496.6 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.808e-05/0.3874, allocations: 33.19 kB / 496.7 MB, free: 14.67 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.3877, allocations: 34.17 kB / 496.7 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005247/0.3883, allocations: 246.8 kB / 497 MB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001842/0.3885, allocations: 0.7085 MB / 497.7 MB, free: 13.79 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.804e-05/0.3885, allocations: 16.53 kB / 497.7 MB, free: 13.78 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.055e-05/0.3886, allocations: 21.11 kB / 497.7 MB, free: 13.77 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3886, allocations: 0 / 497.7 MB, free: 13.77 MB / 382.1 MB Notification: Performance of Templates: time 0.005443/0.394, allocations: 1.744 MB / 499.4 MB, free: 13.55 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)