Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004864/0.004864, allocations: 102.6 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.001039/0.001039, allocations: 190.6 kB / 16.67 MB, free: 5.949 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.608/1.608, allocations: 205.1 MB / 222.5 MB, free: 4.484 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.3657/0.3657, allocations: 37.99 MB / 307.9 MB, free: 10.14 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.001613/0.001613, allocations: 75.91 kB / 433.1 MB, free: 5.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4166/0.4182, allocations: 56.46 MB / 489.5 MB, free: 19.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.002921/0.4212, allocations: 1.672 MB / 491.2 MB, free: 18.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.4224, allocations: 0.8075 MB / 492 MB, free: 18.26 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.235e-05/0.4225, allocations: 1.469 kB / 492 MB, free: 18.26 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003125/0.4228, allocations: 49.81 kB / 492 MB, free: 18.23 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.0002289/0.4231, allocations: 50.69 kB / 492.1 MB, free: 18.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002541/0.4233, allocations: 80.64 kB / 492.2 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002037/0.4235, allocations: 95 kB / 492.3 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.4237, allocations: 12.06 kB / 492.3 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.829e-05/0.4238, allocations: 45.36 kB / 492.3 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.049e-05/0.4239, allocations: 31.11 kB / 492.3 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.4239, allocations: 7.5 kB / 492.4 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.424, allocations: 46.3 kB / 492.4 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.046e-05/0.4241, allocations: 23.72 kB / 492.4 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.423e-05/0.4242, allocations: 32.7 kB / 492.5 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002328/0.4244, allocations: 113.6 kB / 492.6 MB, free: 17.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.4244, allocations: 1.078 kB / 492.6 MB, free: 17.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4244, allocations: 0 / 492.6 MB, free: 17.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.237e-05/0.4244, allocations: 0 / 492.6 MB, free: 17.98 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.0005725/0.425, allocations: 422.9 kB / 493 MB, free: 17.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.4251, allocations: 12.64 kB / 493 MB, free: 17.56 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.939e-05/0.4251, allocations: 15.53 kB / 493 MB, free: 17.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.4254, allocations: 210.5 kB / 493.2 MB, free: 17.33 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.4254, allocations: 6.812 kB / 493.2 MB, free: 17.33 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.561e-05/0.4254, allocations: 6.312 kB / 493.2 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.4256, allocations: 54.17 kB / 493.3 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.4256, allocations: 0 / 493.3 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.4256, allocations: 5.578 kB / 493.3 MB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.4256, allocations: 0 / 493.3 MB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.462e-05/0.4257, allocations: 27.64 kB / 493.3 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003362/0.4261, allocations: 283.3 kB / 493.6 MB, free: 16.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.4263, allocations: 59.23 kB / 493.6 MB, free: 16.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.442e-05/0.4263, allocations: 19.81 kB / 493.7 MB, free: 16.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.4264, allocations: 5.188 kB / 493.7 MB, free: 16.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000151/0.4265, allocations: 73.95 kB / 493.7 MB, free: 16.87 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.4265, allocations: 0 / 493.7 MB, free: 16.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005896/0.4271, allocations: 169.8 kB / 493.9 MB, free: 16.79 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.4272, allocations: 53.28 kB / 494 MB, free: 16.72 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.4274, allocations: 197.8 kB / 494.2 MB, free: 16.6 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.4274, allocations: 26.86 kB / 494.2 MB, free: 16.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.593e-05/0.4275, allocations: 109 kB / 494.3 MB, free: 16.46 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.154e-05/0.4275, allocations: 28.88 kB / 494.3 MB, free: 16.44 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.406e-05/0.4276, allocations: 23.09 kB / 494.3 MB, free: 16.42 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.116e-05/0.4277, allocations: 326.5 kB / 494.7 MB, free: 16.1 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.051e-05/0.4277, allocations: 22.06 kB / 494.7 MB, free: 16.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.881e-05/0.4278, allocations: 34.67 kB / 494.7 MB, free: 16.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.4279, allocations: 65.56 kB / 494.8 MB, free: 16.03 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.4279, allocations: 5.188 kB / 494.8 MB, free: 16.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001871/0.4281, allocations: 93.38 kB / 494.9 MB, free: 15.97 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.4282, allocations: 5.641 kB / 494.9 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.4282, allocations: 0 / 494.9 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.4282, allocations: 2 kB / 494.9 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.4283, allocations: 18.84 kB / 494.9 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.4283, allocations: 1.312 kB / 494.9 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.978e-05/0.4284, allocations: 11.36 kB / 494.9 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.4284, allocations: 6.312 kB / 494.9 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 0.0001018/0.4285, allocations: 123 kB / 495 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.811e-05/0.4285, allocations: 14.05 kB / 495 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.264e-05/0.4286, allocations: 23.06 kB / 495.1 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.4286, allocations: 1.812 kB / 495.1 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.4286, allocations: 0.9688 kB / 495.1 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.4286, allocations: 4.453 kB / 495.1 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004759/0.4291, allocations: 395.4 kB / 495.5 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.4291, allocations: 1.344 kB / 495.5 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.541e-05/0.4292, allocations: 7.75 kB / 495.5 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.4292, allocations: 5.672 kB / 495.5 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.4292, allocations: 14.75 kB / 495.5 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.4292, allocations: 2 kB / 495.5 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4292, allocations: 0 / 495.5 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002227/0.4294, allocations: 201.3 kB / 495.7 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.204e-05/0.4295, allocations: 85.19 kB / 495.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.099e-05/0.4295, allocations: 9.859 kB / 495.8 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.814e-05/0.4296, allocations: 2.875 kB / 495.8 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.817e-05/0.4297, allocations: 5.672 kB / 495.8 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/0.4297, allocations: 4.156 kB / 495.8 MB, free: 15.17 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001568/0.4299, allocations: 155.9 kB / 496 MB, free: 15.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4299, allocations: 0 / 496 MB, free: 15.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002703/0.4301, allocations: 27.12 kB / 496 MB, free: 15.07 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.001204/0.4314, allocations: 479.9 kB / 496.4 MB, free: 14.69 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002563/0.4316, allocations: 60.23 kB / 496.5 MB, free: 14.67 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.4316, allocations: 0 / 496.5 MB, free: 14.67 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.927e-05/0.4317, allocations: 32.67 kB / 496.5 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.4321, allocations: 34.25 kB / 496.6 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005702/0.4327, allocations: 233.5 kB / 496.8 MB, free: 14.47 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.433, allocations: 0.7073 MB / 497.5 MB, free: 13.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.084e-05/0.4331, allocations: 16.06 kB / 497.5 MB, free: 13.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.32e-05/0.4331, allocations: 20.61 kB / 497.5 MB, free: 13.76 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4331, allocations: 3.938 kB / 497.5 MB, free: 13.75 MB / 382.1 MB Notification: Performance of Templates: time 0.005817/0.4389, allocations: 1.692 MB / 499.2 MB, free: 13.57 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1)