Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009037/0.009043, allocations: 100.8 kB / 15.73 MB, free: 6.012 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.001542/0.001542, allocations: 187.8 kB / 16.67 MB, free: 5.949 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.647/1.647, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.3427/0.3427, allocations: 39.94 MB / 309.8 MB, free: 9.422 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.001442/0.001442, allocations: 71.91 kB / 435.8 MB, free: 2.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3696/0.371, allocations: 56.87 MB / 492.7 MB, free: 19.47 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.003175/0.3742, allocations: 1.697 MB / 494.4 MB, free: 18.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.3755, allocations: 0.8034 MB / 495.2 MB, free: 17.74 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.128e-05/0.3756, allocations: 1.156 kB / 495.2 MB, free: 17.74 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003191/0.376, allocations: 35.06 kB / 495.3 MB, free: 17.72 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.0002377/0.3762, allocations: 57.98 kB / 495.3 MB, free: 17.69 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002494/0.3765, allocations: 79.91 kB / 495.4 MB, free: 17.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001769/0.3767, allocations: 99.66 kB / 495.5 MB, free: 17.6 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.3768, allocations: 19.42 kB / 495.5 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.49e-05/0.3769, allocations: 42.02 kB / 495.5 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.708e-05/0.377, allocations: 29.39 kB / 495.6 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.377, allocations: 4 kB / 495.6 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.832e-05/0.3771, allocations: 43.23 kB / 495.6 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.514e-05/0.3772, allocations: 21.95 kB / 495.6 MB, free: 17.53 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.965e-05/0.3772, allocations: 37.94 kB / 495.7 MB, free: 17.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002129/0.3774, allocations: 109.8 kB / 495.8 MB, free: 17.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3774, allocations: 1.219 kB / 495.8 MB, free: 17.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3774, allocations: 4 kB / 495.8 MB, free: 17.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.3775, allocations: 0 / 495.8 MB, free: 17.45 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.0004887/0.378, allocations: 413.8 kB / 496.2 MB, free: 17.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.378, allocations: 12.95 kB / 496.2 MB, free: 17.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.832e-05/0.3781, allocations: 10.62 kB / 496.2 MB, free: 17.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002216/0.3783, allocations: 205.4 kB / 496.4 MB, free: 16.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.3783, allocations: 1.875 kB / 496.4 MB, free: 16.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/0.3783, allocations: 7.266 kB / 496.4 MB, free: 16.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.3785, allocations: 58.11 kB / 496.5 MB, free: 16.78 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.3785, allocations: 0 / 496.5 MB, free: 16.78 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.3785, allocations: 5.984 kB / 496.5 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.3785, allocations: 3.938 kB / 496.5 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.724e-05/0.3786, allocations: 22.97 kB / 496.5 MB, free: 16.76 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003332/0.379, allocations: 289.5 kB / 496.8 MB, free: 16.47 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.3791, allocations: 56.61 kB / 496.9 MB, free: 16.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.206e-05/0.3792, allocations: 20.33 kB / 496.9 MB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.3793, allocations: 1.844 kB / 496.9 MB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001646/0.3794, allocations: 69.2 kB / 496.9 MB, free: 16.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.074e-06/0.3795, allocations: 3.938 kB / 497 MB, free: 16.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005797/0.38, allocations: 173.1 kB / 497.1 MB, free: 16.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.3801, allocations: 56.81 kB / 497.2 MB, free: 16.21 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/0.3803, allocations: 193.4 kB / 497.4 MB, free: 16.08 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.3803, allocations: 27.02 kB / 497.4 MB, free: 16.05 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.662e-05/0.3803, allocations: 99.03 kB / 497.5 MB, free: 15.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/0.3804, allocations: 24.48 kB / 497.5 MB, free: 15.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-05/0.3804, allocations: 23.34 kB / 497.5 MB, free: 15.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.537e-05/0.3805, allocations: 330.5 kB / 497.9 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.725e-05/0.3806, allocations: 17.83 kB / 497.9 MB, free: 15.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.348e-05/0.3806, allocations: 39.2 kB / 497.9 MB, free: 15.56 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.3807, allocations: 57.25 kB / 498 MB, free: 15.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3807, allocations: 3.938 kB / 498 MB, free: 15.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001904/0.3809, allocations: 93.78 kB / 498.1 MB, free: 15.47 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.381, allocations: 5.25 kB / 498.1 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.381, allocations: 2.375 kB / 498.1 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.381, allocations: 7.969 kB / 498.1 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.3811, allocations: 27.33 kB / 498.1 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.3812, allocations: 1.375 kB / 498.1 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.437e-05/0.3812, allocations: 7.594 kB / 498.1 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.3812, allocations: 3.016 kB / 498.1 MB, free: 15.45 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 0.0001028/0.3814, allocations: 125.9 kB / 498.2 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/0.3814, allocations: 13.28 kB / 498.3 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.261e-05/0.3814, allocations: 14 kB / 498.3 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.3814, allocations: 5.094 kB / 498.3 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.3815, allocations: 1.125 kB / 498.3 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.3815, allocations: 5.109 kB / 498.3 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000425/0.3819, allocations: 392.6 kB / 498.7 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.3819, allocations: 5.891 kB / 498.7 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.469e-05/0.382, allocations: 8.516 kB / 498.7 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.382, allocations: 0.7969 kB / 498.7 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.382, allocations: 6.625 kB / 498.7 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.382, allocations: 0.6094 kB / 498.7 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.382, allocations: 5.344 kB / 498.7 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002073/0.3822, allocations: 205.4 kB / 498.9 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.362e-05/0.3822, allocations: 84.36 kB / 499 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/0.3823, allocations: 5.703 kB / 499 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.182e-05/0.3824, allocations: 4.328 kB / 499 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.919e-05/0.3824, allocations: 5.156 kB / 499 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.3824, allocations: 11.45 kB / 499 MB, free: 14.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001358/0.3826, allocations: 144 kB / 499.1 MB, free: 14.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3826, allocations: 0 / 499.1 MB, free: 14.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002855/0.3829, allocations: 22.33 kB / 499.2 MB, free: 14.56 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.001158/0.384, allocations: 474.9 kB / 499.6 MB, free: 14.19 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002381/0.3843, allocations: 56.61 kB / 499.7 MB, free: 14.17 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3843, allocations: 0 / 499.7 MB, free: 14.17 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.344e-05/0.3844, allocations: 28.56 kB / 499.7 MB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004166/0.3848, allocations: 39.11 kB / 499.7 MB, free: 14.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005685/0.3854, allocations: 226.1 kB / 500 MB, free: 13.97 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001982/0.3856, allocations: 0.7054 MB / 0.4889 GB, free: 13.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.933e-05/0.3857, allocations: 20.59 kB / 0.489 GB, free: 13.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.22e-05/0.3857, allocations: 17.78 kB / 0.489 GB, free: 13.26 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3857, allocations: 0 / 0.489 GB, free: 13.26 MB / 382.1 MB Notification: Performance of Templates: time 0.005439/0.3912, allocations: 1.722 MB / 0.4907 GB, free: 13.06 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1)