Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005942/0.005942, allocations: 97.38 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.001323/0.001323, allocations: 197.4 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.709/1.709, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.4025/0.4025, allocations: 39.95 MB / 309.8 MB, free: 9.402 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.001879/0.001879, allocations: 63.91 kB / 435.8 MB, free: 2.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4347/0.4366, allocations: 56.88 MB / 492.7 MB, free: 19.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.003846/0.4405, allocations: 1.66 MB / 494.4 MB, free: 18.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001497/0.442, allocations: 0.7798 MB / 495.2 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.601e-05/0.4421, allocations: 0 / 495.2 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004531/0.4426, allocations: 59.45 kB / 495.2 MB, free: 18.05 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.0002967/0.4429, allocations: 53.47 kB / 495.3 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003097/0.4432, allocations: 78.94 kB / 495.3 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00022/0.4434, allocations: 91.69 kB / 495.4 MB, free: 17.94 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.884e-05/0.4435, allocations: 13.12 kB / 495.5 MB, free: 17.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.4436, allocations: 40.77 kB / 495.5 MB, free: 17.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.4437, allocations: 32.81 kB / 495.5 MB, free: 17.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.793e-05/0.4438, allocations: 3.875 kB / 495.5 MB, free: 17.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.4439, allocations: 30.03 kB / 495.6 MB, free: 17.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.207e-05/0.444, allocations: 26.94 kB / 495.6 MB, free: 17.87 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.041e-05/0.4441, allocations: 37.56 kB / 495.6 MB, free: 17.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003145/0.4444, allocations: 115.1 kB / 495.7 MB, free: 17.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.4444, allocations: 5.031 kB / 495.7 MB, free: 17.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4444, allocations: 4 kB / 495.7 MB, free: 17.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.4444, allocations: 3.938 kB / 495.7 MB, free: 17.79 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006101/0.445, allocations: 433.5 kB / 496.2 MB, free: 17.37 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.794e-05/0.4451, allocations: 14.42 kB / 496.2 MB, free: 17.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.426e-05/0.4452, allocations: 14.16 kB / 496.2 MB, free: 17.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003937/0.4456, allocations: 221.1 kB / 496.4 MB, free: 17.13 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.4456, allocations: 2.438 kB / 496.4 MB, free: 17.13 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.4456, allocations: 5.656 kB / 496.4 MB, free: 17.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.4458, allocations: 54.81 kB / 496.5 MB, free: 17.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.4458, allocations: 1.375 kB / 496.5 MB, free: 17.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.4459, allocations: 0 / 496.5 MB, free: 17.08 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.4459, allocations: 0 / 496.5 MB, free: 17.08 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.04e-05/0.4459, allocations: 21 kB / 496.5 MB, free: 17.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002492/0.4462, allocations: 184.8 kB / 496.7 MB, free: 16.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001933/0.4464, allocations: 57.44 kB / 496.7 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.82e-05/0.4465, allocations: 23.41 kB / 496.8 MB, free: 16.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.341e-05/0.4465, allocations: 5.016 kB / 496.8 MB, free: 16.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001834/0.4467, allocations: 63.62 kB / 496.8 MB, free: 16.76 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.753e-06/0.4467, allocations: 0 / 496.8 MB, free: 16.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003331/0.4471, allocations: 103.3 kB / 496.9 MB, free: 16.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.4471, allocations: 55.41 kB / 497 MB, free: 16.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003019/0.4474, allocations: 264 kB / 497.2 MB, free: 16.49 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.4474, allocations: 25.7 kB / 497.3 MB, free: 16.46 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.517e-05/0.4475, allocations: 113.9 kB / 497.4 MB, free: 16.35 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.28e-05/0.4476, allocations: 16.31 kB / 497.4 MB, free: 16.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-05/0.4476, allocations: 20.88 kB / 497.4 MB, free: 16.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.927e-05/0.4477, allocations: 326.8 kB / 497.7 MB, free: 16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.536e-05/0.4478, allocations: 14.31 kB / 497.7 MB, free: 16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.712e-05/0.4478, allocations: 31.36 kB / 497.8 MB, free: 15.97 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.855e-05/0.448, allocations: 45.66 kB / 497.8 MB, free: 15.94 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.448, allocations: 0 / 497.8 MB, free: 15.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001639/0.4481, allocations: 90.41 kB / 497.9 MB, free: 15.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.4482, allocations: 5.328 kB / 497.9 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.4482, allocations: 1.312 kB / 497.9 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.4482, allocations: 0 / 497.9 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.131e-05/0.4483, allocations: 14.77 kB / 497.9 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.4483, allocations: 2.062 kB / 497.9 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.223e-05/0.4484, allocations: 11.17 kB / 497.9 MB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.4484, allocations: 1.094 kB / 497.9 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 (7): * Single equations (assignments): 7 * 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.0001142/0.4485, allocations: 132.7 kB / 498.1 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.581e-05/0.4485, allocations: 14.91 kB / 498.1 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.463e-05/0.4486, allocations: 22.77 kB / 498.1 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.4486, allocations: 0 / 498.1 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.4486, allocations: 1.125 kB / 498.1 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.4486, allocations: 4.656 kB / 498.1 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001706/0.4488, allocations: 198.1 kB / 498.3 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.4488, allocations: 320 / 498.3 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.472e-05/0.4488, allocations: 11.78 kB / 498.3 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.4488, allocations: 1.125 kB / 498.3 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.4489, allocations: 1.672 kB / 498.3 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.4489, allocations: 0.7031 kB / 498.3 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.4489, allocations: 1.25 kB / 498.3 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001931/0.4491, allocations: 118.5 kB / 498.4 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.446e-05/0.4491, allocations: 84.3 kB / 498.5 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.4492, allocations: 1.984 kB / 498.5 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.672e-05/0.4492, allocations: 2.078 kB / 498.5 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.228e-05/0.4493, allocations: 8.094 kB / 498.5 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/0.4493, allocations: 3.031 kB / 498.5 MB, free: 15.31 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002162/0.4495, allocations: 192.6 kB / 498.7 MB, free: 15.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4495, allocations: 3.938 kB / 498.7 MB, free: 15.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002578/0.4498, allocations: 26.67 kB / 498.8 MB, free: 15.2 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001078/0.4509, allocations: 417.9 kB / 499.2 MB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002215/0.4511, allocations: 41.67 kB / 499.2 MB, free: 14.85 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4511, allocations: 0 / 499.2 MB, free: 14.85 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.292e-05/0.4512, allocations: 18.34 kB / 499.2 MB, free: 14.85 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.4515, allocations: 33.19 kB / 499.2 MB, free: 14.83 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005602/0.4521, allocations: 275 kB / 499.5 MB, free: 14.65 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002182/0.4523, allocations: 0.7081 MB / 0.4885 GB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.341e-05/0.4524, allocations: 14.48 kB / 0.4885 GB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.509e-05/0.4524, allocations: 20.19 kB / 0.4885 GB, free: 13.94 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4524, allocations: 0 / 0.4885 GB, free: 13.94 MB / 382.1 MB Notification: Performance of Templates: time 0.005688/0.4581, allocations: 1.505 MB / 0.49 GB, free: 13.76 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test64.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1)