Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.005585/0.005585, allocations: 100 kB / 15.73 MB, free: 6.047 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.001211/0.001211, allocations: 185.3 kB / 16.67 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.547/1.547, allocations: 205.1 MB / 222.6 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4089/0.4089, allocations: 39.94 MB / 309.8 MB, free: 9.449 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.2. 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.001871/0.001872, allocations: 71.89 kB / 435.8 MB, free: 2.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4047/0.4066, allocations: 56.88 MB / 492.7 MB, free: 19.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003266/0.4099, allocations: 1.691 MB / 494.4 MB, free: 18.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001452/0.4114, allocations: 0.8012 MB / 495.2 MB, free: 17.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.219e-05/0.4115, allocations: 3.938 kB / 495.2 MB, free: 17.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003613/0.4119, allocations: 46.41 kB / 495.3 MB, free: 17.75 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.0002535/0.4122, allocations: 60.62 kB / 495.3 MB, free: 17.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.4124, allocations: 80.12 kB / 495.4 MB, free: 17.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002095/0.4127, allocations: 96.09 kB / 495.5 MB, free: 17.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.4128, allocations: 28.28 kB / 495.5 MB, free: 17.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.4129, allocations: 41.12 kB / 495.6 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.721e-05/0.413, allocations: 30.22 kB / 495.6 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.413, allocations: 3.5 kB / 495.6 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.4132, allocations: 38 kB / 495.6 MB, free: 17.56 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.359e-05/0.4132, allocations: 28.52 kB / 495.7 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.574e-05/0.4133, allocations: 38.3 kB / 495.7 MB, free: 17.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000258/0.4136, allocations: 120.1 kB / 495.8 MB, free: 17.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.4136, allocations: 4 kB / 495.8 MB, free: 17.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.4136, allocations: 6.125 kB / 495.8 MB, free: 17.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.4136, allocations: 0 / 495.8 MB, free: 17.46 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.0006912/0.4143, allocations: 429.7 kB / 496.2 MB, free: 17.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.4144, allocations: 12.48 kB / 496.3 MB, free: 17.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.719e-05/0.4144, allocations: 11.19 kB / 496.3 MB, free: 17.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002939/0.4147, allocations: 216.6 kB / 496.5 MB, free: 16.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.4147, allocations: 1.656 kB / 496.5 MB, free: 16.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.4148, allocations: 7.109 kB / 496.5 MB, free: 16.81 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.4149, allocations: 57.08 kB / 496.5 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.415, allocations: 0 / 496.5 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.415, allocations: 2.172 kB / 496.5 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.415, allocations: 0 / 496.5 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.326e-05/0.4151, allocations: 22 kB / 496.6 MB, free: 16.76 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003759/0.4155, allocations: 287 kB / 496.8 MB, free: 16.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.4156, allocations: 64.06 kB / 496.9 MB, free: 16.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.832e-05/0.4157, allocations: 19.98 kB / 496.9 MB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.4157, allocations: 2.656 kB / 496.9 MB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001589/0.4159, allocations: 64.8 kB / 497 MB, free: 16.37 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.4159, allocations: 0 / 497 MB, free: 16.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006039/0.4165, allocations: 177 kB / 497.2 MB, free: 16.28 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.4166, allocations: 58.81 kB / 497.2 MB, free: 16.21 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002528/0.4168, allocations: 219.2 kB / 497.4 MB, free: 16.08 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.4169, allocations: 29.7 kB / 497.5 MB, free: 16.04 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.374e-05/0.4169, allocations: 108.9 kB / 497.6 MB, free: 15.94 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.576e-05/0.417, allocations: 30.45 kB / 497.6 MB, free: 15.92 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.26e-05/0.417, allocations: 21.58 kB / 497.6 MB, free: 15.9 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.623e-05/0.4171, allocations: 332.7 kB / 498 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.176e-05/0.4172, allocations: 17.52 kB / 498 MB, free: 15.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.171e-05/0.4173, allocations: 39.11 kB / 498 MB, free: 15.54 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001184/0.4174, allocations: 58.11 kB / 498.1 MB, free: 15.51 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4174, allocations: 4 kB / 498.1 MB, free: 15.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001822/0.4176, allocations: 101.8 kB / 498.2 MB, free: 15.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.4176, allocations: 5.062 kB / 498.2 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.4177, allocations: 2.109 kB / 498.2 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.4177, allocations: 9.188 kB / 498.2 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.925e-05/0.4178, allocations: 22.94 kB / 498.2 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.4178, allocations: 2.312 kB / 498.2 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.565e-05/0.4179, allocations: 6.281 kB / 498.2 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.4179, allocations: 7.609 kB / 498.2 MB, free: 15.42 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.925e-05/0.418, allocations: 129.6 kB / 498.3 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/0.418, allocations: 14.28 kB / 498.4 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.986e-05/0.418, allocations: 15.89 kB / 498.4 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.4181, allocations: 1.188 kB / 498.4 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.4181, allocations: 4 kB / 498.4 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.4181, allocations: 5.656 kB / 498.4 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004334/0.4185, allocations: 397.4 kB / 498.8 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.4185, allocations: 1.5 kB / 498.8 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.236e-05/0.4186, allocations: 7.812 kB / 498.8 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.4186, allocations: 5.453 kB / 498.8 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.4186, allocations: 7.656 kB / 498.8 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.4186, allocations: 0 / 498.8 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4186, allocations: 5.312 kB / 498.8 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002226/0.4188, allocations: 201.9 kB / 499 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.639e-05/0.4189, allocations: 88.52 kB / 499.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.4189, allocations: 10.36 kB / 499.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.719e-05/0.419, allocations: 3.984 kB / 499.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.76e-05/0.419, allocations: 5.094 kB / 499.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.4191, allocations: 7.781 kB / 499.1 MB, free: 14.63 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000148/0.4192, allocations: 172 kB / 499.3 MB, free: 14.53 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4192, allocations: 0 / 499.3 MB, free: 14.53 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002653/0.4195, allocations: 26.27 kB / 499.3 MB, free: 14.52 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.001093/0.4206, allocations: 473.7 kB / 499.8 MB, free: 14.15 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002108/0.4208, allocations: 59.81 kB / 499.8 MB, free: 14.13 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4208, allocations: 0 / 499.8 MB, free: 14.13 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.353e-05/0.4209, allocations: 32.86 kB / 499.9 MB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003884/0.4213, allocations: 39.17 kB / 499.9 MB, free: 14.1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005603/0.4219, allocations: 256.4 kB / 0.4884 GB, free: 13.92 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002139/0.4221, allocations: 0.7107 MB / 0.4891 GB, free: 13.22 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.756e-05/0.4222, allocations: 17.34 kB / 0.4891 GB, free: 13.22 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.097e-05/0.4222, allocations: 15.92 kB / 0.4892 GB, free: 13.21 MB / 382.1 MB Notification: Performance of SimCode: time 4.6e-07/0.4222, allocations: 0 / 0.4892 GB, free: 13.21 MB / 382.1 MB Notification: Performance of Templates: time 0.005531/0.4278, allocations: 1.73 MB / 0.4908 GB, free: 13.02 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1)