Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006355/0.006355, allocations: 98.53 kB / 15.73 MB, free: 6.039 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.0016/0.0016, allocations: 199.9 kB / 16.68 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.688/1.688, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.3496/0.3496, allocations: 39.94 MB / 309.8 MB, free: 9.309 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.001722/0.001722, allocations: 71.91 kB / 435.8 MB, free: 2.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4207/0.4224, allocations: 56.87 MB / 492.7 MB, free: 19.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003463/0.4259, allocations: 1.901 MB / 494.6 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.4274, allocations: 0.8391 MB / 495.5 MB, free: 17.6 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.4275, allocations: 5.062 kB / 495.5 MB, free: 17.6 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003447/0.4279, allocations: 39.5 kB / 495.5 MB, free: 17.58 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.0002313/0.4281, allocations: 64.14 kB / 495.6 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002866/0.4284, allocations: 101.1 kB / 495.7 MB, free: 17.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002261/0.4287, allocations: 142.4 kB / 495.8 MB, free: 17.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.4288, allocations: 32.77 kB / 495.8 MB, free: 17.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.4289, allocations: 59.88 kB / 495.9 MB, free: 17.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.429, allocations: 54.83 kB / 495.9 MB, free: 17.33 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.454e-05/0.4291, allocations: 5.656 kB / 495.9 MB, free: 17.33 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.4292, allocations: 41.83 kB / 496 MB, free: 17.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.957e-05/0.4293, allocations: 22.48 kB / 496 MB, free: 17.31 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.089e-05/0.4294, allocations: 51.52 kB / 496.1 MB, free: 17.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002938/0.4297, allocations: 153 kB / 496.2 MB, free: 17.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.4297, allocations: 5.531 kB / 496.2 MB, free: 17.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4297, allocations: 0 / 496.2 MB, free: 17.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.4297, allocations: 0 / 496.2 MB, free: 17.2 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.0006731/0.4304, allocations: 478.9 kB / 496.7 MB, free: 16.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.4304, allocations: 13.92 kB / 496.7 MB, free: 16.74 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.081e-05/0.4305, allocations: 16.59 kB / 496.7 MB, free: 16.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/0.4308, allocations: 230.1 kB / 496.9 MB, free: 16.51 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.4308, allocations: 6.766 kB / 496.9 MB, free: 16.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/0.4309, allocations: 12.69 kB / 497 MB, free: 16.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002512/0.4311, allocations: 109.9 kB / 497.1 MB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.4311, allocations: 0 / 497.1 MB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.4312, allocations: 5.656 kB / 497.1 MB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.4312, allocations: 3.156 kB / 497.1 MB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001705/0.4314, allocations: 50.5 kB / 497.1 MB, free: 16.4 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005723/0.4319, allocations: 0.5157 MB / 497.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003457/0.4323, allocations: 82.5 kB / 497.7 MB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.4324, allocations: 41.67 kB / 497.8 MB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.128e-05/0.4325, allocations: 6.266 kB / 497.8 MB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001989/0.4327, allocations: 81.02 kB / 497.8 MB, free: 15.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.4327, allocations: 0 / 497.8 MB, free: 15.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004398/0.4331, allocations: 139.4 kB / 498 MB, free: 15.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.4332, allocations: 55.94 kB / 498 MB, free: 15.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002091/0.4334, allocations: 196.4 kB / 498.2 MB, free: 15.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.4334, allocations: 31.05 kB / 498.3 MB, free: 15.49 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.579e-05/0.4335, allocations: 111.2 kB / 498.4 MB, free: 15.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/0.4335, allocations: 30.19 kB / 498.4 MB, free: 15.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.485e-05/0.4336, allocations: 28.34 kB / 498.4 MB, free: 15.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.886e-05/0.4337, allocations: 328.7 kB / 498.7 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.072e-05/0.4338, allocations: 28.17 kB / 498.8 MB, free: 15.01 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.4339, allocations: 72.27 kB / 498.8 MB, free: 14.95 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001888/0.4341, allocations: 96.09 kB / 498.9 MB, free: 14.89 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.4341, allocations: 4 kB / 498.9 MB, free: 14.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002629/0.4344, allocations: 140.4 kB / 499.1 MB, free: 14.81 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.4344, allocations: 6.359 kB / 499.1 MB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.4344, allocations: 2.188 kB / 499.1 MB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.4344, allocations: 1.344 kB / 499.1 MB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.4345, allocations: 25.36 kB / 499.1 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.4345, allocations: 11.17 kB / 499.1 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.001e-05/0.4346, allocations: 18 kB / 499.1 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.4346, allocations: 8.812 kB / 499.1 MB, free: 14.78 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 8.636e-05/0.4347, allocations: 121.4 kB / 499.3 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.821e-05/0.4348, allocations: 14.95 kB / 499.3 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.984e-05/0.4348, allocations: 19.5 kB / 499.3 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.4348, allocations: 5.312 kB / 499.3 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4348, allocations: 0 / 499.3 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.4348, allocations: 2.453 kB / 499.3 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.435, allocations: 205.8 kB / 499.5 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.435, allocations: 4 kB / 499.5 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.881e-05/0.4351, allocations: 15.56 kB / 499.5 MB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.4351, allocations: 0.6094 kB / 499.5 MB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.4351, allocations: 2 kB / 499.5 MB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.4351, allocations: 5.094 kB / 499.5 MB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.4352, allocations: 0.7031 kB / 499.5 MB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003817/0.4355, allocations: 186.3 kB / 499.7 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.4356, allocations: 85.06 kB / 499.8 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.4356, allocations: 6.844 kB / 499.8 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.403e-05/0.4357, allocations: 9.203 kB / 499.8 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.415e-05/0.4357, allocations: 10.12 kB / 499.8 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.4358, allocations: 4.016 kB / 499.8 MB, free: 14.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001133/0.4359, allocations: 141.9 kB / 500 MB, free: 14.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4359, allocations: 1.125 kB / 500 MB, free: 14.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002431/0.4361, allocations: 29.12 kB / 500 MB, free: 14.09 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.001013/0.4372, allocations: 419.5 kB / 0.4887 GB, free: 13.76 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002615/0.4374, allocations: 83 kB / 0.4888 GB, free: 13.74 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4374, allocations: 0 / 0.4888 GB, free: 13.74 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.4376, allocations: 35.3 kB / 0.4888 GB, free: 13.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.4379, allocations: 36.8 kB / 0.4888 GB, free: 13.72 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005526/0.4385, allocations: 273.3 kB / 0.4891 GB, free: 13.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001816/0.4386, allocations: 0.7099 MB / 0.4898 GB, free: 12.83 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.428e-05/0.4387, allocations: 19 kB / 0.4898 GB, free: 12.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.312e-05/0.4388, allocations: 21.48 kB / 0.4898 GB, free: 12.81 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4388, allocations: 0 / 0.4898 GB, free: 12.81 MB / 382.1 MB Notification: Performance of Templates: time 0.00598/0.4448, allocations: 1.922 MB / 0.4917 GB, free: 12.6 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1)