Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00477/0.00477, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001122/0.001123, allocations: 196.9 kB / 16.68 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.649/1.649, 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.3698/0.3698, allocations: 38 MB / 307.9 MB, free: 10.13 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.001633/0.001633, allocations: 75.89 kB / 433.1 MB, free: 5.344 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4276/0.4292, allocations: 56.46 MB / 489.5 MB, free: 19.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003056/0.4323, allocations: 1.632 MB / 491.1 MB, free: 18.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001254/0.4336, allocations: 0.7897 MB / 491.9 MB, free: 18.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.462e-05/0.4337, allocations: 5.094 kB / 491.9 MB, free: 18.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003716/0.4341, allocations: 80.41 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.0002527/0.4343, allocations: 78.84 kB / 492.1 MB, free: 18.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000235/0.4346, allocations: 81.61 kB / 492.2 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002072/0.4348, allocations: 102.5 kB / 492.3 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.201e-05/0.4349, allocations: 12.81 kB / 492.3 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.435, allocations: 46.48 kB / 492.3 MB, free: 18.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.4351, allocations: 51.39 kB / 492.4 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.4351, allocations: 3.688 kB / 492.4 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.4353, allocations: 29.69 kB / 492.4 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.297e-05/0.4353, allocations: 19.38 kB / 492.4 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.297e-05/0.4354, allocations: 34.05 kB / 492.5 MB, free: 18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002807/0.4357, allocations: 106.2 kB / 492.6 MB, free: 17.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.4357, allocations: 4 kB / 492.6 MB, free: 17.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.527e-06/0.4357, allocations: 5.016 kB / 492.6 MB, free: 17.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.4357, allocations: 1.094 kB / 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006046/0.4364, allocations: 416.4 kB / 493 MB, free: 17.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.4364, allocations: 13.77 kB / 493 MB, free: 17.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.693e-05/0.4365, allocations: 11.52 kB / 493 MB, free: 17.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002914/0.4368, allocations: 201 kB / 493.2 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.4368, allocations: 1.312 kB / 493.2 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.4368, allocations: 10.25 kB / 493.2 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.437, allocations: 50.33 kB / 493.3 MB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.437, allocations: 0.5625 kB / 493.3 MB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.437, allocations: 1.125 kB / 493.3 MB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.437, allocations: 0 / 493.3 MB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.054e-05/0.4371, allocations: 19.34 kB / 493.3 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002257/0.4373, allocations: 189.8 kB / 493.5 MB, free: 17.06 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.4375, allocations: 52.08 kB / 493.5 MB, free: 17.03 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.27e-05/0.4376, allocations: 23.98 kB / 493.5 MB, free: 17.01 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/0.4376, allocations: 1.438 kB / 493.5 MB, free: 17.01 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001804/0.4378, allocations: 69.19 kB / 493.6 MB, free: 16.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.362e-06/0.4378, allocations: 0 / 493.6 MB, free: 16.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003196/0.4382, allocations: 91.61 kB / 493.7 MB, free: 16.9 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.4382, allocations: 61.41 kB / 493.8 MB, free: 16.83 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.4384, allocations: 215.1 kB / 494 MB, free: 16.7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.909e-06/0.4384, allocations: 26.86 kB / 494 MB, free: 16.67 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.416e-05/0.4385, allocations: 103.7 kB / 494.1 MB, free: 16.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.225e-05/0.4385, allocations: 15.3 kB / 494.1 MB, free: 16.56 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.501e-05/0.4386, allocations: 19.64 kB / 494.1 MB, free: 16.54 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.445e-05/0.4386, allocations: 327.5 kB / 494.5 MB, free: 16.22 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.133e-05/0.4387, allocations: 13.61 kB / 494.5 MB, free: 16.21 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.906e-05/0.4388, allocations: 34.84 kB / 494.5 MB, free: 16.19 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.4389, allocations: 41.66 kB / 494.5 MB, free: 16.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.4389, allocations: 4 kB / 494.6 MB, free: 16.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001507/0.439, allocations: 85.25 kB / 494.6 MB, free: 16.1 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.4391, allocations: 5.453 kB / 494.6 MB, free: 16.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.4391, allocations: 5.203 kB / 494.6 MB, free: 16.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.4391, allocations: 5.25 kB / 494.6 MB, free: 16.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.975e-05/0.4392, allocations: 11.38 kB / 494.7 MB, free: 16.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.4392, allocations: 3.984 kB / 494.7 MB, free: 16.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.662e-05/0.4392, allocations: 11.02 kB / 494.7 MB, free: 16.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.4393, allocations: 2.844 kB / 494.7 MB, free: 16.08 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 (7): * Single equations (assignments): 7 * 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.667e-05/0.4394, allocations: 130.9 kB / 494.8 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.176e-05/0.4394, allocations: 9.828 kB / 494.8 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.077e-05/0.4394, allocations: 16.62 kB / 494.8 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.4394, allocations: 0 / 494.8 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.279e-06/0.4394, allocations: 8.969 kB / 494.8 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.4395, allocations: 0.75 kB / 494.8 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.4396, allocations: 188.6 kB / 495 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4396, allocations: 0 / 495 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.092e-05/0.4396, allocations: 3.5 kB / 495 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.4396, allocations: 1.797 kB / 495 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.4396, allocations: 2.328 kB / 495 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.4397, allocations: 0 / 495 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.4397, allocations: 0 / 495 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001747/0.4398, allocations: 118 kB / 495.1 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.101e-05/0.4399, allocations: 84.08 kB / 495.2 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.4399, allocations: 1.766 kB / 495.2 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.411e-05/0.4399, allocations: 2.562 kB / 495.2 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.406e-05/0.44, allocations: 7.969 kB / 495.2 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/0.44, allocations: 3.312 kB / 495.2 MB, free: 15.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001281/0.4402, allocations: 155.6 kB / 495.4 MB, free: 15.44 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4402, allocations: 3.938 kB / 495.4 MB, free: 15.44 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002144/0.4404, allocations: 18.14 kB / 495.4 MB, free: 15.43 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009092/0.4413, allocations: 422.3 kB / 495.8 MB, free: 15.1 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001696/0.4415, allocations: 37.16 kB / 495.9 MB, free: 15.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4415, allocations: 0 / 495.9 MB, free: 15.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.261e-05/0.4416, allocations: 25.83 kB / 495.9 MB, free: 15.08 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.4418, allocations: 29.55 kB / 495.9 MB, free: 15.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004372/0.4423, allocations: 222.2 kB / 496.1 MB, free: 14.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001531/0.4424, allocations: 0.7038 MB / 496.8 MB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.093e-05/0.4425, allocations: 16.08 kB / 496.9 MB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.336e-05/0.4425, allocations: 14.44 kB / 496.9 MB, free: 14.2 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4425, allocations: 0 / 496.9 MB, free: 14.2 MB / 382.1 MB Notification: Performance of Templates: time 0.00556/0.4481, allocations: 1.513 MB / 498.4 MB, free: 14.01 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1)