Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00783/0.00783, allocations: 100.5 kB / 15.73 MB, free: 5.98 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.00179/0.001791, allocations: 200.3 kB / 16.68 MB, free: 5.906 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.634/1.634, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.3734/0.3734, allocations: 38 MB / 307.9 MB, free: 9.926 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.001835/0.001835, allocations: 71.89 kB / 433.1 MB, free: 5.352 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4206/0.4225, allocations: 56.46 MB / 489.5 MB, free: 20 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003256/0.4258, allocations: 1.667 MB / 491.2 MB, free: 18.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.4272, allocations: 0.8051 MB / 492 MB, free: 18.28 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.998e-05/0.4273, allocations: 1.594 kB / 492 MB, free: 18.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003757/0.4277, allocations: 46.23 kB / 492 MB, free: 18.25 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.0003109/0.4281, allocations: 54.11 kB / 492.1 MB, free: 18.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003081/0.4284, allocations: 80.64 kB / 492.2 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002377/0.4286, allocations: 95.22 kB / 492.3 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.4288, allocations: 16.38 kB / 492.3 MB, free: 18.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.4289, allocations: 49.23 kB / 492.3 MB, free: 18.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.429, allocations: 26.64 kB / 492.4 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.073e-05/0.4291, allocations: 3.312 kB / 492.4 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001299/0.4292, allocations: 42.92 kB / 492.4 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.142e-05/0.4293, allocations: 31.27 kB / 492.4 MB, free: 18.06 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.912e-05/0.4294, allocations: 33.41 kB / 492.5 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002507/0.4296, allocations: 111.6 kB / 492.6 MB, free: 17.99 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.4296, allocations: 2.156 kB / 492.6 MB, free: 17.99 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.966e-06/0.4297, allocations: 0 / 492.6 MB, free: 17.99 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.4297, allocations: 0 / 492.6 MB, free: 17.99 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.0005869/0.4303, allocations: 418.5 kB / 493 MB, free: 17.58 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.4303, allocations: 18.03 kB / 493 MB, free: 17.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.972e-05/0.4304, allocations: 16.69 kB / 493 MB, free: 17.56 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002632/0.4306, allocations: 212.3 kB / 493.2 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.4307, allocations: 5.531 kB / 493.2 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.535e-05/0.4307, allocations: 7.25 kB / 493.2 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.4309, allocations: 55.09 kB / 493.3 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.4309, allocations: 0 / 493.3 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.4309, allocations: 5.031 kB / 493.3 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.4309, allocations: 0 / 493.3 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.812e-05/0.431, allocations: 19.09 kB / 493.3 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003869/0.4314, allocations: 286.8 kB / 493.6 MB, free: 17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.4316, allocations: 56.36 kB / 493.6 MB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.117e-05/0.4316, allocations: 24.34 kB / 493.7 MB, free: 16.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.991e-05/0.4317, allocations: 1.031 kB / 493.7 MB, free: 16.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001728/0.4319, allocations: 70.53 kB / 493.7 MB, free: 16.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 3.236e-06/0.4319, allocations: 0 / 493.7 MB, free: 16.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006269/0.4325, allocations: 169 kB / 493.9 MB, free: 16.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.4326, allocations: 53.47 kB / 494 MB, free: 16.74 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002133/0.4328, allocations: 206.2 kB / 494.2 MB, free: 16.61 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.4328, allocations: 26.22 kB / 494.2 MB, free: 16.58 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.153e-05/0.4329, allocations: 104.9 kB / 494.3 MB, free: 16.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.652e-05/0.4329, allocations: 25.08 kB / 494.3 MB, free: 16.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.64e-05/0.4329, allocations: 23.06 kB / 494.3 MB, free: 16.44 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.181e-05/0.433, allocations: 326.4 kB / 494.7 MB, free: 16.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.665e-05/0.4331, allocations: 20.78 kB / 494.7 MB, free: 16.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.153e-05/0.4332, allocations: 36.52 kB / 494.7 MB, free: 16.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001121/0.4333, allocations: 69.22 kB / 494.8 MB, free: 16.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.4333, allocations: 0 / 494.8 MB, free: 16.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001884/0.4335, allocations: 97.61 kB / 494.9 MB, free: 15.99 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.4335, allocations: 5.344 kB / 494.9 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.4335, allocations: 1.188 kB / 494.9 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.4336, allocations: 2.203 kB / 494.9 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.472e-05/0.4337, allocations: 18.09 kB / 494.9 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.4337, allocations: 6.375 kB / 494.9 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.56e-05/0.4337, allocations: 6.094 kB / 494.9 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.4337, allocations: 12.41 kB / 494.9 MB, free: 15.97 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.06e-05/0.4338, allocations: 124.3 kB / 495 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.322e-05/0.4339, allocations: 14.23 kB / 495.1 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.585e-05/0.4339, allocations: 20.48 kB / 495.1 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.4339, allocations: 1.25 kB / 495.1 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4339, allocations: 0 / 495.1 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.434, allocations: 4.547 kB / 495.1 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004294/0.4344, allocations: 400.5 kB / 495.5 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4344, allocations: 0 / 495.5 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.213e-05/0.4344, allocations: 8.141 kB / 495.5 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.4345, allocations: 1.547 kB / 495.5 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.4345, allocations: 10.91 kB / 495.5 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.4345, allocations: 0.9688 kB / 495.5 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.4345, allocations: 1.094 kB / 495.5 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002229/0.4347, allocations: 205.6 kB / 495.7 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.645e-05/0.4348, allocations: 85.27 kB / 495.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.4348, allocations: 9.984 kB / 495.8 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.886e-05/0.4349, allocations: 2.906 kB / 495.8 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.971e-05/0.4349, allocations: 6.203 kB / 495.8 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.4349, allocations: 3.562 kB / 495.8 MB, free: 15.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001329/0.4351, allocations: 154.6 kB / 496 MB, free: 15.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4351, allocations: 4 kB / 496 MB, free: 15.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002644/0.4354, allocations: 23.55 kB / 496 MB, free: 15.08 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.001118/0.4365, allocations: 481.3 kB / 496.4 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001964/0.4367, allocations: 55.84 kB / 496.5 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4367, allocations: 0 / 496.5 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.874e-05/0.4368, allocations: 36.33 kB / 496.5 MB, free: 14.67 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/0.4372, allocations: 34.12 kB / 496.6 MB, free: 14.65 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005153/0.4377, allocations: 232.9 kB / 496.8 MB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001941/0.4379, allocations: 0.7079 MB / 497.5 MB, free: 13.79 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.286e-05/0.4379, allocations: 16.14 kB / 497.5 MB, free: 13.78 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.995e-05/0.438, allocations: 16.67 kB / 497.5 MB, free: 13.77 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.438, allocations: 1.469 kB / 497.5 MB, free: 13.77 MB / 382.1 MB Notification: Performance of Templates: time 0.005797/0.4438, allocations: 1.72 MB / 499.3 MB, free: 13.58 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1)