Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005207/0.005206, allocations: 100 kB / 15.73 MB, free: 6.035 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.001216/0.001216, allocations: 195.1 kB / 16.67 MB, free: 5.965 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.586/1.586, allocations: 205.1 MB / 222.6 MB, free: 4.531 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.368/0.368, allocations: 38 MB / 307.9 MB, free: 10.07 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.001459/0.001459, allocations: 75.91 kB / 433.1 MB, free: 5.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4185/0.42, allocations: 56.46 MB / 489.5 MB, free: 20.01 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003903/0.4239, allocations: 1.67 MB / 491.2 MB, free: 18.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001782/0.4258, allocations: 0.8086 MB / 492 MB, free: 18.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001635/0.4259, allocations: 5.656 kB / 492 MB, free: 18.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004103/0.4264, allocations: 45.75 kB / 492 MB, free: 18.26 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.0004029/0.4268, allocations: 56.14 kB / 492.1 MB, free: 18.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000373/0.4272, allocations: 85.27 kB / 492.2 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003264/0.4275, allocations: 95.64 kB / 492.3 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/0.4277, allocations: 15.61 kB / 492.3 MB, free: 18.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.4279, allocations: 42.2 kB / 492.3 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.428, allocations: 30.19 kB / 492.4 MB, free: 18.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.208e-05/0.428, allocations: 4.25 kB / 492.4 MB, free: 18.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001781/0.4282, allocations: 45.59 kB / 492.4 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.441e-05/0.4283, allocations: 25.19 kB / 492.4 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.498e-05/0.4284, allocations: 37.52 kB / 492.5 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003133/0.4287, allocations: 124.8 kB / 492.6 MB, free: 17.99 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.4287, allocations: 0 / 492.6 MB, free: 17.99 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4287, allocations: 0 / 492.6 MB, free: 17.99 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.4287, 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.0006418/0.4294, allocations: 422.1 kB / 493 MB, free: 17.58 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.4294, allocations: 13.58 kB / 493 MB, free: 17.58 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.35e-05/0.4295, allocations: 15.14 kB / 493 MB, free: 17.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003078/0.4298, allocations: 211.9 kB / 493.2 MB, free: 17.35 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.4298, allocations: 5.562 kB / 493.2 MB, free: 17.35 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.655e-05/0.4299, allocations: 14.83 kB / 493.3 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.4301, allocations: 50.64 kB / 493.3 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.4301, allocations: 0 / 493.3 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.4301, allocations: 5.219 kB / 493.3 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.4301, allocations: 0 / 493.3 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.588e-05/0.4302, allocations: 19.41 kB / 493.3 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004099/0.4306, allocations: 290 kB / 493.6 MB, free: 17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/0.4309, allocations: 64.3 kB / 493.7 MB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.154e-05/0.4309, allocations: 20.27 kB / 493.7 MB, free: 16.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.431, allocations: 5.031 kB / 493.7 MB, free: 16.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001732/0.4312, allocations: 65.44 kB / 493.8 MB, free: 16.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.4312, allocations: 4 kB / 493.8 MB, free: 16.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006166/0.4318, allocations: 178.3 kB / 493.9 MB, free: 16.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.4318, allocations: 52.47 kB / 494 MB, free: 16.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002389/0.4321, allocations: 219.9 kB / 494.2 MB, free: 16.6 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.4321, allocations: 30.98 kB / 494.2 MB, free: 16.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.725e-05/0.4322, allocations: 108.7 kB / 494.3 MB, free: 16.46 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.4322, allocations: 26.38 kB / 494.4 MB, free: 16.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.883e-05/0.4322, allocations: 21.92 kB / 494.4 MB, free: 16.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.74e-05/0.4323, allocations: 335.6 kB / 494.7 MB, free: 16.1 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.99e-05/0.4324, allocations: 18 kB / 494.7 MB, free: 16.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.74e-05/0.4325, allocations: 34.66 kB / 494.8 MB, free: 16.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.4326, allocations: 57.5 kB / 494.8 MB, free: 16.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.4326, allocations: 0 / 494.8 MB, free: 16.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000188/0.4328, allocations: 107 kB / 494.9 MB, free: 15.97 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.4328, allocations: 5.281 kB / 494.9 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.4328, allocations: 1.531 kB / 494.9 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.4329, allocations: 0.75 kB / 494.9 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.433, allocations: 18.77 kB / 495 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.433, allocations: 9.797 kB / 495 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.762e-05/0.433, allocations: 7 kB / 495 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-06/0.4331, allocations: 3.094 kB / 495 MB, free: 15.96 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.449e-05/0.4332, allocations: 130.2 kB / 495.1 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.4332, allocations: 21.58 kB / 495.1 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.553e-05/0.4332, allocations: 16.34 kB / 495.1 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.4332, allocations: 2.297 kB / 495.1 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.4333, allocations: 5 kB / 495.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.4333, allocations: 3.938 kB / 495.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004395/0.4337, allocations: 394.2 kB / 495.5 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4337, allocations: 0 / 495.5 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.629e-05/0.4338, allocations: 10.25 kB / 495.5 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.4338, allocations: 4.031 kB / 495.6 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.4338, allocations: 10.3 kB / 495.6 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.4338, allocations: 2.156 kB / 495.6 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4338, allocations: 0 / 495.6 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002603/0.4341, allocations: 210.2 kB / 495.8 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.768e-05/0.4341, allocations: 85.34 kB / 495.9 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.4342, allocations: 13.64 kB / 495.9 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.032e-05/0.4342, allocations: 8.156 kB / 495.9 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.51e-05/0.4343, allocations: 5.047 kB / 495.9 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.108e-05/0.4343, allocations: 4.406 kB / 495.9 MB, free: 15.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001679/0.4345, allocations: 170.7 kB / 496.1 MB, free: 15.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4345, allocations: 0 / 496.1 MB, free: 15.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002975/0.4348, allocations: 28.14 kB / 496.1 MB, free: 15.05 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.00109/0.4359, allocations: 472 kB / 496.5 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002145/0.4361, allocations: 56.02 kB / 496.6 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4361, allocations: 0 / 496.6 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.39e-05/0.4362, allocations: 32.06 kB / 496.6 MB, free: 14.65 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.4366, allocations: 40.39 kB / 496.7 MB, free: 14.63 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005792/0.4372, allocations: 250.5 kB / 496.9 MB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001982/0.4374, allocations: 0.7109 MB / 497.6 MB, free: 13.76 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.892e-05/0.4375, allocations: 20.56 kB / 497.6 MB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.086e-05/0.4375, allocations: 20.66 kB / 497.7 MB, free: 13.74 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4375, allocations: 1.188 kB / 497.7 MB, free: 13.74 MB / 382.1 MB Notification: Performance of Templates: time 0.006684/0.4442, allocations: 1.712 MB / 499.4 MB, free: 13.55 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1)