Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0112/0.0112, allocations: 102 kB / 15.73 MB, free: 6.039 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.001879/0.001879, allocations: 194.9 kB / 16.68 MB, free: 5.961 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.721/1.721, allocations: 205.1 MB / 222.5 MB, free: 4.379 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.3701/0.3701, allocations: 39.95 MB / 309.8 MB, free: 9.664 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.001953/0.001953, allocations: 71.89 kB / 435.8 MB, free: 2.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3957/0.3976, allocations: 56.88 MB / 492.7 MB, free: 19.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.004148/0.4019, allocations: 1.684 MB / 494.4 MB, free: 18.42 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.4033, allocations: 0.8035 MB / 495.2 MB, free: 17.87 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.434e-05/0.4034, allocations: 1.125 kB / 495.2 MB, free: 17.87 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003879/0.4038, allocations: 81.34 kB / 495.3 MB, free: 17.85 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.0002631/0.4041, allocations: 84.89 kB / 495.4 MB, free: 17.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.4043, allocations: 77.38 kB / 495.5 MB, free: 17.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001995/0.4046, allocations: 109.9 kB / 495.6 MB, free: 17.72 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.4047, allocations: 11.33 kB / 495.6 MB, free: 17.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.4048, allocations: 54.06 kB / 495.6 MB, free: 17.69 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.4049, allocations: 52.39 kB / 495.7 MB, free: 17.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.4049, allocations: 3.594 kB / 495.7 MB, free: 17.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.4051, allocations: 46.94 kB / 495.7 MB, free: 17.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.518e-05/0.4051, allocations: 24.55 kB / 495.7 MB, free: 17.65 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.7e-05/0.4052, allocations: 41.97 kB / 495.8 MB, free: 17.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002421/0.4054, allocations: 117.2 kB / 495.9 MB, free: 17.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.4055, allocations: 1.562 kB / 495.9 MB, free: 17.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4055, allocations: 0 / 495.9 MB, free: 17.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.4055, allocations: 0 / 495.9 MB, free: 17.57 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.0005522/0.406, allocations: 424.9 kB / 496.3 MB, free: 17.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.4061, allocations: 17.14 kB / 496.3 MB, free: 17.15 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.142e-05/0.4061, allocations: 14.06 kB / 496.4 MB, free: 17.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002776/0.4064, allocations: 208.7 kB / 496.6 MB, free: 16.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.4064, allocations: 9.766 kB / 496.6 MB, free: 16.92 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.4065, allocations: 5.656 kB / 496.6 MB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.4066, allocations: 55.05 kB / 496.6 MB, free: 16.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.4067, allocations: 0 / 496.6 MB, free: 16.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.4067, allocations: 1.219 kB / 496.6 MB, free: 16.88 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.4067, allocations: 1.094 kB / 496.6 MB, free: 16.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.296e-05/0.4068, allocations: 18.84 kB / 496.6 MB, free: 16.87 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003448/0.4071, allocations: 299.2 kB / 496.9 MB, free: 16.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.4073, allocations: 57.38 kB / 497 MB, free: 16.54 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.663e-05/0.4074, allocations: 19.34 kB / 497 MB, free: 16.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.4074, allocations: 1.906 kB / 497 MB, free: 16.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001344/0.4075, allocations: 76.47 kB / 497.1 MB, free: 16.46 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.4076, allocations: 0 / 497.1 MB, free: 16.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005345/0.4081, allocations: 178.1 kB / 497.3 MB, free: 16.37 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.786e-05/0.4081, allocations: 53.53 kB / 497.3 MB, free: 16.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/0.4083, allocations: 213.4 kB / 497.5 MB, free: 16.17 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.4084, allocations: 30.89 kB / 497.6 MB, free: 16.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.15e-05/0.4084, allocations: 101.7 kB / 497.7 MB, free: 16.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.821e-05/0.4084, allocations: 21.66 kB / 497.7 MB, free: 16.03 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.931e-05/0.4085, allocations: 30.12 kB / 497.7 MB, free: 16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.06e-05/0.4086, allocations: 326.2 kB / 498 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.893e-05/0.4086, allocations: 22.19 kB / 498 MB, free: 15.67 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.151e-05/0.4087, allocations: 34.73 kB / 498.1 MB, free: 15.65 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.4088, allocations: 58.14 kB / 498.1 MB, free: 15.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.4088, allocations: 0 / 498.1 MB, free: 15.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001798/0.409, allocations: 113.7 kB / 498.2 MB, free: 15.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.409, allocations: 5.672 kB / 498.3 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.409, allocations: 1.125 kB / 498.3 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.4091, allocations: 1.656 kB / 498.3 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.652e-05/0.4092, allocations: 22.97 kB / 498.3 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.4092, allocations: 1.281 kB / 498.3 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.64e-05/0.4092, allocations: 7.234 kB / 498.3 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.251e-05/0.4092, allocations: 7.672 kB / 498.3 MB, free: 15.53 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 9.553e-05/0.4094, allocations: 131 kB / 498.4 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.331e-05/0.4094, allocations: 9.734 kB / 498.4 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.873e-05/0.4094, allocations: 16.52 kB / 498.4 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.4094, allocations: 1.062 kB / 498.4 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.4095, allocations: 1.062 kB / 498.4 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.4095, allocations: 4.688 kB / 498.5 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003944/0.4099, allocations: 396.3 kB / 498.8 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.4099, allocations: 0 / 498.8 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.337e-05/0.4099, allocations: 13.58 kB / 498.9 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.4099, allocations: 6.172 kB / 498.9 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.4099, allocations: 9.406 kB / 498.9 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.4099, allocations: 5.109 kB / 498.9 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.41, allocations: 1.438 kB / 498.9 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001963/0.4102, allocations: 197.3 kB / 499.1 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.495e-05/0.4102, allocations: 92.14 kB / 499.2 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.398e-05/0.4102, allocations: 15.47 kB / 499.2 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.782e-05/0.4103, allocations: 3.266 kB / 499.2 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.023e-05/0.4103, allocations: 4.781 kB / 499.2 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.4104, allocations: 4.781 kB / 499.2 MB, free: 14.74 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001275/0.4105, allocations: 159.2 kB / 499.3 MB, free: 14.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4105, allocations: 1.438 kB / 499.3 MB, free: 14.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003182/0.4108, allocations: 20.72 kB / 499.4 MB, free: 14.64 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.001342/0.4122, allocations: 477.8 kB / 499.8 MB, free: 14.26 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002465/0.4124, allocations: 56.53 kB / 499.9 MB, free: 14.24 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.4125, allocations: 1.156 kB / 499.9 MB, free: 14.24 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.4126, allocations: 32.16 kB / 499.9 MB, free: 14.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004605/0.413, allocations: 30.56 kB / 499.9 MB, free: 14.22 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000482/0.4135, allocations: 239.2 kB / 0.4885 GB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001909/0.4137, allocations: 0.7097 MB / 0.4891 GB, free: 13.35 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.624e-05/0.4138, allocations: 16 kB / 0.4892 GB, free: 13.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.002e-05/0.4139, allocations: 16.73 kB / 0.4892 GB, free: 13.34 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4139, allocations: 5.031 kB / 0.4892 GB, free: 13.33 MB / 382.1 MB Notification: Performance of Templates: time 0.005327/0.4192, allocations: 1.726 MB / 0.4909 GB, free: 13.13 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1)