Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008483/0.008483, allocations: 99.84 kB / 15.73 MB, free: 6.066 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.001157/0.001156, allocations: 200.7 kB / 16.68 MB, free: 5.977 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.661/1.661, allocations: 205.1 MB / 222.5 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.3786/0.3786, allocations: 38 MB / 307.9 MB, free: 9.992 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.001672/0.001672, allocations: 75.84 kB / 433.1 MB, free: 5.336 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4189/0.4206, allocations: 56.46 MB / 489.5 MB, free: 19.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003734/0.4244, allocations: 1.669 MB / 491.2 MB, free: 18.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001439/0.4259, allocations: 0.8114 MB / 492 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.94e-05/0.426, allocations: 1.312 kB / 492 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004393/0.4264, allocations: 89.11 kB / 492.1 MB, free: 18.18 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.0003119/0.4268, allocations: 79.72 kB / 492.2 MB, free: 18.15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002776/0.427, allocations: 84.31 kB / 492.2 MB, free: 18.1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002249/0.4273, allocations: 111.7 kB / 492.4 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.4274, allocations: 15.38 kB / 492.4 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.4275, allocations: 55.59 kB / 492.4 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.4277, allocations: 58.52 kB / 492.5 MB, free: 18.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.4277, allocations: 3.562 kB / 492.5 MB, free: 18.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.4278, allocations: 42.73 kB / 492.5 MB, free: 18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.941e-05/0.4279, allocations: 25.44 kB / 492.5 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.736e-05/0.428, allocations: 37.84 kB / 492.6 MB, free: 17.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000245/0.4282, allocations: 123.7 kB / 492.7 MB, free: 17.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.4282, allocations: 0.875 kB / 492.7 MB, free: 17.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.4282, allocations: 4 kB / 492.7 MB, free: 17.9 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.4283, allocations: 0 / 492.7 MB, free: 17.9 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.0005544/0.4288, allocations: 423 kB / 493.1 MB, free: 17.49 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.4289, allocations: 12.86 kB / 493.1 MB, free: 17.49 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.648e-05/0.4289, allocations: 13.94 kB / 493.1 MB, free: 17.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002891/0.4292, allocations: 209.2 kB / 493.4 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.4292, allocations: 1.781 kB / 493.4 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.752e-05/0.4293, allocations: 6.625 kB / 493.4 MB, free: 17.26 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.4294, allocations: 65.61 kB / 493.4 MB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.4295, allocations: 4.734 kB / 493.4 MB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.4295, allocations: 1.031 kB / 493.4 MB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-06/0.4295, allocations: 0 / 493.4 MB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.827e-05/0.4296, allocations: 18.22 kB / 493.4 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003585/0.4299, allocations: 298.2 kB / 493.7 MB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.4301, allocations: 64.67 kB / 493.8 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.48e-05/0.4302, allocations: 19.12 kB / 493.8 MB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.4302, allocations: 2.031 kB / 493.8 MB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001473/0.4304, allocations: 65.45 kB / 493.9 MB, free: 16.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.4304, allocations: 0 / 493.9 MB, free: 16.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005954/0.431, allocations: 181.8 kB / 494.1 MB, free: 16.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.431, allocations: 53.48 kB / 494.1 MB, free: 16.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002412/0.4313, allocations: 220 kB / 494.3 MB, free: 16.51 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.4313, allocations: 25.7 kB / 494.4 MB, free: 16.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.642e-05/0.4314, allocations: 109.7 kB / 494.5 MB, free: 16.38 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.4314, allocations: 21.47 kB / 494.5 MB, free: 16.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.292e-05/0.4315, allocations: 26.33 kB / 494.5 MB, free: 16.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.128e-05/0.4315, allocations: 327.2 kB / 494.8 MB, free: 16.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.898e-05/0.4316, allocations: 26.17 kB / 494.9 MB, free: 16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.927e-05/0.4317, allocations: 39.34 kB / 494.9 MB, free: 15.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.4318, allocations: 54.23 kB / 494.9 MB, free: 15.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.4318, allocations: 0 / 494.9 MB, free: 15.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001818/0.432, allocations: 108.9 kB / 495.1 MB, free: 15.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.432, allocations: 6.25 kB / 495.1 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.4321, allocations: 6.125 kB / 495.1 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.4321, allocations: 0 / 495.1 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.4322, allocations: 16.16 kB / 495.1 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.4322, allocations: 1 kB / 495.1 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.964e-05/0.4322, allocations: 11.11 kB / 495.1 MB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.4323, allocations: 2.547 kB / 495.1 MB, free: 15.87 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 8.908e-05/0.4324, allocations: 133 kB / 495.2 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.589e-05/0.4324, allocations: 15.11 kB / 495.2 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.664e-05/0.4324, allocations: 17 kB / 495.3 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.4325, allocations: 4.875 kB / 495.3 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.4325, allocations: 0.6562 kB / 495.3 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.4325, allocations: 9.031 kB / 495.3 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004301/0.4329, allocations: 393.5 kB / 495.7 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.4329, allocations: 0.5625 kB / 495.7 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.606e-05/0.433, allocations: 17.66 kB / 495.7 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.433, allocations: 1.344 kB / 495.7 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.433, allocations: 5.969 kB / 495.7 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.433, allocations: 5.469 kB / 495.7 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.433, allocations: 0.8438 kB / 495.7 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002136/0.4332, allocations: 201.7 kB / 495.9 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.059e-05/0.4333, allocations: 88.48 kB / 496 MB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.664e-05/0.4333, allocations: 6.375 kB / 496 MB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.058e-05/0.4334, allocations: 3.438 kB / 496 MB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.019e-05/0.4334, allocations: 9.797 kB / 496 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.4334, allocations: 8.172 kB / 496 MB, free: 15.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001442/0.4336, allocations: 167.4 kB / 496.2 MB, free: 14.97 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4336, allocations: 0 / 496.2 MB, free: 14.97 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002611/0.4339, allocations: 21.98 kB / 496.2 MB, free: 14.97 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.001085/0.435, allocations: 481.4 kB / 496.7 MB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002006/0.4352, allocations: 55.34 kB / 496.7 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.4352, allocations: 0 / 496.7 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.962e-05/0.4353, allocations: 28.84 kB / 496.7 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003685/0.4356, allocations: 31.05 kB / 496.8 MB, free: 14.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005317/0.4362, allocations: 259.5 kB / 497 MB, free: 14.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001804/0.4364, allocations: 0.7107 MB / 497.7 MB, free: 13.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.742e-05/0.4364, allocations: 21.17 kB / 497.8 MB, free: 13.67 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.73e-05/0.4365, allocations: 20.75 kB / 497.8 MB, free: 13.66 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4365, allocations: 0 / 497.8 MB, free: 13.66 MB / 382.1 MB Notification: Performance of Templates: time 0.005517/0.442, allocations: 1.713 MB / 499.5 MB, free: 13.46 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1)