Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006589/0.006589, allocations: 105.4 kB / 15.74 MB, free: 6.008 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.001427/0.001428, allocations: 199.9 kB / 16.68 MB, free: 5.93 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.518/1.518, allocations: 205.1 MB / 222.5 MB, free: 4.371 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.4814/0.4814, allocations: 39.95 MB / 309.8 MB, free: 9.688 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.001523/0.001523, allocations: 71.89 kB / 435.8 MB, free: 2.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3621, allocations: 56.88 MB / 492.7 MB, free: 19.58 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.00354/0.3657, allocations: 1.692 MB / 494.4 MB, free: 18.4 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.3669, allocations: 0.799 MB / 495.2 MB, free: 17.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.343e-05/0.367, allocations: 1.219 kB / 495.2 MB, free: 17.85 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003183/0.3674, allocations: 46.98 kB / 495.3 MB, free: 17.83 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.0002582/0.3677, allocations: 61.11 kB / 495.3 MB, free: 17.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002914/0.368, allocations: 81.28 kB / 495.4 MB, free: 17.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000213/0.3682, allocations: 95.34 kB / 495.5 MB, free: 17.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.3683, allocations: 19.14 kB / 495.5 MB, free: 17.69 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.55e-05/0.3684, allocations: 44.83 kB / 495.6 MB, free: 17.67 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.794e-05/0.3685, allocations: 26.53 kB / 495.6 MB, free: 17.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.249e-05/0.3685, allocations: 4.625 kB / 495.6 MB, free: 17.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.3687, allocations: 41.7 kB / 495.6 MB, free: 17.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.847e-05/0.3687, allocations: 22.58 kB / 495.6 MB, free: 17.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.228e-05/0.3688, allocations: 38.69 kB / 495.7 MB, free: 17.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002445/0.3691, allocations: 115.6 kB / 495.8 MB, free: 17.56 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3691, allocations: 4.5 kB / 495.8 MB, free: 17.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3691, allocations: 0 / 495.8 MB, free: 17.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.3691, allocations: 1.188 kB / 495.8 MB, free: 17.55 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.0005425/0.3696, allocations: 421.5 kB / 496.2 MB, free: 17.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.3697, allocations: 14.23 kB / 496.2 MB, free: 17.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.576e-05/0.3697, allocations: 14.66 kB / 496.2 MB, free: 17.13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/0.37, allocations: 214 kB / 496.5 MB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.37, allocations: 6.641 kB / 496.5 MB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/0.3701, allocations: 7.031 kB / 496.5 MB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.3702, allocations: 54.08 kB / 496.5 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.3702, allocations: 0.7031 kB / 496.5 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.3703, allocations: 5.406 kB / 496.5 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.3703, allocations: 0 / 496.5 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.79e-05/0.3704, allocations: 17.81 kB / 496.5 MB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003151/0.3707, allocations: 288 kB / 496.8 MB, free: 16.56 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.3709, allocations: 56.7 kB / 496.9 MB, free: 16.53 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.962e-05/0.3709, allocations: 24.34 kB / 496.9 MB, free: 16.51 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.583e-05/0.3709, allocations: 1.078 kB / 496.9 MB, free: 16.51 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001496/0.3711, allocations: 69.28 kB / 497 MB, free: 16.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.3711, allocations: 0 / 497 MB, free: 16.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000552/0.3717, allocations: 169.8 kB / 497.1 MB, free: 16.37 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.3717, allocations: 53.12 kB / 497.2 MB, free: 16.31 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.3719, allocations: 201.4 kB / 497.4 MB, free: 16.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.3719, allocations: 27.58 kB / 497.4 MB, free: 16.15 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.446e-05/0.372, allocations: 108.1 kB / 497.5 MB, free: 16.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.372, allocations: 26.08 kB / 497.5 MB, free: 16.03 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.869e-05/0.3721, allocations: 22.39 kB / 497.6 MB, free: 16.01 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.564e-05/0.3721, allocations: 326.2 kB / 497.9 MB, free: 15.69 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.063e-05/0.3722, allocations: 21.88 kB / 497.9 MB, free: 15.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.374e-05/0.3723, allocations: 39.14 kB / 497.9 MB, free: 15.65 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.3724, allocations: 62.41 kB / 498 MB, free: 15.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.3724, allocations: 0 / 498 MB, free: 15.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001765/0.3726, allocations: 105.4 kB / 498.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.3726, allocations: 5.156 kB / 498.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3726, allocations: 1.531 kB / 498.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.3726, allocations: 1.219 kB / 498.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.414e-05/0.3727, allocations: 18.77 kB / 498.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.3727, allocations: 6.109 kB / 498.1 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.59e-05/0.3728, allocations: 10.23 kB / 498.1 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.056e-06/0.3728, allocations: 8.125 kB / 498.2 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 8.636e-05/0.3729, allocations: 121.8 kB / 498.3 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.214e-05/0.3729, allocations: 10.17 kB / 498.3 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.782e-05/0.373, allocations: 15.62 kB / 498.3 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.373, allocations: 1.406 kB / 498.3 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.373, allocations: 0 / 498.3 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.373, allocations: 10 kB / 498.3 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003937/0.3734, allocations: 394.1 kB / 498.7 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3734, allocations: 1.344 kB / 498.7 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.323e-05/0.3735, allocations: 8.516 kB / 498.7 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3735, allocations: 1.781 kB / 498.7 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.3735, allocations: 9.938 kB / 498.7 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.3735, allocations: 5.781 kB / 498.7 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3735, allocations: 0 / 498.7 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002009/0.3737, allocations: 198 kB / 498.9 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.095e-05/0.3737, allocations: 88.41 kB / 499 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.549e-05/0.3738, allocations: 10.28 kB / 499 MB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.942e-05/0.3738, allocations: 2.484 kB / 499 MB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.37e-05/0.3739, allocations: 6.297 kB / 499 MB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.3739, allocations: 4.672 kB / 499 MB, free: 14.76 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001147/0.374, allocations: 155.1 kB / 499.2 MB, free: 14.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.374, allocations: 0 / 499.2 MB, free: 14.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002598/0.3743, allocations: 21.42 kB / 499.2 MB, free: 14.66 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.0009755/0.3753, allocations: 493.9 kB / 499.7 MB, free: 14.26 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001998/0.3755, allocations: 55.31 kB / 499.7 MB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3755, allocations: 5.25 kB / 499.7 MB, free: 14.24 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.183e-05/0.3756, allocations: 33.02 kB / 499.8 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.0003524/0.376, allocations: 26.52 kB / 499.8 MB, free: 14.22 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004222/0.3764, allocations: 229 kB / 0.4883 GB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001374/0.3765, allocations: 0.7076 MB / 0.489 GB, free: 13.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.355e-05/0.3766, allocations: 12.94 kB / 0.489 GB, free: 13.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.722e-05/0.3766, allocations: 15.67 kB / 0.489 GB, free: 13.35 MB / 382.1 MB Notification: Performance of SimCode: time 1.102e-06/0.3766, allocations: 0 / 0.489 GB, free: 13.35 MB / 382.1 MB Notification: Performance of Templates: time 0.004593/0.3812, allocations: 1.705 MB / 0.4907 GB, free: 13.15 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1)