Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008611/0.008612, allocations: 97.33 kB / 15.73 MB, free: 5.527 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.00175/0.00175, allocations: 187 kB / 16.67 MB, free: 5.465 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.543/1.543, allocations: 205.1 MB / 222.6 MB, free: 4.352 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.3909/0.3909, allocations: 39.94 MB / 309.8 MB, free: 9.594 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.001566/0.001566, allocations: 71.91 kB / 435.8 MB, free: 2.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3952/0.3968, allocations: 56.88 MB / 492.7 MB, free: 19.56 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.003787/0.4006, allocations: 1.695 MB / 494.4 MB, free: 18.37 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001678/0.4023, allocations: 0.8028 MB / 495.2 MB, free: 17.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.4025, allocations: 1.156 kB / 495.2 MB, free: 17.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003842/0.4029, allocations: 37.84 kB / 495.3 MB, free: 17.8 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.0002807/0.4032, allocations: 56.34 kB / 495.3 MB, free: 17.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.4035, allocations: 76.92 kB / 495.4 MB, free: 17.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002248/0.4037, allocations: 103.1 kB / 495.5 MB, free: 17.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.4038, allocations: 15.39 kB / 495.5 MB, free: 17.67 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.535e-05/0.4039, allocations: 41.86 kB / 495.5 MB, free: 17.65 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.87e-05/0.404, allocations: 33.25 kB / 495.6 MB, free: 17.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.435e-05/0.4041, allocations: 5 kB / 495.6 MB, free: 17.63 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000135/0.4042, allocations: 37.41 kB / 495.6 MB, free: 17.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.095e-05/0.4043, allocations: 17.38 kB / 495.6 MB, free: 17.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.327e-05/0.4044, allocations: 28.42 kB / 495.7 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003037/0.4047, allocations: 119.8 kB / 495.8 MB, free: 17.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4047, allocations: 0 / 495.8 MB, free: 17.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.837e-06/0.4047, allocations: 2 kB / 495.8 MB, free: 17.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.292e-05/0.4047, allocations: 4 kB / 495.8 MB, free: 17.54 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006706/0.4054, allocations: 412.5 kB / 496.2 MB, free: 17.13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.055e-05/0.4055, allocations: 14.16 kB / 496.2 MB, free: 17.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.224e-05/0.4055, allocations: 9.078 kB / 496.2 MB, free: 17.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004078/0.4059, allocations: 213.5 kB / 496.4 MB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.406, allocations: 2.469 kB / 496.4 MB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.18e-05/0.406, allocations: 7 kB / 496.4 MB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002135/0.4062, allocations: 53.67 kB / 496.5 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.4063, allocations: 7.953 kB / 496.5 MB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.4063, allocations: 2.219 kB / 496.5 MB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.4063, allocations: 3.984 kB / 496.5 MB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.452e-05/0.4064, allocations: 21.97 kB / 496.5 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000388/0.4068, allocations: 281.2 kB / 496.8 MB, free: 16.55 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.407, allocations: 56.89 kB / 496.8 MB, free: 16.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.079e-05/0.407, allocations: 22.94 kB / 496.9 MB, free: 16.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.4071, allocations: 2.156 kB / 496.9 MB, free: 16.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001668/0.4072, allocations: 73.5 kB / 496.9 MB, free: 16.44 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.4073, allocations: 0 / 496.9 MB, free: 16.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000591/0.4079, allocations: 177.9 kB / 497.1 MB, free: 16.35 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.4079, allocations: 55.41 kB / 497.2 MB, free: 16.29 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.4081, allocations: 169.5 kB / 497.3 MB, free: 16.17 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.4081, allocations: 31.42 kB / 497.4 MB, free: 16.13 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.833e-05/0.4081, allocations: 98.2 kB / 497.5 MB, free: 16.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.148e-05/0.4082, allocations: 21.95 kB / 497.5 MB, free: 16.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.778e-05/0.4082, allocations: 26.88 kB / 497.5 MB, free: 16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.233e-05/0.4083, allocations: 326 kB / 497.8 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.908e-05/0.4084, allocations: 25.14 kB / 497.8 MB, free: 15.67 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.11e-05/0.4084, allocations: 38.48 kB / 497.9 MB, free: 15.64 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.4086, allocations: 57.88 kB / 497.9 MB, free: 15.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.4086, allocations: 1.469 kB / 497.9 MB, free: 15.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001762/0.4087, allocations: 100.4 kB / 498 MB, free: 15.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.4088, allocations: 5.938 kB / 498 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.4088, allocations: 3.938 kB / 498.1 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.4088, allocations: 2.203 kB / 498.1 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.4089, allocations: 19.53 kB / 498.1 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.4089, allocations: 5.344 kB / 498.1 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.663e-05/0.409, allocations: 6.578 kB / 498.1 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.409, allocations: 2.5 kB / 498.1 MB, free: 15.53 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 (10): * Single equations (assignments): 10 * 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.209e-05/0.4091, allocations: 128.2 kB / 498.2 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.237e-05/0.4091, allocations: 10.33 kB / 498.2 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.824e-05/0.4092, allocations: 12.97 kB / 498.2 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.4092, allocations: 1.438 kB / 498.2 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.758e-06/0.4092, allocations: 4 kB / 498.2 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.4092, allocations: 5.766 kB / 498.2 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004083/0.4096, allocations: 395.7 kB / 498.6 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.4096, allocations: 1.312 kB / 498.6 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.558e-05/0.4097, allocations: 13.38 kB / 498.6 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.4097, allocations: 0 / 498.6 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.4097, allocations: 7.391 kB / 498.7 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.4097, allocations: 0 / 498.7 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.4097, allocations: 2.312 kB / 498.7 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002173/0.4099, allocations: 203.4 kB / 498.9 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.808e-05/0.41, allocations: 85.61 kB / 498.9 MB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.147e-05/0.41, allocations: 6.812 kB / 498.9 MB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.043e-05/0.4101, allocations: 6.391 kB / 499 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.273e-05/0.4102, allocations: 9.516 kB / 499 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.4102, allocations: 3.922 kB / 499 MB, free: 14.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001074/0.4103, allocations: 132.9 kB / 499.1 MB, free: 14.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.41e-07/0.4103, allocations: 3.938 kB / 499.1 MB, free: 14.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002757/0.4106, allocations: 31.47 kB / 499.1 MB, free: 14.64 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001187/0.4118, allocations: 463.1 kB / 499.6 MB, free: 14.28 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002604/0.4121, allocations: 59.83 kB / 499.6 MB, free: 14.26 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.4121, allocations: 0 / 499.6 MB, free: 14.26 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.736e-05/0.4122, allocations: 28.03 kB / 499.7 MB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003975/0.4126, allocations: 28.48 kB / 499.7 MB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005961/0.4132, allocations: 215.3 kB / 499.9 MB, free: 14.08 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001527/0.4133, allocations: 0.7028 MB / 0.4889 GB, free: 13.38 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.139e-05/0.4134, allocations: 20.86 kB / 0.4889 GB, free: 13.37 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.306e-05/0.4135, allocations: 17.2 kB / 0.4889 GB, free: 13.36 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4135, allocations: 0 / 0.4889 GB, free: 13.36 MB / 382.1 MB Notification: Performance of Templates: time 0.005029/0.4185, allocations: 1.689 MB / 0.4906 GB, free: 13.17 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1)