Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006212/0.006212, allocations: 103.7 kB / 15.73 MB, free: 6.043 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.001195/0.001195, allocations: 200.4 kB / 16.68 MB, free: 5.98 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.619/1.619, allocations: 205.1 MB / 222.5 MB, free: 4.402 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.3697/0.3697, allocations: 39.94 MB / 309.8 MB, free: 9.602 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.001758/0.001758, allocations: 71.91 kB / 435.8 MB, free: 2.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4092/0.411, allocations: 56.87 MB / 492.7 MB, free: 19.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003807/0.4148, allocations: 1.904 MB / 494.6 MB, free: 18.1 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001664/0.4165, allocations: 0.8444 MB / 495.5 MB, free: 17.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.4166, allocations: 1.219 kB / 495.5 MB, free: 17.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003939/0.417, allocations: 47.72 kB / 495.5 MB, free: 17.49 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.0002561/0.4173, allocations: 59.31 kB / 495.6 MB, free: 17.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000303/0.4176, allocations: 94.94 kB / 495.7 MB, free: 17.4 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002682/0.4179, allocations: 141 kB / 495.8 MB, free: 17.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.4181, allocations: 32.19 kB / 495.8 MB, free: 17.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.4182, allocations: 61.84 kB / 495.9 MB, free: 17.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.4183, allocations: 48.78 kB / 495.9 MB, free: 17.26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.912e-05/0.4184, allocations: 6.375 kB / 495.9 MB, free: 17.26 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.4185, allocations: 42.64 kB / 496 MB, free: 17.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.193e-05/0.4186, allocations: 30.94 kB / 496 MB, free: 17.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.988e-05/0.4187, allocations: 50.97 kB / 496.1 MB, free: 17.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003322/0.419, allocations: 145.4 kB / 496.2 MB, free: 17.13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.718e-06/0.419, allocations: 3.938 kB / 496.2 MB, free: 17.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.521e-06/0.419, allocations: 0 / 496.2 MB, free: 17.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.419, allocations: 0 / 496.2 MB, free: 17.13 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009492/0.42, allocations: 472.8 kB / 496.7 MB, free: 16.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.515e-05/0.4201, allocations: 17.55 kB / 496.7 MB, free: 16.67 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.676e-05/0.4202, allocations: 20.19 kB / 496.7 MB, free: 16.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004571/0.4206, allocations: 229.4 kB / 496.9 MB, free: 16.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/0.4207, allocations: 7.938 kB / 496.9 MB, free: 16.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.34e-05/0.4207, allocations: 12.78 kB / 497 MB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003246/0.421, allocations: 104.5 kB / 497.1 MB, free: 16.35 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.4211, allocations: 2.25 kB / 497.1 MB, free: 16.35 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.4211, allocations: 4.984 kB / 497.1 MB, free: 16.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.4211, allocations: 2.125 kB / 497.1 MB, free: 16.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002062/0.4213, allocations: 53.92 kB / 497.1 MB, free: 16.33 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008378/0.4222, allocations: 0.5153 MB / 497.6 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004483/0.4226, allocations: 86.89 kB / 497.7 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.4228, allocations: 37.84 kB / 497.8 MB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.213e-05/0.4228, allocations: 1.5 kB / 497.8 MB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002722/0.4231, allocations: 89.95 kB / 497.8 MB, free: 15.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.704e-06/0.4231, allocations: 0 / 497.8 MB, free: 15.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005542/0.4237, allocations: 146.8 kB / 498 MB, free: 15.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/0.4237, allocations: 57.92 kB / 498 MB, free: 15.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002728/0.424, allocations: 191 kB / 498.2 MB, free: 15.44 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.424, allocations: 27.91 kB / 498.3 MB, free: 15.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.03e-05/0.4241, allocations: 111 kB / 498.4 MB, free: 15.31 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.734e-05/0.4242, allocations: 26.66 kB / 498.4 MB, free: 15.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.057e-05/0.4242, allocations: 31.69 kB / 498.4 MB, free: 15.26 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.4244, allocations: 331.9 kB / 498.7 MB, free: 14.94 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/0.4245, allocations: 30.02 kB / 498.8 MB, free: 14.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.4246, allocations: 58.25 kB / 498.8 MB, free: 14.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002361/0.4249, allocations: 104 kB / 498.9 MB, free: 14.81 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.4249, allocations: 1.5 kB / 498.9 MB, free: 14.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003296/0.4252, allocations: 139.8 kB / 499.1 MB, free: 14.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.4252, allocations: 6.375 kB / 499.1 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.4253, allocations: 2.109 kB / 499.1 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/0.4253, allocations: 1.469 kB / 499.1 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.4254, allocations: 29.78 kB / 499.1 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.923e-05/0.4254, allocations: 3.328 kB / 499.1 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.684e-05/0.4255, allocations: 17.25 kB / 499.1 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/0.4256, allocations: 4.781 kB / 499.1 MB, free: 14.71 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001504/0.4257, allocations: 130 kB / 499.3 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.101e-05/0.4257, allocations: 18.88 kB / 499.3 MB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.022e-05/0.4258, allocations: 19.2 kB / 499.3 MB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.4258, allocations: 9.953 kB / 499.3 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.4259, allocations: 0 / 499.3 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.4259, allocations: 0.6094 kB / 499.3 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001755/0.426, allocations: 205.8 kB / 499.5 MB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4261, allocations: 1.156 kB / 499.5 MB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.776e-05/0.4261, allocations: 10.89 kB / 499.5 MB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.4261, allocations: 1.719 kB / 499.5 MB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.4262, allocations: 6.172 kB / 499.5 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.4262, allocations: 8.5 kB / 499.5 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4262, allocations: 0 / 499.5 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003728/0.4266, allocations: 178.3 kB / 499.7 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.596e-05/0.4266, allocations: 86.41 kB / 499.8 MB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.721e-05/0.4266, allocations: 1.969 kB / 499.8 MB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.493e-05/0.4267, allocations: 13.97 kB / 499.8 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.656e-05/0.4268, allocations: 13.86 kB / 499.8 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/0.4268, allocations: 3.609 kB / 499.8 MB, free: 14.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001268/0.4269, allocations: 139.3 kB / 500 MB, free: 14.03 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4269, allocations: 0 / 500 MB, free: 14.03 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002684/0.4272, allocations: 27.77 kB / 500 MB, free: 14.02 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.001052/0.4283, allocations: 414.7 kB / 0.4887 GB, free: 13.69 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002749/0.4286, allocations: 82.47 kB / 0.4888 GB, free: 13.67 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4286, allocations: 0 / 0.4888 GB, free: 13.67 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.4287, allocations: 39.31 kB / 0.4888 GB, free: 13.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.4291, allocations: 41.11 kB / 0.4888 GB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008678/0.4299, allocations: 261.1 kB / 0.4891 GB, free: 13.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.4302, allocations: 0.7227 MB / 0.4898 GB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.744e-05/0.4304, allocations: 15.25 kB / 0.4898 GB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.916e-05/0.4304, allocations: 20.83 kB / 0.4898 GB, free: 12.74 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4304, allocations: 0 / 0.4898 GB, free: 12.74 MB / 382.1 MB Notification: Performance of Templates: time 0.006898/0.4373, allocations: 1.92 MB / 0.4917 GB, free: 12.52 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1)