Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008718/0.008718, allocations: 101.9 kB / 15.73 MB, free: 6 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.001818/0.001818, allocations: 196.3 kB / 16.68 MB, free: 5.926 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.836/1.836, allocations: 205.1 MB / 222.6 MB, free: 4.473 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.3726/0.3726, allocations: 39.94 MB / 309.8 MB, free: 9.402 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.001637/0.001637, allocations: 71.91 kB / 435.8 MB, free: 2.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4217/0.4234, allocations: 56.88 MB / 492.7 MB, free: 19.45 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.004318/0.4278, allocations: 1.837 MB / 494.6 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001693/0.4295, allocations: 0.9043 MB / 495.5 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.4296, allocations: 1.219 kB / 495.5 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005574/0.4302, allocations: 162.5 kB / 495.6 MB, free: 17.5 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.0004212/0.4306, allocations: 126.9 kB / 495.7 MB, free: 17.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005101/0.4311, allocations: 147.4 kB / 495.9 MB, free: 17.37 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004357/0.4316, allocations: 217.1 kB / 496.1 MB, free: 17.28 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.4318, allocations: 27.27 kB / 496.1 MB, free: 17.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002216/0.432, allocations: 97.39 kB / 496.2 MB, free: 17.24 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002627/0.4323, allocations: 129.3 kB / 496.3 MB, free: 17.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.67e-05/0.4323, allocations: 11.5 kB / 496.4 MB, free: 17.19 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001488/0.4325, allocations: 45.38 kB / 496.4 MB, free: 17.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.4326, allocations: 48.86 kB / 496.5 MB, free: 17.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.4327, allocations: 81.12 kB / 496.5 MB, free: 17.1 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000417/0.4331, allocations: 195.2 kB / 496.7 MB, free: 17.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.4331, allocations: 0 / 496.7 MB, free: 17.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 6.011e-06/0.4332, allocations: 2.219 kB / 496.7 MB, free: 17.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.4332, allocations: 0 / 496.7 MB, free: 17.02 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009766/0.4341, allocations: 0.5129 MB / 497.2 MB, free: 16.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.666e-05/0.4342, allocations: 13.61 kB / 497.3 MB, free: 16.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.099e-05/0.4343, allocations: 23.31 kB / 497.3 MB, free: 16.53 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000619/0.4349, allocations: 270 kB / 497.5 MB, free: 16.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.435, allocations: 6.75 kB / 497.5 MB, free: 16.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.357e-05/0.435, allocations: 8.969 kB / 497.6 MB, free: 16.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003472/0.4354, allocations: 99.27 kB / 497.6 MB, free: 16.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/0.4354, allocations: 0.9375 kB / 497.7 MB, free: 16.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.4355, allocations: 0.8438 kB / 497.7 MB, free: 16.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.4355, allocations: 1.656 kB / 497.7 MB, free: 16.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001727/0.4357, allocations: 44.88 kB / 497.7 MB, free: 16.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007328/0.4364, allocations: 439.8 kB / 498.1 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003868/0.4368, allocations: 117.4 kB / 498.2 MB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/0.4369, allocations: 43.3 kB / 498.3 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.676e-05/0.437, allocations: 3.312 kB / 498.3 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003475/0.4374, allocations: 115 kB / 498.4 MB, free: 15.6 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.553e-06/0.4374, allocations: 0 / 498.4 MB, free: 15.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0013/0.4387, allocations: 359.6 kB / 498.7 MB, free: 15.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.141e-05/0.4388, allocations: 82.89 kB / 498.8 MB, free: 15.33 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006325/0.4394, allocations: 357.7 kB / 499.2 MB, free: 15.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.4394, allocations: 32.2 kB / 499.2 MB, free: 15.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.4396, allocations: 138.2 kB / 499.3 MB, free: 15 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.369e-05/0.4396, allocations: 55.3 kB / 499.4 MB, free: 14.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.206e-05/0.4397, allocations: 32.61 kB / 499.4 MB, free: 14.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.4399, allocations: 340.2 kB / 499.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.44, allocations: 38.62 kB / 499.8 MB, free: 14.6 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.4401, allocations: 74.33 kB / 499.9 MB, free: 14.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002409/0.4404, allocations: 121.7 kB / 500 MB, free: 14.47 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.4404, allocations: 1.281 kB / 500 MB, free: 14.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003848/0.4408, allocations: 183.7 kB / 0.4885 GB, free: 14.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.4408, allocations: 6.25 kB / 0.4885 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.4408, allocations: 1.375 kB / 0.4885 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.4409, allocations: 2.562 kB / 0.4885 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.441, allocations: 33.45 kB / 0.4885 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.4411, allocations: 10 kB / 0.4885 GB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.858e-05/0.4412, allocations: 6.297 kB / 0.4885 GB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.4412, allocations: 9.047 kB / 0.4885 GB, free: 14.36 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.000156/0.4413, allocations: 151.3 kB / 0.4887 GB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.435e-05/0.4414, allocations: 24.36 kB / 0.4887 GB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.478e-05/0.4415, allocations: 28.81 kB / 0.4887 GB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.4415, allocations: 5.188 kB / 0.4887 GB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.4415, allocations: 5 kB / 0.4887 GB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.4415, allocations: 6.484 kB / 0.4887 GB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008203/0.4423, allocations: 0.6108 MB / 0.4893 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.4424, allocations: 1.375 kB / 0.4893 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.428e-05/0.4424, allocations: 17.22 kB / 0.4893 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.4424, allocations: 6.234 kB / 0.4893 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.4425, allocations: 3.859 kB / 0.4894 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.263e-06/0.4425, allocations: 11.16 kB / 0.4894 GB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.4425, allocations: 1.125 kB / 0.4894 GB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003806/0.4429, allocations: 362.3 kB / 0.4897 GB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.175e-05/0.4429, allocations: 95.81 kB / 0.4898 GB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.661e-05/0.443, allocations: 11.94 kB / 0.4898 GB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.4431, allocations: 9.906 kB / 0.4898 GB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.002e-05/0.4432, allocations: 15.31 kB / 0.4898 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.819e-05/0.4432, allocations: 8.469 kB / 0.4898 GB, free: 13.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003068/0.4436, allocations: 263.9 kB / 0.4901 GB, free: 13.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4436, allocations: 0 / 0.4901 GB, free: 13.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003813/0.4439, allocations: 38.92 kB / 0.4901 GB, free: 13.17 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001199/0.4452, allocations: 476.9 kB / 0.4906 GB, free: 12.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003577/0.4455, allocations: 119.8 kB / 0.4907 GB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.4455, allocations: 1.75 kB / 0.4907 GB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.4457, allocations: 68.77 kB / 0.4908 GB, free: 12.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006048/0.4463, allocations: 64.95 kB / 0.4908 GB, free: 12.69 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008309/0.4471, allocations: 428.8 kB / 0.4912 GB, free: 12.44 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.4475, allocations: 0.7516 MB / 0.492 GB, free: 11.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001204/0.4476, allocations: 28.97 kB / 0.492 GB, free: 11.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.427e-05/0.4477, allocations: 25 kB / 0.492 GB, free: 11.72 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4477, allocations: 4 kB / 0.492 GB, free: 11.71 MB / 382.1 MB Notification: Performance of Templates: time 0.008299/0.456, allocations: 2.762 MB / 0.4947 GB, free: 11.01 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1)