Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.Test49,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009922/0.009922, allocations: 102.7 kB / 15.73 MB, free: 6.035 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.001225/0.001225, allocations: 193.5 kB / 16.67 MB, free: 5.953 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.711/1.711, allocations: 205.1 MB / 222.5 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4053/0.4053, allocations: 38 MB / 307.9 MB, free: 10.18 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.1. 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.001842/0.001843, allocations: 68.55 kB / 433 MB, free: 5.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4073/0.4091, allocations: 56.47 MB / 489.5 MB, free: 19.99 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003705/0.4129, allocations: 1.664 MB / 491.2 MB, free: 18.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001928/0.4149, allocations: 0.8173 MB / 492 MB, free: 18.26 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.33e-05/0.415, allocations: 0.9688 kB / 492 MB, free: 18.26 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003767/0.4154, allocations: 50.73 kB / 492 MB, free: 18.24 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.0002501/0.4157, allocations: 54.61 kB / 492.1 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002682/0.4159, allocations: 80.34 kB / 492.2 MB, free: 18.17 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002132/0.4162, allocations: 99.73 kB / 492.3 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.4163, allocations: 15.83 kB / 492.3 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.493e-05/0.4164, allocations: 40.86 kB / 492.3 MB, free: 18.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.879e-05/0.4165, allocations: 35.02 kB / 492.4 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.4165, allocations: 3.25 kB / 492.4 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.4166, allocations: 42.19 kB / 492.4 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.266e-05/0.4167, allocations: 27.66 kB / 492.4 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.25e-05/0.4168, allocations: 45.41 kB / 492.5 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002509/0.417, allocations: 134.3 kB / 492.6 MB, free: 17.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.417, allocations: 0 / 492.6 MB, free: 17.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.417, allocations: 0 / 492.6 MB, free: 17.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.417, allocations: 0 / 492.6 MB, free: 17.96 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.0005557/0.4176, allocations: 438.3 kB / 493 MB, free: 17.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.4177, allocations: 14.8 kB / 493.1 MB, free: 17.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.782e-05/0.4177, allocations: 14.25 kB / 493.1 MB, free: 17.53 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003/0.418, allocations: 226.3 kB / 493.3 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.418, allocations: 6.625 kB / 493.3 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.4181, allocations: 6.969 kB / 493.3 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.4182, allocations: 53 kB / 493.4 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.4183, allocations: 1.281 kB / 493.4 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.4183, allocations: 0.7969 kB / 493.4 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.4183, allocations: 1.406 kB / 493.4 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.667e-05/0.4184, allocations: 21.53 kB / 493.4 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003277/0.4187, allocations: 293.8 kB / 493.7 MB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.4189, allocations: 63.67 kB / 493.7 MB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.383e-05/0.419, allocations: 19.7 kB / 493.8 MB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.419, allocations: 1.797 kB / 493.8 MB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001761/0.4192, allocations: 70 kB / 493.8 MB, free: 16.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.4192, allocations: 4 kB / 493.8 MB, free: 16.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006959/0.4199, allocations: 183.4 kB / 494 MB, free: 16.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.42, allocations: 57.02 kB / 494.1 MB, free: 16.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003436/0.4203, allocations: 258.5 kB / 494.3 MB, free: 16.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.4203, allocations: 31.02 kB / 494.3 MB, free: 16.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.579e-05/0.4204, allocations: 114.9 kB / 494.5 MB, free: 16.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.075e-05/0.4205, allocations: 25.69 kB / 494.5 MB, free: 16.38 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.48e-05/0.4205, allocations: 22.61 kB / 494.5 MB, free: 16.36 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.4206, allocations: 336.7 kB / 494.8 MB, free: 16.03 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.951e-05/0.4207, allocations: 17.25 kB / 494.8 MB, free: 16.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.605e-05/0.4208, allocations: 35.88 kB / 494.9 MB, free: 16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.4209, allocations: 60.73 kB / 494.9 MB, free: 15.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.4209, allocations: 1.125 kB / 494.9 MB, free: 15.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002044/0.4211, allocations: 102.6 kB / 495 MB, free: 15.9 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.167e-05/0.4212, allocations: 9.016 kB / 495.1 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.4212, allocations: 5.25 kB / 495.1 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.551e-05/0.4212, allocations: 1.5 kB / 495.1 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.4214, allocations: 19.69 kB / 495.1 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.4214, allocations: 0 / 495.1 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.172e-05/0.4214, allocations: 7.703 kB / 495.1 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.4215, allocations: 3.328 kB / 495.1 MB, free: 15.89 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.0001209/0.4216, allocations: 133.4 kB / 495.2 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.4216, allocations: 19.28 kB / 495.2 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.337e-05/0.4217, allocations: 18.3 kB / 495.3 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.4217, allocations: 1.156 kB / 495.3 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.4217, allocations: 0.6094 kB / 495.3 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.4217, allocations: 4.453 kB / 495.3 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005145/0.4222, allocations: 402.5 kB / 495.7 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.4223, allocations: 0.75 kB / 495.7 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.641e-05/0.4223, allocations: 16.33 kB / 495.7 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.4223, allocations: 5.5 kB / 495.7 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.4223, allocations: 7.156 kB / 495.7 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.4223, allocations: 4 kB / 495.7 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4223, allocations: 1.641 kB / 495.7 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002197/0.4226, allocations: 202 kB / 495.9 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.724e-05/0.4226, allocations: 89.34 kB / 496 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.698e-05/0.4226, allocations: 10.8 kB / 496 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.568e-05/0.4227, allocations: 7.422 kB / 496 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.172e-05/0.4228, allocations: 4.859 kB / 496 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.4228, allocations: 4.891 kB / 496 MB, free: 15.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001999/0.423, allocations: 203.7 kB / 496.2 MB, free: 14.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.423, allocations: 0 / 496.2 MB, free: 14.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002833/0.4233, allocations: 21.97 kB / 496.2 MB, free: 14.97 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.001109/0.4244, allocations: 481 kB / 496.7 MB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001851/0.4246, allocations: 64.45 kB / 496.8 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4246, allocations: 0 / 496.8 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.696e-05/0.4247, allocations: 24.23 kB / 496.8 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.4251, allocations: 38.5 kB / 496.8 MB, free: 14.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005034/0.4256, allocations: 280.2 kB / 497.1 MB, free: 14.37 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001653/0.4258, allocations: 0.7171 MB / 497.8 MB, free: 13.67 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.905e-05/0.4258, allocations: 15.84 kB / 497.8 MB, free: 13.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.767e-05/0.4259, allocations: 16.88 kB / 497.8 MB, free: 13.65 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4259, allocations: 1.125 kB / 497.8 MB, free: 13.65 MB / 382.1 MB Notification: Performance of Templates: time 0.005229/0.4311, allocations: 1.735 MB / 499.6 MB, free: 13.45 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1)