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.005917/0.005916, allocations: 101.4 kB / 15.73 MB, free: 6.043 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.001341/0.001341, allocations: 199.3 kB / 16.68 MB, free: 5.961 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.582/1.582, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.3525/0.3525, allocations: 38 MB / 307.9 MB, free: 9.969 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.001502/0.001502, allocations: 67.91 kB / 433 MB, free: 5.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4227/0.4242, allocations: 56.47 MB / 489.5 MB, free: 19.88 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003701/0.428, allocations: 1.661 MB / 491.2 MB, free: 18.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001537/0.4295, allocations: 0.8177 MB / 492 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.668e-05/0.4296, allocations: 1.156 kB / 492 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004151/0.4301, allocations: 53.59 kB / 492 MB, free: 18.14 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.0002759/0.4304, allocations: 55.25 kB / 492.1 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002966/0.4307, allocations: 80.78 kB / 492.2 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002323/0.4309, allocations: 95.02 kB / 492.3 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.4311, allocations: 15.48 kB / 492.3 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.4312, allocations: 42.47 kB / 492.3 MB, free: 18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.148e-05/0.4313, allocations: 34.31 kB / 492.4 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.499e-05/0.4313, allocations: 7.094 kB / 492.4 MB, free: 17.97 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.4314, allocations: 42.25 kB / 492.4 MB, free: 17.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.646e-05/0.4315, allocations: 24.11 kB / 492.4 MB, free: 17.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.128e-05/0.4316, allocations: 46.69 kB / 492.5 MB, free: 17.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002598/0.4319, allocations: 128.7 kB / 492.6 MB, free: 17.87 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.4319, allocations: 1.125 kB / 492.6 MB, free: 17.87 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.4319, allocations: 0 / 492.6 MB, free: 17.87 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.4319, allocations: 0 / 492.6 MB, free: 17.87 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.0006133/0.4325, allocations: 442.4 kB / 493 MB, free: 17.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.4326, allocations: 13.52 kB / 493.1 MB, free: 17.44 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.506e-05/0.4326, allocations: 19.25 kB / 493.1 MB, free: 17.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000284/0.4329, allocations: 222.1 kB / 493.3 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.4329, allocations: 1.688 kB / 493.3 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.805e-05/0.433, allocations: 14.61 kB / 493.3 MB, free: 17.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.4332, allocations: 50.72 kB / 493.4 MB, free: 17.15 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.4332, allocations: 0 / 493.4 MB, free: 17.15 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.4332, allocations: 6.062 kB / 493.4 MB, free: 17.15 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.4332, allocations: 0 / 493.4 MB, free: 17.15 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.05e-05/0.4333, allocations: 26.62 kB / 493.4 MB, free: 17.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003927/0.4337, allocations: 293.3 kB / 493.7 MB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.4339, allocations: 55.95 kB / 493.7 MB, free: 16.81 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.233e-05/0.434, allocations: 19.95 kB / 493.7 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.929e-05/0.434, allocations: 1.922 kB / 493.7 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000163/0.4342, allocations: 73.73 kB / 493.8 MB, free: 16.74 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.823e-06/0.4342, allocations: 0 / 493.8 MB, free: 16.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006759/0.4349, allocations: 190.8 kB / 494 MB, free: 16.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.4349, allocations: 52.59 kB / 494.1 MB, free: 16.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000299/0.4352, allocations: 258.5 kB / 494.3 MB, free: 16.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.4353, allocations: 26.92 kB / 494.3 MB, free: 16.4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.13e-05/0.4353, allocations: 119.9 kB / 494.5 MB, free: 16.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.706e-05/0.4354, allocations: 25.98 kB / 494.5 MB, free: 16.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.382e-05/0.4354, allocations: 26.08 kB / 494.5 MB, free: 16.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.085e-05/0.4355, allocations: 328 kB / 494.8 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.15e-05/0.4356, allocations: 21.41 kB / 494.8 MB, free: 15.92 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.791e-05/0.4357, allocations: 36.78 kB / 494.9 MB, free: 15.89 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.4358, allocations: 59.98 kB / 494.9 MB, free: 15.86 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.4358, allocations: 2.531 kB / 494.9 MB, free: 15.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000182/0.436, allocations: 102.3 kB / 495 MB, free: 15.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.436, allocations: 5.688 kB / 495 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.436, allocations: 7.875 kB / 495.1 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.436, allocations: 0.9375 kB / 495.1 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.58e-05/0.4361, allocations: 14.98 kB / 495.1 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.4362, allocations: 2.891 kB / 495.1 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.549e-05/0.4362, allocations: 6.359 kB / 495.1 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.4362, allocations: 12.7 kB / 495.1 MB, free: 15.78 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.191e-05/0.4363, allocations: 128.5 kB / 495.2 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/0.4363, allocations: 17.66 kB / 495.2 MB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.593e-05/0.4364, allocations: 18.64 kB / 495.3 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.4364, allocations: 2.5 kB / 495.3 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.4364, allocations: 192 / 495.3 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.4364, allocations: 3.938 kB / 495.3 MB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004365/0.4369, allocations: 407.1 kB / 495.7 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.4369, allocations: 384 / 495.7 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.684e-05/0.4369, allocations: 12.69 kB / 495.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.4369, allocations: 0.9062 kB / 495.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.437, allocations: 15.48 kB / 495.7 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.437, allocations: 1.062 kB / 495.7 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.437, allocations: 0 / 495.7 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002124/0.4372, allocations: 204.3 kB / 495.9 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.678e-05/0.4372, allocations: 87.92 kB / 496 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.4373, allocations: 11.23 kB / 496 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.666e-05/0.4373, allocations: 1.938 kB / 496 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.482e-05/0.4374, allocations: 6.234 kB / 496 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/0.4374, allocations: 4.391 kB / 496 MB, free: 14.99 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001853/0.4376, allocations: 195.4 kB / 496.2 MB, free: 14.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4376, allocations: 3.938 kB / 496.2 MB, free: 14.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002803/0.4379, allocations: 22.23 kB / 496.2 MB, free: 14.88 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.001157/0.4391, allocations: 481.4 kB / 496.7 MB, free: 14.49 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002243/0.4393, allocations: 60.48 kB / 496.7 MB, free: 14.47 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.4393, allocations: 5.125 kB / 496.7 MB, free: 14.47 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.175e-05/0.4394, allocations: 28.67 kB / 496.8 MB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.4398, allocations: 33.84 kB / 496.8 MB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000557/0.4403, allocations: 284.2 kB / 497.1 MB, free: 14.26 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/0.4406, allocations: 0.7164 MB / 497.8 MB, free: 13.56 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.605e-05/0.4406, allocations: 16.14 kB / 497.8 MB, free: 13.55 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.867e-05/0.4407, allocations: 20.78 kB / 497.8 MB, free: 13.54 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.4407, allocations: 0 / 497.8 MB, free: 13.54 MB / 382.1 MB Notification: Performance of Templates: time 0.006155/0.4468, allocations: 1.768 MB / 499.6 MB, free: 13.33 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)