Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004928/0.004928, allocations: 102.1 kB / 15.73 MB, free: 6.469 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.0011/0.0011, allocations: 193.9 kB / 16.67 MB, free: 6.379 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.603/1.603, allocations: 205.1 MB / 222.6 MB, free: 4.527 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.3853/0.3853, allocations: 39.94 MB / 309.8 MB, free: 9.395 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.001623/0.001623, allocations: 67.91 kB / 435.8 MB, free: 2.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4093/0.4109, allocations: 56.87 MB / 492.7 MB, free: 19.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.003358/0.4143, allocations: 1.697 MB / 494.4 MB, free: 18.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001371/0.4157, allocations: 0.7959 MB / 495.2 MB, free: 17.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.98e-05/0.4158, allocations: 9.031 kB / 495.2 MB, free: 17.67 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003401/0.4161, allocations: 42.31 kB / 495.3 MB, free: 17.65 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.0002487/0.4164, allocations: 50.83 kB / 495.3 MB, free: 17.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002634/0.4167, allocations: 87.25 kB / 495.4 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001929/0.4169, allocations: 91.81 kB / 495.5 MB, free: 17.53 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.417, allocations: 29.11 kB / 495.5 MB, free: 17.51 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.4171, allocations: 39.88 kB / 495.6 MB, free: 17.49 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.829e-05/0.4172, allocations: 27.31 kB / 495.6 MB, free: 17.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.4172, allocations: 3.688 kB / 495.6 MB, free: 17.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.4173, allocations: 42.27 kB / 495.6 MB, free: 17.47 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.508e-05/0.4174, allocations: 19.27 kB / 495.6 MB, free: 17.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.43e-05/0.4175, allocations: 37.12 kB / 495.7 MB, free: 17.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002409/0.4177, allocations: 117.1 kB / 495.8 MB, free: 17.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4177, allocations: 0 / 495.8 MB, free: 17.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4177, allocations: 0 / 495.8 MB, free: 17.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.4177, allocations: 4.703 kB / 495.8 MB, free: 17.38 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.0005194/0.4183, allocations: 423.2 kB / 496.2 MB, free: 16.97 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.4183, allocations: 13.14 kB / 496.2 MB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.891e-05/0.4184, allocations: 10.09 kB / 496.2 MB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.4186, allocations: 215 kB / 496.4 MB, free: 16.74 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.4187, allocations: 2.25 kB / 496.4 MB, free: 16.74 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.174e-05/0.4187, allocations: 10.75 kB / 496.5 MB, free: 16.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.4189, allocations: 54.48 kB / 496.5 MB, free: 16.69 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.4189, allocations: 4.562 kB / 496.5 MB, free: 16.69 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.4189, allocations: 0 / 496.5 MB, free: 16.69 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.4189, allocations: 1.375 kB / 496.5 MB, free: 16.69 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.159e-05/0.419, allocations: 17.97 kB / 496.5 MB, free: 16.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004062/0.4194, allocations: 283.6 kB / 496.8 MB, free: 16.4 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001961/0.4196, allocations: 59.88 kB / 496.9 MB, free: 16.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.935e-05/0.4197, allocations: 25.61 kB / 496.9 MB, free: 16.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.4197, allocations: 1.188 kB / 496.9 MB, free: 16.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001634/0.4199, allocations: 69.5 kB / 497 MB, free: 16.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.4199, allocations: 0 / 497 MB, free: 16.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006141/0.4205, allocations: 176.6 kB / 497.1 MB, free: 16.2 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.4206, allocations: 53.69 kB / 497.2 MB, free: 16.13 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002253/0.4208, allocations: 199.2 kB / 497.4 MB, free: 16.01 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.4208, allocations: 25.7 kB / 497.4 MB, free: 15.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.487e-05/0.4209, allocations: 109.4 kB / 497.5 MB, free: 15.88 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.243e-05/0.4209, allocations: 20.69 kB / 497.5 MB, free: 15.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.416e-05/0.421, allocations: 22.42 kB / 497.6 MB, free: 15.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.042e-05/0.4211, allocations: 331.3 kB / 497.9 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.382e-05/0.4212, allocations: 22.16 kB / 497.9 MB, free: 15.51 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.262e-05/0.4212, allocations: 38.31 kB / 497.9 MB, free: 15.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001218/0.4214, allocations: 57.27 kB / 498 MB, free: 15.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.4214, allocations: 0 / 498 MB, free: 15.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002019/0.4216, allocations: 106.2 kB / 498.1 MB, free: 15.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.4216, allocations: 6.062 kB / 498.1 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.872e-06/0.4216, allocations: 1.688 kB / 498.1 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.4216, allocations: 0 / 498.1 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.4218, allocations: 24.5 kB / 498.1 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.4218, allocations: 1.469 kB / 498.1 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.523e-05/0.4218, allocations: 6.312 kB / 498.1 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.4218, allocations: 6.891 kB / 498.1 MB, free: 15.37 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.0001004/0.4219, allocations: 131.1 kB / 498.3 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.314e-05/0.422, allocations: 13.31 kB / 498.3 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.261e-05/0.422, allocations: 19.89 kB / 498.3 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.422, allocations: 1.969 kB / 498.3 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.4221, allocations: 0 / 498.3 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.4221, allocations: 9.984 kB / 498.3 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004529/0.4225, allocations: 394.3 kB / 498.7 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.4225, allocations: 1.188 kB / 498.7 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.614e-05/0.4226, allocations: 8.359 kB / 498.7 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.4226, allocations: 1 kB / 498.7 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.4226, allocations: 6.188 kB / 498.7 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.4226, allocations: 1.344 kB / 498.7 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.4226, allocations: 2.219 kB / 498.7 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002365/0.4229, allocations: 207.6 kB / 498.9 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.997e-05/0.4229, allocations: 89.41 kB / 499 MB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.572e-05/0.423, allocations: 6.641 kB / 499 MB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.771e-05/0.423, allocations: 7.391 kB / 499 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/0.4231, allocations: 9.406 kB / 499 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.05e-05/0.4231, allocations: 4.672 kB / 499 MB, free: 14.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000142/0.4232, allocations: 155.2 kB / 499.2 MB, free: 14.47 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4233, allocations: 0 / 499.2 MB, free: 14.47 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000281/0.4235, allocations: 17.55 kB / 499.2 MB, free: 14.47 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.001169/0.4247, allocations: 481.3 kB / 499.7 MB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002292/0.425, allocations: 59.95 kB / 499.7 MB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.425, allocations: 0 / 499.7 MB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.215e-05/0.4251, allocations: 28.53 kB / 499.8 MB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.4254, allocations: 38.73 kB / 499.8 MB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004772/0.4259, allocations: 229.6 kB / 0.4883 GB, free: 13.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001933/0.4261, allocations: 0.7073 MB / 0.489 GB, free: 13.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.204e-05/0.4262, allocations: 18.17 kB / 0.489 GB, free: 13.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.887e-05/0.4262, allocations: 16.33 kB / 0.489 GB, free: 13.17 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4263, allocations: 0 / 0.489 GB, free: 13.17 MB / 382.1 MB Notification: Performance of Templates: time 0.006065/0.4323, allocations: 1.723 MB / 0.4907 GB, free: 12.97 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1)