Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01141/0.01141, allocations: 102 kB / 15.73 MB, free: 5.988 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.001865/0.001865, allocations: 194.5 kB / 16.67 MB, free: 5.926 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.729/1.729, allocations: 205.1 MB / 222.5 MB, free: 4.488 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.385/0.385, allocations: 38 MB / 307.9 MB, free: 10.09 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.001565/0.001565, allocations: 75.89 kB / 433.1 MB, free: 5.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4152/0.4168, allocations: 56.46 MB / 489.5 MB, free: 19.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.003844/0.4207, allocations: 1.668 MB / 491.2 MB, free: 18.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001704/0.4224, allocations: 0.8082 MB / 492 MB, free: 18.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.4225, allocations: 1.375 kB / 492 MB, free: 18.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004413/0.423, allocations: 44.58 kB / 492 MB, free: 18.21 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.0003556/0.4234, allocations: 51.16 kB / 492.1 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003593/0.4238, allocations: 79.55 kB / 492.2 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002172/0.424, allocations: 100.4 kB / 492.3 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.4241, allocations: 10.88 kB / 492.3 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.4242, allocations: 44.52 kB / 492.3 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.726e-05/0.4244, allocations: 30.05 kB / 492.3 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.4244, allocations: 3.594 kB / 492.4 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001428/0.4245, allocations: 43.03 kB / 492.4 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.382e-05/0.4246, allocations: 22.95 kB / 492.4 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.396e-05/0.4247, allocations: 36.22 kB / 492.4 MB, free: 18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002633/0.425, allocations: 116.2 kB / 492.6 MB, free: 17.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.425, allocations: 0 / 492.6 MB, free: 17.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.425, allocations: 0 / 492.6 MB, free: 17.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.425, allocations: 0 / 492.6 MB, free: 17.95 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.0005756/0.4256, allocations: 412.9 kB / 493 MB, free: 17.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.4256, allocations: 14.14 kB / 493 MB, free: 17.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.918e-05/0.4257, allocations: 9.594 kB / 493 MB, free: 17.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003041/0.426, allocations: 204.9 kB / 493.2 MB, free: 17.33 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.426, allocations: 1.625 kB / 493.2 MB, free: 17.33 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.93e-05/0.4261, allocations: 14.62 kB / 493.2 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.4262, allocations: 52.27 kB / 493.3 MB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.4262, allocations: 0 / 493.3 MB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.4263, allocations: 2.047 kB / 493.3 MB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.4263, allocations: 1.125 kB / 493.3 MB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.893e-05/0.4264, allocations: 25.75 kB / 493.3 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003816/0.4268, allocations: 287.3 kB / 493.6 MB, free: 16.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.427, allocations: 59.17 kB / 493.6 MB, free: 16.94 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.353e-05/0.427, allocations: 20.16 kB / 493.6 MB, free: 16.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.831e-05/0.4271, allocations: 1.688 kB / 493.6 MB, free: 16.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000175/0.4273, allocations: 73.25 kB / 493.7 MB, free: 16.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.4273, allocations: 4.938 kB / 493.7 MB, free: 16.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005787/0.4278, allocations: 176 kB / 493.9 MB, free: 16.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.4279, allocations: 53.52 kB / 493.9 MB, free: 16.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.4281, allocations: 183.6 kB / 494.1 MB, free: 16.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.4281, allocations: 27.89 kB / 494.2 MB, free: 16.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.798e-05/0.4282, allocations: 98.55 kB / 494.2 MB, free: 16.46 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.259e-05/0.4282, allocations: 25.62 kB / 494.3 MB, free: 16.44 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.089e-05/0.4283, allocations: 22.47 kB / 494.3 MB, free: 16.42 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.803e-05/0.4283, allocations: 334 kB / 494.6 MB, free: 16.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.938e-05/0.4284, allocations: 18.09 kB / 494.6 MB, free: 16.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.534e-05/0.4285, allocations: 39.88 kB / 494.7 MB, free: 16.06 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.4286, allocations: 60.72 kB / 494.7 MB, free: 16.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.4286, allocations: 0 / 494.7 MB, free: 16.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001786/0.4288, allocations: 94.12 kB / 494.8 MB, free: 15.97 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.4288, allocations: 9.125 kB / 494.8 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.4288, allocations: 1.922 kB / 494.8 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.4289, allocations: 1.188 kB / 494.8 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.429, allocations: 27.25 kB / 494.9 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.429, allocations: 1.094 kB / 494.9 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.432e-05/0.4291, allocations: 10.62 kB / 494.9 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.4291, allocations: 3.062 kB / 494.9 MB, free: 15.95 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.719e-05/0.4292, allocations: 125.8 kB / 495 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.4292, allocations: 9.312 kB / 495 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.331e-05/0.4293, allocations: 19.12 kB / 495 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.4293, allocations: 1.062 kB / 495 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.4293, allocations: 0 / 495 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.4293, allocations: 4.547 kB / 495 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004185/0.4297, allocations: 390.6 kB / 495.4 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4297, allocations: 0 / 495.4 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.729e-05/0.4298, allocations: 9.766 kB / 495.4 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.4298, allocations: 5.312 kB / 495.4 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.4298, allocations: 10.03 kB / 495.4 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.4298, allocations: 1.156 kB / 495.4 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.4298, allocations: 0.8438 kB / 495.4 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002181/0.43, allocations: 205.1 kB / 495.6 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.273e-05/0.4301, allocations: 85.73 kB / 495.7 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/0.4301, allocations: 5.688 kB / 495.7 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.135e-05/0.4302, allocations: 2.906 kB / 495.7 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.854e-05/0.4303, allocations: 16.77 kB / 495.8 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.4303, allocations: 5.234 kB / 495.8 MB, free: 15.17 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00012/0.4304, allocations: 143.2 kB / 495.9 MB, free: 15.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4304, allocations: 0 / 495.9 MB, free: 15.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002717/0.4307, allocations: 26.12 kB / 495.9 MB, free: 15.07 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.00127/0.432, allocations: 473.3 kB / 496.4 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002258/0.4322, allocations: 60.56 kB / 496.4 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.4322, allocations: 0 / 496.4 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.068e-05/0.4323, allocations: 33.12 kB / 496.5 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.4327, allocations: 38.48 kB / 496.5 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005316/0.4332, allocations: 226.4 kB / 496.7 MB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002093/0.4335, allocations: 0.7042 MB / 497.4 MB, free: 13.78 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.362e-05/0.4335, allocations: 17.98 kB / 497.5 MB, free: 13.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.901e-05/0.4336, allocations: 15.66 kB / 497.5 MB, free: 13.77 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4336, allocations: 5.5 kB / 497.5 MB, free: 13.76 MB / 382.1 MB Notification: Performance of Templates: time 0.006119/0.4397, allocations: 1.697 MB / 499.2 MB, free: 13.57 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1)