Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009447/0.009447, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001518/0.001519, allocations: 191.7 kB / 16.67 MB, free: 5.938 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.649/1.649, allocations: 205.1 MB / 222.6 MB, free: 4.512 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.3683/0.3683, allocations: 39.95 MB / 309.8 MB, free: 9.418 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.001421/0.001421, allocations: 67.91 kB / 435.8 MB, free: 2.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.3722, allocations: 56.88 MB / 492.7 MB, free: 19.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.004954/0.3772, allocations: 1.694 MB / 494.4 MB, free: 18.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002715/0.3799, allocations: 1.41 MB / 495.8 MB, free: 17.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.3801, allocations: 1.094 kB / 495.8 MB, free: 17.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004332/0.3805, allocations: 36.34 kB / 495.9 MB, free: 17.22 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.0004129/0.381, allocations: 59.11 kB / 495.9 MB, free: 17.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004053/0.3814, allocations: 84.55 kB / 496 MB, free: 17.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003023/0.3817, allocations: 104.3 kB / 496.1 MB, free: 17.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.3818, allocations: 21 kB / 496.1 MB, free: 17.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.382, allocations: 46.42 kB / 496.2 MB, free: 17.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002172/0.3822, allocations: 41 kB / 496.2 MB, free: 17.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.169e-05/0.3823, allocations: 4.656 kB / 496.2 MB, free: 17.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002485/0.3825, allocations: 60.36 kB / 496.3 MB, free: 17.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.099e-05/0.3826, allocations: 24.56 kB / 496.3 MB, free: 17.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.789e-05/0.3827, allocations: 34.77 kB / 496.3 MB, free: 16.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003625/0.383, allocations: 137.2 kB / 496.5 MB, free: 16.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.3831, allocations: 0 / 496.5 MB, free: 16.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.3831, allocations: 0 / 496.5 MB, free: 16.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.3831, allocations: 0 / 496.5 MB, free: 16.93 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006395/0.3837, allocations: 420.3 kB / 496.9 MB, free: 16.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.3838, allocations: 14.23 kB / 496.9 MB, free: 16.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.124e-05/0.3839, allocations: 9.484 kB / 496.9 MB, free: 16.51 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003632/0.3842, allocations: 218.6 kB / 497.1 MB, free: 16.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.3842, allocations: 5.531 kB / 497.1 MB, free: 16.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.774e-05/0.3843, allocations: 2.219 kB / 497.1 MB, free: 16.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002295/0.3845, allocations: 79.58 kB / 497.2 MB, free: 16.22 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.3845, allocations: 0 / 497.2 MB, free: 16.22 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.3846, allocations: 2.156 kB / 497.2 MB, free: 16.22 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.3846, allocations: 0 / 497.2 MB, free: 16.22 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.3847, allocations: 25.94 kB / 497.2 MB, free: 16.22 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000448/0.3851, allocations: 294.1 kB / 497.5 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/0.3854, allocations: 73.12 kB / 497.6 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.652e-05/0.3854, allocations: 27.38 kB / 497.6 MB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/0.3855, allocations: 2.312 kB / 497.6 MB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001917/0.3857, allocations: 84.19 kB / 497.7 MB, free: 15.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.3857, allocations: 1.625 kB / 497.7 MB, free: 15.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006104/0.3863, allocations: 196.2 kB / 497.9 MB, free: 15.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.3864, allocations: 90.17 kB / 498 MB, free: 15.6 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.3865, allocations: 151.9 kB / 498.1 MB, free: 15.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.3866, allocations: 32 kB / 498.2 MB, free: 15.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.46e-05/0.3866, allocations: 98.22 kB / 498.3 MB, free: 15.35 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.12e-05/0.3867, allocations: 27.8 kB / 498.3 MB, free: 15.33 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-05/0.3867, allocations: 26.77 kB / 498.3 MB, free: 15.31 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.56e-05/0.3868, allocations: 321.7 kB / 498.6 MB, free: 14.99 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.743e-05/0.3869, allocations: 23.64 kB / 498.6 MB, free: 14.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.347e-05/0.3869, allocations: 49.17 kB / 498.7 MB, free: 14.95 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001276/0.3871, allocations: 70.98 kB / 498.8 MB, free: 14.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3871, allocations: 1.406 kB / 498.8 MB, free: 14.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002063/0.3873, allocations: 112.5 kB / 498.9 MB, free: 14.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.3873, allocations: 5.75 kB / 498.9 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.3873, allocations: 304 / 498.9 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.3874, allocations: 13.48 kB / 498.9 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.3875, allocations: 21.8 kB / 498.9 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.3875, allocations: 5.234 kB / 498.9 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.506e-05/0.3875, allocations: 2.094 kB / 498.9 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.3876, allocations: 12.22 kB / 498.9 MB, free: 14.82 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 (11): * Single equations (assignments): 11 * 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.747e-05/0.3876, allocations: 126.1 kB / 499.1 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.322e-05/0.3877, allocations: 9.391 kB / 499.1 MB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.477e-05/0.3877, allocations: 18.22 kB / 499.1 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.3877, allocations: 5.625 kB / 499.1 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.3877, allocations: 4.5 kB / 499.1 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.3878, allocations: 4.688 kB / 499.1 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004419/0.3882, allocations: 411 kB / 499.5 MB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3882, allocations: 0 / 499.5 MB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.106e-05/0.3883, allocations: 10.78 kB / 499.5 MB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.3883, allocations: 1.406 kB / 499.5 MB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.3883, allocations: 2.828 kB / 499.5 MB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.3883, allocations: 0.5625 kB / 499.5 MB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3883, allocations: 5.156 kB / 499.5 MB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002337/0.3885, allocations: 222.1 kB / 499.7 MB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.836e-05/0.3886, allocations: 83.12 kB / 499.8 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.3886, allocations: 3.391 kB / 499.8 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.316e-05/0.3887, allocations: 8.062 kB / 499.8 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.3887, allocations: 9.062 kB / 499.8 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/0.3888, allocations: 9.234 kB / 499.8 MB, free: 14.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.786e-05/0.3889, allocations: 126.8 kB / 500 MB, free: 13.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3889, allocations: 1.719 kB / 500 MB, free: 13.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002889/0.3892, allocations: 30.73 kB / 500 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 (9): * Single equations (assignments): 7 * 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.001103/0.3903, allocations: 0.4945 MB / 0.4888 GB, free: 13.53 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002616/0.3905, allocations: 74.27 kB / 0.4888 GB, free: 13.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.3906, allocations: 1.188 kB / 0.4888 GB, free: 13.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.073e-05/0.3907, allocations: 35.42 kB / 0.4889 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.0003446/0.391, allocations: 35.48 kB / 0.4889 GB, free: 13.47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004402/0.3915, allocations: 212.4 kB / 0.4891 GB, free: 13.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001738/0.3916, allocations: 0.7021 MB / 0.4898 GB, free: 12.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.658e-05/0.3917, allocations: 20.22 kB / 0.4898 GB, free: 12.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.334e-05/0.3918, allocations: 20.58 kB / 0.4898 GB, free: 12.59 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3918, allocations: 0 / 0.4898 GB, free: 12.59 MB / 382.1 MB Notification: Performance of Templates: time 0.005691/0.3975, allocations: 2.044 MB / 0.4918 GB, free: 12.36 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1)