Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test53") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006875/0.006875, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.00133/0.00133, allocations: 201.5 kB / 16.68 MB, free: 5.973 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.635/1.635, 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.4245/0.4245, 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.002523/0.002523, allocations: 71.91 kB / 433.1 MB, free: 5.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4161/0.4187, allocations: 56.46 MB / 489.5 MB, free: 19.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.003406/0.4222, allocations: 1.676 MB / 491.2 MB, free: 18.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001296/0.4235, allocations: 0.8019 MB / 492 MB, free: 18.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.144e-05/0.4236, allocations: 1.281 kB / 492 MB, free: 18.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003104/0.4239, allocations: 49 kB / 492 MB, free: 18.2 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.0002178/0.4241, allocations: 56.89 kB / 492.1 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002353/0.4244, allocations: 84.19 kB / 492.2 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001927/0.4246, allocations: 95.28 kB / 492.3 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.4247, allocations: 15.95 kB / 492.3 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.984e-05/0.4248, allocations: 41.88 kB / 492.3 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.543e-05/0.4249, allocations: 26.09 kB / 492.4 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.4249, allocations: 4.406 kB / 492.4 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.425, allocations: 46.05 kB / 492.4 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.876e-05/0.4251, allocations: 29.08 kB / 492.4 MB, free: 18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.851e-05/0.4252, allocations: 34.36 kB / 492.5 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002341/0.4254, allocations: 127.8 kB / 492.6 MB, free: 17.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.4254, allocations: 0 / 492.6 MB, free: 17.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.594e-06/0.4254, allocations: 0.9375 kB / 492.6 MB, free: 17.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.4255, allocations: 0 / 492.6 MB, free: 17.93 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.0005655/0.426, allocations: 421.9 kB / 493 MB, free: 17.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.4261, allocations: 13.3 kB / 493 MB, free: 17.51 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.805e-05/0.4261, allocations: 15.19 kB / 493 MB, free: 17.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002773/0.4264, allocations: 220 kB / 493.2 MB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.4264, allocations: 1.562 kB / 493.3 MB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.4265, allocations: 6.703 kB / 493.3 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.4266, allocations: 57.77 kB / 493.3 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.4266, allocations: 1.969 kB / 493.3 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.4267, allocations: 0 / 493.3 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.4267, allocations: 0.7969 kB / 493.3 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.332e-05/0.4267, allocations: 18.47 kB / 493.3 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003432/0.4271, allocations: 297.2 kB / 493.6 MB, free: 16.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000165/0.4273, allocations: 61.09 kB / 493.7 MB, free: 16.89 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.075e-05/0.4273, allocations: 19.86 kB / 493.7 MB, free: 16.88 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.4273, allocations: 1.062 kB / 493.7 MB, free: 16.88 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000145/0.4275, allocations: 70.47 kB / 493.8 MB, free: 16.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.462e-06/0.4275, allocations: 0 / 493.8 MB, free: 16.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000544/0.4281, allocations: 177.5 kB / 493.9 MB, free: 16.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.4281, allocations: 52.72 kB / 494 MB, free: 16.67 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002605/0.4284, allocations: 219.6 kB / 494.2 MB, free: 16.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.4284, allocations: 26.83 kB / 494.2 MB, free: 16.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.4285, allocations: 114.3 kB / 494.4 MB, free: 16.4 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.415e-05/0.4285, allocations: 21 kB / 494.4 MB, free: 16.38 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.232e-05/0.4286, allocations: 26.02 kB / 494.4 MB, free: 16.36 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.677e-05/0.4286, allocations: 331.3 kB / 494.7 MB, free: 16.04 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.195e-05/0.4287, allocations: 18.86 kB / 494.7 MB, free: 16.03 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.146e-05/0.4288, allocations: 42.77 kB / 494.8 MB, free: 16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.4289, allocations: 58.27 kB / 494.8 MB, free: 15.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.4289, allocations: 4 kB / 494.8 MB, free: 15.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001855/0.4291, allocations: 102 kB / 494.9 MB, free: 15.9 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.4292, allocations: 6.156 kB / 494.9 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.4292, allocations: 0 / 494.9 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.4292, allocations: 1.656 kB / 494.9 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.4293, allocations: 15.53 kB / 495 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.4293, allocations: 6.031 kB / 495 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.906e-05/0.4294, allocations: 13.98 kB / 495 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.4294, allocations: 3.125 kB / 495 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.0001078/0.4295, allocations: 136.5 kB / 495.1 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.823e-05/0.4295, allocations: 15.47 kB / 495.1 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.426e-05/0.4296, allocations: 19.72 kB / 495.2 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.4296, allocations: 2.219 kB / 495.2 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.4296, allocations: 0.6562 kB / 495.2 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.4296, allocations: 3.938 kB / 495.2 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004479/0.4301, allocations: 394.6 kB / 495.5 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.4301, allocations: 1.438 kB / 495.5 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.42e-05/0.4301, allocations: 12.64 kB / 495.6 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.4301, allocations: 1.531 kB / 495.6 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.4302, allocations: 5.984 kB / 495.6 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.4302, allocations: 0 / 495.6 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.4302, allocations: 1.969 kB / 495.6 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002008/0.4304, allocations: 209.5 kB / 495.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.296e-05/0.4304, allocations: 89.44 kB / 495.9 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.4304, allocations: 5.062 kB / 495.9 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.334e-05/0.4305, allocations: 7.297 kB / 495.9 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.834e-05/0.4306, allocations: 5.781 kB / 495.9 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.4306, allocations: 3.672 kB / 495.9 MB, free: 15.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001375/0.4307, allocations: 172.6 kB / 496.1 MB, free: 14.99 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4307, allocations: 0 / 496.1 MB, free: 14.99 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002741/0.431, allocations: 26.53 kB / 496.1 MB, free: 14.98 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.001012/0.432, allocations: 473.5 kB / 496.5 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001881/0.4322, allocations: 63.91 kB / 496.6 MB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4323, allocations: 0 / 496.6 MB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.327e-05/0.4323, allocations: 36.58 kB / 496.6 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.000351/0.4327, allocations: 31.72 kB / 496.7 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004497/0.4332, allocations: 254.8 kB / 496.9 MB, free: 14.39 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001568/0.4333, allocations: 0.7112 MB / 497.6 MB, free: 13.69 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.382e-05/0.4334, allocations: 17.27 kB / 497.6 MB, free: 13.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.631e-05/0.4334, allocations: 15.78 kB / 497.7 MB, free: 13.68 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4334, allocations: 0 / 497.7 MB, free: 13.68 MB / 382.1 MB Notification: Performance of Templates: time 0.004866/0.4383, allocations: 1.717 MB / 499.4 MB, free: 13.48 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test53.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1)