Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006577/0.006577, allocations: 100.2 kB / 15.73 MB, free: 6.008 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.001345/0.001345, allocations: 193 kB / 16.67 MB, free: 5.93 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.48/1.48, allocations: 205.1 MB / 222.6 MB, free: 4.5 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.3811/0.3811, allocations: 39.94 MB / 309.8 MB, free: 9.418 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.001824/0.001824, allocations: 64.47 kB / 435.8 MB, free: 2.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4305/0.4323, allocations: 56.88 MB / 492.7 MB, free: 19.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003705/0.4361, allocations: 1.651 MB / 494.4 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001495/0.4377, allocations: 0.7864 MB / 495.2 MB, free: 17.49 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.075e-05/0.4377, allocations: 1.5 kB / 495.2 MB, free: 17.49 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003739/0.4381, allocations: 60.95 kB / 495.2 MB, free: 17.47 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.0002886/0.4384, allocations: 68.28 kB / 495.3 MB, free: 17.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002451/0.4387, allocations: 74.48 kB / 495.4 MB, free: 17.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001951/0.4389, allocations: 102.6 kB / 495.5 MB, free: 17.35 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.859e-05/0.439, allocations: 13.72 kB / 495.5 MB, free: 17.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.791e-05/0.4391, allocations: 42.7 kB / 495.5 MB, free: 17.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.4392, allocations: 43.69 kB / 495.6 MB, free: 17.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.4392, allocations: 6.188 kB / 495.6 MB, free: 17.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.317e-05/0.4393, allocations: 30.31 kB / 495.6 MB, free: 17.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.429e-05/0.4394, allocations: 22.41 kB / 495.6 MB, free: 17.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.619e-05/0.4394, allocations: 33.22 kB / 495.7 MB, free: 17.26 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002097/0.4397, allocations: 94.66 kB / 495.7 MB, free: 17.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4397, allocations: 0 / 495.7 MB, free: 17.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4397, allocations: 0.6562 kB / 495.7 MB, free: 17.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.4397, allocations: 4 kB / 495.7 MB, free: 17.22 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.000546/0.4402, allocations: 406.2 kB / 496.1 MB, free: 16.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.4403, allocations: 13.92 kB / 496.2 MB, free: 16.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.484e-05/0.4404, allocations: 9.766 kB / 496.2 MB, free: 16.81 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000281/0.4406, allocations: 201.5 kB / 496.4 MB, free: 16.6 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.4407, allocations: 2.078 kB / 496.4 MB, free: 16.6 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.4407, allocations: 5.156 kB / 496.4 MB, free: 16.6 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.4409, allocations: 58.89 kB / 496.4 MB, free: 16.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.4409, allocations: 0.7031 kB / 496.4 MB, free: 16.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.4409, allocations: 1 kB / 496.4 MB, free: 16.55 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.4409, allocations: 3.938 kB / 496.4 MB, free: 16.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.162e-05/0.441, allocations: 15.75 kB / 496.5 MB, free: 16.54 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001881/0.4412, allocations: 178.4 kB / 496.6 MB, free: 16.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.4414, allocations: 49.72 kB / 496.7 MB, free: 16.31 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.375e-05/0.4414, allocations: 27.45 kB / 496.7 MB, free: 16.29 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.4415, allocations: 4.969 kB / 496.7 MB, free: 16.29 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001491/0.4416, allocations: 67.84 kB / 496.8 MB, free: 16.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.383e-06/0.4416, allocations: 0 / 496.8 MB, free: 16.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003001/0.4419, allocations: 96.38 kB / 496.9 MB, free: 16.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/0.442, allocations: 52.91 kB / 496.9 MB, free: 16.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.4422, allocations: 183.5 kB / 497.1 MB, free: 15.99 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.4422, allocations: 35.64 kB / 497.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.153e-05/0.4423, allocations: 99.59 kB / 497.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.96e-05/0.4423, allocations: 15.03 kB / 497.2 MB, free: 15.85 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.549e-05/0.4424, allocations: 19.47 kB / 497.3 MB, free: 15.83 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.262e-05/0.4424, allocations: 326.1 kB / 497.6 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.543e-05/0.4425, allocations: 17.95 kB / 497.6 MB, free: 15.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.557e-05/0.4426, allocations: 31.36 kB / 497.6 MB, free: 15.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.914e-05/0.4427, allocations: 40.84 kB / 497.7 MB, free: 15.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4427, allocations: 1.625 kB / 497.7 MB, free: 15.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001655/0.4429, allocations: 83.05 kB / 497.8 MB, free: 15.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.4429, allocations: 6.766 kB / 497.8 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.4429, allocations: 0 / 497.8 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.4429, allocations: 1.594 kB / 497.8 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.329e-05/0.443, allocations: 14.38 kB / 497.8 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.443, allocations: 5.188 kB / 497.8 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.85e-05/0.4431, allocations: 7.406 kB / 497.8 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.4431, allocations: 2.688 kB / 497.8 MB, free: 15.38 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 8.432e-05/0.4432, allocations: 132.2 kB / 497.9 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.114e-05/0.4432, allocations: 9.453 kB / 497.9 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.988e-05/0.4433, allocations: 13.77 kB / 497.9 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.4433, allocations: 1.156 kB / 497.9 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4433, allocations: 0 / 497.9 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.4433, allocations: 4.516 kB / 497.9 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001289/0.4434, allocations: 181.2 kB / 498.1 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.4434, allocations: 1.969 kB / 498.1 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.02e-05/0.4435, allocations: 7.047 kB / 498.1 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.4435, allocations: 1.438 kB / 498.1 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.4435, allocations: 6.188 kB / 498.1 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.4435, allocations: 0 / 498.1 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.4435, allocations: 4.797 kB / 498.1 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002027/0.4437, allocations: 113.1 kB / 498.3 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.789e-05/0.4438, allocations: 88.06 kB / 498.3 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.4438, allocations: 6.641 kB / 498.3 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.589e-05/0.4438, allocations: 1.703 kB / 498.3 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.591e-05/0.4439, allocations: 4.312 kB / 498.4 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.4439, allocations: 3.344 kB / 498.4 MB, free: 14.83 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000149/0.4441, allocations: 142.2 kB / 498.5 MB, free: 14.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4441, allocations: 1.281 kB / 498.5 MB, free: 14.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002333/0.4443, allocations: 20.64 kB / 498.5 MB, free: 14.73 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.0009825/0.4453, allocations: 426.2 kB / 498.9 MB, free: 14.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001768/0.4455, allocations: 43.31 kB / 499 MB, free: 14.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.4455, allocations: 0 / 499 MB, free: 14.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.546e-05/0.4456, allocations: 18.02 kB / 499 MB, free: 14.37 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.4459, allocations: 37.89 kB / 499 MB, free: 14.35 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004524/0.4463, allocations: 196.7 kB / 499.2 MB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001916/0.4465, allocations: 0.7003 MB / 499.9 MB, free: 13.51 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.22e-05/0.4466, allocations: 11.39 kB / 499.9 MB, free: 13.51 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.288e-05/0.4467, allocations: 15.08 kB / 499.9 MB, free: 13.5 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4467, allocations: 0 / 499.9 MB, free: 13.5 MB / 382.1 MB Notification: Performance of Templates: time 0.005628/0.4523, allocations: 1.474 MB / 0.4897 GB, free: 13.32 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1)