Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006991/0.00699, allocations: 105.8 kB / 15.74 MB, free: 5.992 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.001422/0.001422, allocations: 195.8 kB / 16.67 MB, free: 5.914 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.59/1.59, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.383 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.001741/0.001741, allocations: 63.91 kB / 435.8 MB, free: 2.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.4022, allocations: 56.88 MB / 492.7 MB, free: 19.36 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003596/0.4059, allocations: 1.994 MB / 494.7 MB, free: 17.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001777/0.4077, allocations: 0.903 MB / 495.6 MB, free: 17.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.4079, allocations: 6.125 kB / 495.6 MB, free: 17.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003546/0.4083, allocations: 44.73 kB / 495.7 MB, free: 17.31 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.0002843/0.4086, allocations: 72.11 kB / 495.7 MB, free: 17.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004323/0.409, allocations: 122.1 kB / 495.8 MB, free: 17.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003388/0.4093, allocations: 198.8 kB / 496 MB, free: 17.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.4095, allocations: 37.08 kB / 496.1 MB, free: 17.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002049/0.4097, allocations: 82.91 kB / 496.2 MB, free: 17.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001501/0.4099, allocations: 74.59 kB / 496.2 MB, free: 17.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.85e-05/0.4099, allocations: 12.31 kB / 496.2 MB, free: 17.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.4101, allocations: 53.17 kB / 496.3 MB, free: 17 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.916e-05/0.4102, allocations: 40.31 kB / 496.3 MB, free: 16.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.4103, allocations: 70.52 kB / 496.4 MB, free: 16.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003489/0.4106, allocations: 199.3 kB / 496.6 MB, free: 16.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.4106, allocations: 0.8906 kB / 496.6 MB, free: 16.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.4107, allocations: 0 / 496.6 MB, free: 16.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.4107, allocations: 0 / 496.6 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009504/0.4116, allocations: 0.5525 MB / 497.2 MB, free: 16.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.4117, allocations: 12.98 kB / 497.2 MB, free: 16.33 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.112e-05/0.4118, allocations: 22.22 kB / 497.2 MB, free: 16.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000368/0.4121, allocations: 254 kB / 497.4 MB, free: 16.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.4122, allocations: 8.688 kB / 497.4 MB, free: 16.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.626e-05/0.4122, allocations: 18.06 kB / 497.5 MB, free: 16.06 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004765/0.4127, allocations: 154.2 kB / 497.6 MB, free: 15.97 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.4127, allocations: 0 / 497.6 MB, free: 15.97 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.466e-05/0.4128, allocations: 1.875 kB / 497.6 MB, free: 15.97 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.4128, allocations: 2.75 kB / 497.6 MB, free: 15.97 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006362/0.4134, allocations: 112.6 kB / 497.7 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007728/0.4142, allocations: 0.5375 MB / 498.3 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009514/0.4152, allocations: 161.2 kB / 498.4 MB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000335/0.4155, allocations: 74.39 kB / 498.5 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.538e-05/0.4156, allocations: 1.594 kB / 498.5 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005233/0.4161, allocations: 140.8 kB / 498.6 MB, free: 15.31 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 2.625e-06/0.4161, allocations: 0 / 498.6 MB, free: 15.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001192/0.4173, allocations: 255.4 kB / 498.9 MB, free: 15.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.244e-05/0.4174, allocations: 62.47 kB / 498.9 MB, free: 15.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002884/0.4177, allocations: 228.1 kB / 499.2 MB, free: 15.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.4177, allocations: 32.05 kB / 499.2 MB, free: 14.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.4178, allocations: 121.7 kB / 499.3 MB, free: 14.87 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.617e-05/0.4179, allocations: 36.03 kB / 499.4 MB, free: 14.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.774e-05/0.418, allocations: 37.08 kB / 499.4 MB, free: 14.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.4181, allocations: 334.9 kB / 499.7 MB, free: 14.49 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003026/0.4184, allocations: 68.23 kB / 499.8 MB, free: 14.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003131/0.4187, allocations: 108.4 kB / 499.9 MB, free: 14.42 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005642/0.4193, allocations: 194.4 kB / 0.4884 GB, free: 14.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.4193, allocations: 0 / 0.4884 GB, free: 14.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007137/0.42, allocations: 256.8 kB / 0.4886 GB, free: 14.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.62e-05/0.4201, allocations: 36.86 kB / 0.4886 GB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.4201, allocations: 2 kB / 0.4886 GB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/0.4201, allocations: 1.656 kB / 0.4886 GB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/0.4204, allocations: 37.19 kB / 0.4887 GB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/0.4204, allocations: 2.766 kB / 0.4887 GB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002216/0.4206, allocations: 36.55 kB / 0.4887 GB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.4206, allocations: 5.703 kB / 0.4887 GB, free: 14.13 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001401/0.4208, allocations: 136.5 kB / 0.4888 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.232e-05/0.4208, allocations: 17.7 kB / 0.4889 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.047e-05/0.4209, allocations: 20.11 kB / 0.4889 GB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/0.4209, allocations: 10.38 kB / 0.4889 GB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.4209, allocations: 0 / 0.4889 GB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.421, allocations: 1.219 kB / 0.4889 GB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000268/0.4212, allocations: 235.1 kB / 0.4891 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4212, allocations: 0 / 0.4891 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/0.4214, allocations: 26.83 kB / 0.4891 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4214, allocations: 1 kB / 0.4891 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.4214, allocations: 8.672 kB / 0.4892 GB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.4215, allocations: 3.938 kB / 0.4892 GB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.4215, allocations: 8.922 kB / 0.4892 GB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009714/0.4224, allocations: 300 kB / 0.4895 GB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.41e-05/0.4225, allocations: 93.69 kB / 0.4895 GB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.532e-05/0.4225, allocations: 7.375 kB / 0.4896 GB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.4227, allocations: 26.28 kB / 0.4896 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.77e-05/0.4228, allocations: 21.05 kB / 0.4896 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/0.4228, allocations: 5.734 kB / 0.4896 GB, free: 13.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001547/0.423, allocations: 166.4 kB / 0.4898 GB, free: 13.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.423, allocations: 0 / 0.4898 GB, free: 13.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002887/0.4233, allocations: 39.33 kB / 0.4898 GB, free: 13.37 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.0009879/0.4243, allocations: 406.6 kB / 0.4902 GB, free: 13.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007383/0.425, allocations: 222.8 kB / 0.4904 GB, free: 12.94 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4251, allocations: 0 / 0.4904 GB, free: 12.94 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002864/0.4254, allocations: 77.62 kB / 0.4905 GB, free: 12.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.4257, allocations: 50.92 kB / 0.4905 GB, free: 12.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008469/0.4266, allocations: 318.8 kB / 0.4908 GB, free: 12.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002221/0.4268, allocations: 0.7296 MB / 0.4915 GB, free: 12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001164/0.427, allocations: 23.19 kB / 0.4916 GB, free: 11.99 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.308e-05/0.427, allocations: 18.03 kB / 0.4916 GB, free: 11.98 MB / 382.1 MB Notification: Performance of SimCode: time 4.1e-07/0.427, allocations: 0 / 0.4916 GB, free: 11.98 MB / 382.1 MB Notification: Performance of Templates: time 0.008391/0.4354, allocations: 2.893 MB / 0.4944 GB, free: 11.09 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)