Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test60.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.Test60,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test60") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008635/0.008635, allocations: 99.36 kB / 15.73 MB, free: 6.043 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.001387/0.001387, allocations: 185.6 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.617/1.617, allocations: 205.1 MB / 222.5 MB, free: 4.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3265/0.3265, allocations: 39.94 MB / 309.8 MB, free: 9.449 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.2. 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.001716/0.001716, allocations: 72.52 kB / 435.8 MB, free: 2.422 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3715, allocations: 56.88 MB / 492.7 MB, free: 19.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003916/0.3755, allocations: 1.694 MB / 494.4 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002465/0.378, allocations: 1.408 MB / 495.8 MB, free: 17.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.44e-05/0.3781, allocations: 1.594 kB / 495.8 MB, free: 17.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000347/0.3785, allocations: 36.2 kB / 495.9 MB, free: 17.12 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.0002769/0.3788, allocations: 65.06 kB / 495.9 MB, free: 17.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002568/0.379, allocations: 80.44 kB / 496 MB, free: 17.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001925/0.3792, allocations: 99.69 kB / 496.1 MB, free: 16.99 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.3794, allocations: 16.28 kB / 496.1 MB, free: 16.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.3795, allocations: 43.28 kB / 496.2 MB, free: 16.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001591/0.3796, allocations: 42.52 kB / 496.2 MB, free: 16.94 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.3797, allocations: 8.75 kB / 496.2 MB, free: 16.94 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001424/0.3798, allocations: 62.38 kB / 496.3 MB, free: 16.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.831e-05/0.3799, allocations: 14.53 kB / 496.3 MB, free: 16.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.06e-05/0.3799, allocations: 30.17 kB / 496.3 MB, free: 16.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002669/0.3802, allocations: 125.5 kB / 496.4 MB, free: 16.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3802, allocations: 0 / 496.4 MB, free: 16.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3802, allocations: 0 / 496.4 MB, free: 16.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.3803, allocations: 1.75 kB / 496.4 MB, free: 16.84 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.0005431/0.3808, allocations: 410 kB / 496.8 MB, free: 16.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.3808, allocations: 13.23 kB / 496.8 MB, free: 16.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.092e-05/0.3809, allocations: 10.64 kB / 496.9 MB, free: 16.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002882/0.3812, allocations: 205.4 kB / 497.1 MB, free: 16.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.3812, allocations: 1.688 kB / 497.1 MB, free: 16.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.3813, allocations: 7.531 kB / 497.1 MB, free: 16.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.3814, allocations: 73.55 kB / 497.1 MB, free: 16.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.3814, allocations: 1.188 kB / 497.1 MB, free: 16.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.3815, allocations: 0.8438 kB / 497.1 MB, free: 16.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.3815, allocations: 1.031 kB / 497.1 MB, free: 16.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.947e-05/0.3816, allocations: 26.48 kB / 497.2 MB, free: 16.13 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003572/0.3819, allocations: 279.4 kB / 497.4 MB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000168/0.3821, allocations: 65.41 kB / 497.5 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.224e-05/0.3822, allocations: 19.17 kB / 497.5 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.3822, allocations: 1.094 kB / 497.5 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001515/0.3823, allocations: 74.89 kB / 497.6 MB, free: 15.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.3824, allocations: 0 / 497.6 MB, free: 15.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005656/0.3829, allocations: 166.8 kB / 497.8 MB, free: 15.65 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.383, allocations: 82.92 kB / 497.8 MB, free: 15.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.3831, allocations: 155.2 kB / 498 MB, free: 15.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.3832, allocations: 27.73 kB / 498 MB, free: 15.4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.376e-05/0.3832, allocations: 100.7 kB / 498.1 MB, free: 15.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.709e-05/0.3832, allocations: 17.58 kB / 498.1 MB, free: 15.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.11e-05/0.3833, allocations: 27.48 kB / 498.2 MB, free: 15.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.378e-05/0.3834, allocations: 324.3 kB / 498.5 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.197e-05/0.3834, allocations: 26.42 kB / 498.5 MB, free: 14.94 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.666e-05/0.3835, allocations: 45.31 kB / 498.5 MB, free: 14.9 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.3836, allocations: 57.38 kB / 498.6 MB, free: 14.87 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.3836, allocations: 0 / 498.6 MB, free: 14.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001842/0.3838, allocations: 106.4 kB / 498.7 MB, free: 14.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.3838, allocations: 3.875 kB / 498.7 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3838, allocations: 5.219 kB / 498.7 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.3839, allocations: 1.812 kB / 498.7 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.564e-05/0.384, allocations: 14.53 kB / 498.7 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.384, allocations: 1.062 kB / 498.7 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.714e-05/0.384, allocations: 7.484 kB / 498.7 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.3841, allocations: 2.625 kB / 498.7 MB, free: 14.8 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 7.854e-05/0.3841, allocations: 121.6 kB / 498.9 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.268e-05/0.3842, allocations: 14.16 kB / 498.9 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.872e-05/0.3842, allocations: 12.91 kB / 498.9 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.3842, allocations: 5.156 kB / 498.9 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.3842, allocations: 1.219 kB / 498.9 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.758e-06/0.3842, allocations: 7.875 kB / 498.9 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003829/0.3846, allocations: 388.8 kB / 499.3 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.3846, allocations: 1.281 kB / 499.3 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.395e-05/0.3847, allocations: 12.2 kB / 499.3 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.3847, allocations: 2.297 kB / 499.3 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.3847, allocations: 5.344 kB / 499.3 MB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.3847, allocations: 6.297 kB / 499.3 MB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3847, allocations: 0 / 499.3 MB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002029/0.3849, allocations: 200 kB / 499.5 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.74e-05/0.385, allocations: 84.55 kB / 499.6 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.385, allocations: 7.688 kB / 499.6 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.044e-05/0.3851, allocations: 2.094 kB / 499.6 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.874e-05/0.3851, allocations: 14.61 kB / 499.6 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/0.3852, allocations: 3.156 kB / 499.6 MB, free: 14.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000103/0.3853, allocations: 119.2 kB / 499.7 MB, free: 13.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3853, allocations: 0 / 499.7 MB, free: 13.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002958/0.3856, allocations: 31.72 kB / 499.8 MB, free: 13.92 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.001155/0.3867, allocations: 0.5022 MB / 0.4885 GB, free: 13.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002101/0.387, allocations: 60.42 kB / 0.4886 GB, free: 13.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.387, allocations: 0 / 0.4886 GB, free: 13.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.092e-05/0.3871, allocations: 29.27 kB / 0.4886 GB, free: 13.49 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.3874, allocations: 34.31 kB / 0.4887 GB, free: 13.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004381/0.3879, allocations: 194.6 kB / 0.4888 GB, free: 13.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001689/0.388, allocations: 0.6945 MB / 0.4895 GB, free: 12.62 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.016e-05/0.3881, allocations: 23.7 kB / 0.4895 GB, free: 12.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.485e-05/0.3882, allocations: 18.02 kB / 0.4896 GB, free: 12.61 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3882, allocations: 5.5 kB / 0.4896 GB, free: 12.6 MB / 382.1 MB Notification: Performance of Templates: time 0.00577/0.394, allocations: 1.98 MB / 0.4915 GB, free: 12.36 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1)