Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005512/0.005512, allocations: 99.66 kB / 15.73 MB, free: 5.949 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.001265/0.001265, allocations: 193.1 kB / 16.67 MB, free: 5.875 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.677/1.677, allocations: 205.1 MB / 222.5 MB, free: 4.375 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.4214/0.4214, allocations: 38 MB / 307.9 MB, free: 10.36 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.00158/0.00158, allocations: 79.91 kB / 433.1 MB, free: 5.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3985/0.4001, allocations: 56.46 MB / 489.5 MB, free: 19.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003675/0.4038, allocations: 1.673 MB / 491.2 MB, free: 18.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001769/0.4057, allocations: 0.8036 MB / 492 MB, free: 18.26 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001386/0.4058, allocations: 1.219 kB / 492 MB, free: 18.26 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000555/0.4064, allocations: 92.33 kB / 492.1 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.0003923/0.4068, allocations: 80.16 kB / 492.2 MB, free: 18.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000365/0.4072, allocations: 84.69 kB / 492.2 MB, free: 18.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003071/0.4075, allocations: 107 kB / 492.3 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001994/0.4077, allocations: 15.78 kB / 492.4 MB, free: 18.1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.4079, allocations: 56.45 kB / 492.4 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.4081, allocations: 58.53 kB / 492.5 MB, free: 18.06 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.663e-05/0.4081, allocations: 4.625 kB / 492.5 MB, free: 18.06 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.4082, allocations: 43.41 kB / 492.5 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.702e-05/0.4083, allocations: 22.45 kB / 492.5 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.643e-05/0.4084, allocations: 42.38 kB / 492.6 MB, free: 18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002752/0.4087, allocations: 120.3 kB / 492.7 MB, free: 17.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.4087, allocations: 0 / 492.7 MB, free: 17.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4087, allocations: 4 kB / 492.7 MB, free: 17.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.4087, allocations: 0 / 492.7 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000619/0.4093, allocations: 423.1 kB / 493.1 MB, free: 17.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.4094, allocations: 12.3 kB / 493.1 MB, free: 17.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.616e-05/0.4094, allocations: 19.14 kB / 493.1 MB, free: 17.53 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000324/0.4098, allocations: 207.4 kB / 493.4 MB, free: 17.31 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.4098, allocations: 11.17 kB / 493.4 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.738e-05/0.4098, allocations: 5.406 kB / 493.4 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.41, allocations: 63.58 kB / 493.4 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.41, allocations: 0 / 493.4 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.4101, allocations: 4.781 kB / 493.4 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.4101, allocations: 1.125 kB / 493.4 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.087e-05/0.4102, allocations: 17.84 kB / 493.5 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004864/0.4107, allocations: 289.7 kB / 493.7 MB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.4109, allocations: 64.92 kB / 493.8 MB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.907e-05/0.411, allocations: 19.81 kB / 493.8 MB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.315e-05/0.411, allocations: 2.047 kB / 493.8 MB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001881/0.4112, allocations: 65.05 kB / 493.9 MB, free: 16.85 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.4112, allocations: 0 / 493.9 MB, free: 16.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007696/0.412, allocations: 177.8 kB / 494.1 MB, free: 16.76 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.4121, allocations: 56.81 kB / 494.1 MB, free: 16.69 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003293/0.4124, allocations: 215.2 kB / 494.3 MB, free: 16.56 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.4124, allocations: 32.05 kB / 494.4 MB, free: 16.53 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.147e-05/0.4125, allocations: 107.9 kB / 494.5 MB, free: 16.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.107e-05/0.4126, allocations: 26.08 kB / 494.5 MB, free: 16.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.657e-05/0.4126, allocations: 21.59 kB / 494.5 MB, free: 16.39 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.888e-05/0.4127, allocations: 332.3 kB / 494.8 MB, free: 16.06 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.84e-05/0.4128, allocations: 25.36 kB / 494.9 MB, free: 16.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.52e-05/0.4129, allocations: 35.5 kB / 494.9 MB, free: 16.03 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.4131, allocations: 58.33 kB / 494.9 MB, free: 15.99 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.4131, allocations: 0 / 494.9 MB, free: 15.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002254/0.4133, allocations: 110.5 kB / 495.1 MB, free: 15.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.4133, allocations: 5.688 kB / 495.1 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.4134, allocations: 4.031 kB / 495.1 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/0.4134, allocations: 1.062 kB / 495.1 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.4135, allocations: 15.7 kB / 495.1 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.4135, allocations: 2 kB / 495.1 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.705e-05/0.4136, allocations: 6.703 kB / 495.1 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.4136, allocations: 6.25 kB / 495.1 MB, free: 15.91 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.0001306/0.4138, allocations: 130.3 kB / 495.2 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.796e-05/0.4138, allocations: 13.84 kB / 495.2 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.994e-05/0.4139, allocations: 16.84 kB / 495.3 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.4139, allocations: 9.062 kB / 495.3 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.4139, allocations: 1.734 kB / 495.3 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.4139, allocations: 7.875 kB / 495.3 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005121/0.4144, allocations: 393.1 kB / 495.7 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4144, allocations: 1.281 kB / 495.7 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.603e-05/0.4145, allocations: 8.531 kB / 495.7 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.4145, allocations: 1.062 kB / 495.7 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.4145, allocations: 11.42 kB / 495.7 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.4145, allocations: 5.188 kB / 495.7 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.4145, allocations: 0 / 495.7 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002259/0.4147, allocations: 205.9 kB / 495.9 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.069e-05/0.4148, allocations: 84.97 kB / 496 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.31e-05/0.4148, allocations: 10.88 kB / 496 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.479e-05/0.4149, allocations: 3.422 kB / 496 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.306e-05/0.415, allocations: 9.812 kB / 496 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.415, allocations: 3 kB / 496 MB, free: 15.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001592/0.4152, allocations: 171.8 kB / 496.2 MB, free: 15.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4152, allocations: 0 / 496.2 MB, free: 15.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002754/0.4155, allocations: 23.34 kB / 496.2 MB, free: 15.02 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.001138/0.4166, allocations: 475.6 kB / 496.6 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002204/0.4168, allocations: 60.97 kB / 496.7 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4168, allocations: 0 / 496.7 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.083e-05/0.4169, allocations: 32.59 kB / 496.7 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003921/0.4173, allocations: 35.84 kB / 496.8 MB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006977/0.418, allocations: 258.8 kB / 497 MB, free: 14.42 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.4183, allocations: 0.71 MB / 497.7 MB, free: 13.72 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.97e-05/0.4184, allocations: 21.28 kB / 497.8 MB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.927e-05/0.4185, allocations: 16.28 kB / 497.8 MB, free: 13.7 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4185, allocations: 0 / 497.8 MB, free: 13.7 MB / 382.1 MB Notification: Performance of Templates: time 0.005741/0.4242, allocations: 1.708 MB / 499.5 MB, free: 13.52 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1)