Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.009026/0.009032, allocations: 100.8 kB / 15.73 MB, free: 6.012 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.001708/0.001708, allocations: 187.8 kB / 16.67 MB, free: 5.949 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.651/1.651, allocations: 205.1 MB / 222.5 MB, free: 4.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3752/0.3752, allocations: 38 MB / 307.9 MB, free: 10.12 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.1. 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: 75.89 kB / 433 MB, free: 5.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3988/0.4007, allocations: 56.47 MB / 489.5 MB, free: 19.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.004403/0.4052, allocations: 1.885 MB / 491.4 MB, free: 18.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.4068, allocations: 0.8429 MB / 492.2 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001304/0.407, allocations: 2.625 kB / 492.2 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003763/0.4074, allocations: 45.41 kB / 492.3 MB, free: 18 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.0002811/0.4077, allocations: 60.59 kB / 492.3 MB, free: 17.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003275/0.408, allocations: 98.03 kB / 492.4 MB, free: 17.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002698/0.4083, allocations: 134.1 kB / 492.6 MB, free: 17.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001665/0.4084, allocations: 36.19 kB / 492.6 MB, free: 17.83 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.4086, allocations: 61.19 kB / 492.7 MB, free: 17.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.4087, allocations: 52.67 kB / 492.7 MB, free: 17.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.77e-05/0.4087, allocations: 6.688 kB / 492.7 MB, free: 17.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.4089, allocations: 46.59 kB / 492.8 MB, free: 17.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.89e-05/0.4089, allocations: 27.08 kB / 492.8 MB, free: 17.74 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.764e-05/0.409, allocations: 50.41 kB / 492.8 MB, free: 17.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003063/0.4093, allocations: 149.8 kB / 493 MB, free: 17.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.4094, allocations: 0 / 493 MB, free: 17.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4094, allocations: 0 / 493 MB, free: 17.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.4094, allocations: 1.125 kB / 493 MB, free: 17.64 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.0007104/0.4101, allocations: 475.3 kB / 493.5 MB, free: 17.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.4101, allocations: 13.45 kB / 493.5 MB, free: 17.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.306e-05/0.4102, allocations: 16.62 kB / 493.5 MB, free: 17.17 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003814/0.4106, allocations: 232.2 kB / 493.7 MB, free: 16.94 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.4106, allocations: 4.406 kB / 493.7 MB, free: 16.94 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.676e-05/0.4107, allocations: 12.88 kB / 493.7 MB, free: 16.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002883/0.411, allocations: 104.8 kB / 493.8 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.411, allocations: 1.25 kB / 493.8 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.411, allocations: 6.141 kB / 493.8 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.411, allocations: 1.125 kB / 493.8 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001692/0.4112, allocations: 51.81 kB / 493.9 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006224/0.4118, allocations: 0.5146 MB / 494.4 MB, free: 16.35 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003619/0.4122, allocations: 87.25 kB / 494.5 MB, free: 16.31 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.4123, allocations: 37.23 kB / 494.5 MB, free: 16.29 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.4124, allocations: 1.094 kB / 494.5 MB, free: 16.29 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002227/0.4126, allocations: 85.56 kB / 494.6 MB, free: 16.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.834e-06/0.4126, allocations: 1.562 kB / 494.6 MB, free: 16.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004296/0.413, allocations: 150.7 kB / 494.8 MB, free: 16.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/0.4131, allocations: 57.08 kB / 494.8 MB, free: 16.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/0.4133, allocations: 187.6 kB / 495 MB, free: 15.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.4133, allocations: 27.44 kB / 495 MB, free: 15.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.833e-05/0.4134, allocations: 115.1 kB / 495.1 MB, free: 15.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/0.4134, allocations: 30.41 kB / 495.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.175e-05/0.4135, allocations: 29.03 kB / 495.2 MB, free: 15.78 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.918e-05/0.4136, allocations: 331 kB / 495.5 MB, free: 15.45 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.376e-05/0.4137, allocations: 32.94 kB / 495.6 MB, free: 15.44 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.4138, allocations: 63.38 kB / 495.6 MB, free: 15.39 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001998/0.414, allocations: 99.33 kB / 495.7 MB, free: 15.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.414, allocations: 1.156 kB / 495.7 MB, free: 15.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003199/0.4143, allocations: 132.6 kB / 495.8 MB, free: 15.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/0.4144, allocations: 7.172 kB / 495.8 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.4144, allocations: 5.312 kB / 495.9 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-05/0.4144, allocations: 1.094 kB / 495.9 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.4145, allocations: 30.5 kB / 495.9 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.4146, allocations: 2.812 kB / 495.9 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.328e-05/0.4146, allocations: 10.33 kB / 495.9 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.4147, allocations: 4.062 kB / 495.9 MB, free: 15.24 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.0001196/0.4148, allocations: 128.7 kB / 496 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.584e-05/0.4148, allocations: 18.45 kB / 496 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.291e-05/0.4149, allocations: 28.09 kB / 496.1 MB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.4149, allocations: 5.094 kB / 496.1 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.4149, allocations: 0 / 496.1 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.4149, allocations: 1.859 kB / 496.1 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002408/0.4152, allocations: 213.3 kB / 496.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4152, allocations: 0.75 kB / 496.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.285e-05/0.4153, allocations: 11.81 kB / 496.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.4153, allocations: 1.094 kB / 496.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.4153, allocations: 5.703 kB / 496.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.4153, allocations: 5.062 kB / 496.3 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4153, allocations: 0 / 496.3 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004453/0.4158, allocations: 182.9 kB / 496.5 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.745e-05/0.4159, allocations: 93.64 kB / 496.6 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/0.4159, allocations: 5.625 kB / 496.6 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.312e-05/0.416, allocations: 9.391 kB / 496.6 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.388e-05/0.416, allocations: 5.766 kB / 496.6 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/0.416, allocations: 4.344 kB / 496.6 MB, free: 14.63 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001384/0.4162, allocations: 142.6 kB / 496.7 MB, free: 14.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4162, allocations: 0 / 496.7 MB, free: 14.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002589/0.4164, allocations: 28.19 kB / 496.8 MB, free: 14.53 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.0009623/0.4174, allocations: 412.6 kB / 497.2 MB, free: 14.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002864/0.4177, allocations: 78.91 kB / 497.3 MB, free: 14.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4177, allocations: 8.188 kB / 497.3 MB, free: 14.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.4178, allocations: 34.56 kB / 497.3 MB, free: 14.17 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.4182, allocations: 37.31 kB / 497.3 MB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005912/0.4188, allocations: 264.3 kB / 497.6 MB, free: 13.97 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001955/0.419, allocations: 0.7224 MB / 498.3 MB, free: 13.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.082e-05/0.4191, allocations: 15.02 kB / 498.3 MB, free: 13.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.274e-05/0.4191, allocations: 17.12 kB / 498.3 MB, free: 13.26 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4191, allocations: 5.062 kB / 498.3 MB, free: 13.25 MB / 382.1 MB Notification: Performance of Templates: time 0.006389/0.4255, allocations: 1.921 MB / 0.4885 GB, free: 13.04 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1)