Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006014/0.006014, allocations: 100.7 kB / 15.73 MB, free: 6.062 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.00142/0.001421, allocations: 188.8 kB / 16.67 MB, free: 5.973 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.503/1.503, allocations: 205.1 MB / 222.6 MB, free: 4.512 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.3149/0.3149, allocations: 37.99 MB / 307.9 MB, free: 10.1 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.001585/0.001585, allocations: 75.89 kB / 433.1 MB, free: 5.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3966/0.3982, allocations: 56.46 MB / 489.5 MB, free: 19.89 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003475/0.4018, allocations: 1.672 MB / 491.2 MB, free: 18.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.4032, allocations: 0.8112 MB / 492 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.549e-05/0.4033, allocations: 0 / 492 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003545/0.4037, allocations: 45.12 kB / 492 MB, free: 18.14 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.0002444/0.4039, allocations: 46.39 kB / 492.1 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003341/0.4043, allocations: 84.7 kB / 492.2 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001922/0.4045, allocations: 95.94 kB / 492.3 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.4046, allocations: 14.53 kB / 492.3 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.4047, allocations: 45.61 kB / 492.3 MB, free: 18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.228e-05/0.4048, allocations: 25.3 kB / 492.3 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.4048, allocations: 7.438 kB / 492.4 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.405, allocations: 42.86 kB / 492.4 MB, free: 17.97 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.049e-05/0.405, allocations: 23.14 kB / 492.4 MB, free: 17.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.005e-05/0.4051, allocations: 32.67 kB / 492.5 MB, free: 17.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002528/0.4053, allocations: 116.4 kB / 492.6 MB, free: 17.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.4054, allocations: 1.125 kB / 492.6 MB, free: 17.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.4054, allocations: 0 / 492.6 MB, free: 17.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.4054, allocations: 0 / 492.6 MB, free: 17.89 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.0005202/0.4059, allocations: 415.4 kB / 493 MB, free: 17.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.4059, allocations: 13.11 kB / 493 MB, free: 17.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.828e-05/0.406, allocations: 14.86 kB / 493 MB, free: 17.47 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002765/0.4063, allocations: 205.1 kB / 493.2 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.4063, allocations: 3.172 kB / 493.2 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.597e-05/0.4064, allocations: 9.469 kB / 493.2 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.4065, allocations: 54.67 kB / 493.3 MB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.4066, allocations: 1.281 kB / 493.3 MB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.4066, allocations: 0 / 493.3 MB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.4066, allocations: 2.141 kB / 493.3 MB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.174e-05/0.4067, allocations: 25.52 kB / 493.3 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003594/0.407, allocations: 286.2 kB / 493.6 MB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.4072, allocations: 60.75 kB / 493.6 MB, free: 16.87 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.165e-05/0.4073, allocations: 20.17 kB / 493.7 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.4073, allocations: 5.094 kB / 493.7 MB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001471/0.4075, allocations: 69.47 kB / 493.7 MB, free: 16.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.4075, allocations: 0 / 493.7 MB, free: 16.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006131/0.4081, allocations: 176.8 kB / 493.9 MB, free: 16.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.4081, allocations: 52.44 kB / 493.9 MB, free: 16.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.4083, allocations: 185.2 kB / 494.1 MB, free: 16.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.4084, allocations: 27.48 kB / 494.2 MB, free: 16.49 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.207e-05/0.4084, allocations: 103.4 kB / 494.3 MB, free: 16.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.945e-05/0.4085, allocations: 25.11 kB / 494.3 MB, free: 16.37 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.4085, allocations: 23.14 kB / 494.3 MB, free: 16.35 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.841e-05/0.4086, allocations: 329.4 kB / 494.6 MB, free: 16.03 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.125e-05/0.4087, allocations: 22.22 kB / 494.6 MB, free: 16.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.403e-05/0.4087, allocations: 35.38 kB / 494.7 MB, free: 16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.4089, allocations: 61.25 kB / 494.7 MB, free: 15.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.4089, allocations: 0 / 494.7 MB, free: 15.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002136/0.4091, allocations: 102.3 kB / 494.8 MB, free: 15.9 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.4091, allocations: 9.875 kB / 494.9 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.4091, allocations: 1.125 kB / 494.9 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.4092, allocations: 2.062 kB / 494.9 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.4093, allocations: 21.56 kB / 494.9 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.4093, allocations: 1.406 kB / 494.9 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.659e-05/0.4094, allocations: 7.047 kB / 494.9 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.4094, allocations: 6.906 kB / 494.9 MB, free: 15.88 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.0001092/0.4095, allocations: 129.3 kB / 495 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.628e-05/0.4096, allocations: 9.344 kB / 495 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.316e-05/0.4096, allocations: 18.53 kB / 495 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.4096, allocations: 1.406 kB / 495 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.4096, allocations: 0 / 495 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.4096, allocations: 6.281 kB / 495.1 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004582/0.4101, allocations: 397.5 kB / 495.4 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.4101, allocations: 0 / 495.4 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.478e-05/0.4102, allocations: 10.2 kB / 495.5 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.441e-06/0.4102, allocations: 1.25 kB / 495.5 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.4102, allocations: 14.03 kB / 495.5 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.4102, allocations: 3.938 kB / 495.5 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4102, allocations: 4.688 kB / 495.5 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002303/0.4104, allocations: 196.5 kB / 495.7 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.595e-05/0.4105, allocations: 85.58 kB / 495.7 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.4105, allocations: 10.97 kB / 495.8 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.77e-05/0.4106, allocations: 2.125 kB / 495.8 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.4107, allocations: 10.61 kB / 495.8 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.4107, allocations: 3.312 kB / 495.8 MB, free: 15.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001259/0.4108, allocations: 144.5 kB / 495.9 MB, free: 15 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4108, allocations: 0 / 495.9 MB, free: 15 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000275/0.4111, allocations: 25.8 kB / 495.9 MB, free: 14.99 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.001079/0.4122, allocations: 474.8 kB / 496.4 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002063/0.4124, allocations: 51.69 kB / 496.5 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.4125, allocations: 1.125 kB / 496.5 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.576e-05/0.4125, allocations: 39.22 kB / 496.5 MB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.4129, allocations: 30.66 kB / 496.5 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004472/0.4134, allocations: 231.5 kB / 496.8 MB, free: 14.4 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000157/0.4135, allocations: 0.7001 MB / 497.5 MB, free: 13.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.046e-05/0.4136, allocations: 17.62 kB / 497.5 MB, free: 13.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.341e-05/0.4136, allocations: 20.89 kB / 497.5 MB, free: 13.69 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4137, allocations: 4 kB / 497.5 MB, free: 13.68 MB / 382.1 MB Notification: Performance of Templates: time 0.005623/0.4193, allocations: 1.698 MB / 499.2 MB, free: 13.49 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1)