Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01037/0.01037, allocations: 99.97 kB / 15.73 MB, free: 6.047 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.002627/0.002627, allocations: 185.3 kB / 16.67 MB, free: 5.977 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.642/1.642, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.3354/0.3354, allocations: 39.95 MB / 309.8 MB, free: 9.391 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.001881/0.001881, allocations: 67.91 kB / 435.8 MB, free: 2.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3892/0.3911, allocations: 56.88 MB / 492.7 MB, free: 19.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.00334/0.3945, allocations: 1.696 MB / 494.4 MB, free: 18.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001268/0.3958, allocations: 0.7994 MB / 495.2 MB, free: 17.76 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.656e-05/0.3959, allocations: 1.188 kB / 495.2 MB, free: 17.76 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003168/0.3962, allocations: 49.53 kB / 495.3 MB, free: 17.73 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.0002102/0.3965, allocations: 52.73 kB / 495.3 MB, free: 17.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002624/0.3967, allocations: 81.64 kB / 495.4 MB, free: 17.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.3969, allocations: 94.78 kB / 495.5 MB, free: 17.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.397, allocations: 16.39 kB / 495.5 MB, free: 17.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.588e-05/0.3971, allocations: 41.61 kB / 495.5 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.013e-05/0.3972, allocations: 37.41 kB / 495.6 MB, free: 17.56 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.3972, allocations: 4.281 kB / 495.6 MB, free: 17.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.655e-05/0.3973, allocations: 37.48 kB / 495.6 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.576e-05/0.3974, allocations: 26.8 kB / 495.6 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.516e-05/0.3975, allocations: 37.2 kB / 495.7 MB, free: 17.51 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001925/0.3977, allocations: 111.7 kB / 495.8 MB, free: 17.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3977, allocations: 0 / 495.8 MB, free: 17.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3977, allocations: 1.156 kB / 495.8 MB, free: 17.47 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.3977, allocations: 0 / 495.8 MB, free: 17.47 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.0004689/0.3982, allocations: 421.1 kB / 496.2 MB, free: 17.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.3982, allocations: 13.17 kB / 496.2 MB, free: 17.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.273e-05/0.3983, allocations: 10.45 kB / 496.2 MB, free: 17.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002361/0.3985, allocations: 198 kB / 496.4 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.3985, allocations: 1.594 kB / 496.4 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.3985, allocations: 8.031 kB / 496.4 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.3987, allocations: 52.75 kB / 496.5 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.3987, allocations: 1.5 kB / 496.5 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.3987, allocations: 0.5625 kB / 496.5 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.3988, allocations: 9.375 kB / 496.5 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.466e-05/0.3988, allocations: 25.02 kB / 496.5 MB, free: 16.78 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003639/0.3992, allocations: 290.3 kB / 496.8 MB, free: 16.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/0.3994, allocations: 53.41 kB / 496.9 MB, free: 16.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.161e-05/0.3995, allocations: 19.27 kB / 496.9 MB, free: 16.44 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.3995, allocations: 5.797 kB / 496.9 MB, free: 16.44 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001746/0.3997, allocations: 73.27 kB / 497 MB, free: 16.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.653e-06/0.3997, allocations: 0 / 497 MB, free: 16.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005853/0.4003, allocations: 178.2 kB / 497.1 MB, free: 16.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.4004, allocations: 51.41 kB / 497.2 MB, free: 16.22 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002215/0.4006, allocations: 188.4 kB / 497.4 MB, free: 16.1 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.4006, allocations: 32.25 kB / 497.4 MB, free: 16.06 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.192e-05/0.4007, allocations: 98.33 kB / 497.5 MB, free: 15.97 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.019e-05/0.4007, allocations: 26.25 kB / 497.5 MB, free: 15.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.834e-05/0.4007, allocations: 23.09 kB / 497.5 MB, free: 15.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.784e-05/0.4008, allocations: 329.1 kB / 497.9 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.695e-05/0.4009, allocations: 18.17 kB / 497.9 MB, free: 15.6 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.096e-05/0.4009, allocations: 35.31 kB / 497.9 MB, free: 15.58 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.4011, allocations: 65.67 kB / 498 MB, free: 15.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.4011, allocations: 0 / 498 MB, free: 15.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000173/0.4012, allocations: 96.94 kB / 498.1 MB, free: 15.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.4013, allocations: 10.94 kB / 498.1 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.4013, allocations: 0 / 498.1 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/0.4013, allocations: 5.344 kB / 498.1 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.571e-05/0.4014, allocations: 19.8 kB / 498.1 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.4014, allocations: 1.25 kB / 498.1 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.483e-05/0.4015, allocations: 14.11 kB / 498.1 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.4015, allocations: 2.844 kB / 498.1 MB, free: 15.46 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.386e-05/0.4016, allocations: 126.9 kB / 498.2 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.289e-05/0.4016, allocations: 13.98 kB / 498.3 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.354e-05/0.4017, allocations: 18.02 kB / 498.3 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.4017, allocations: 1.219 kB / 498.3 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.4017, allocations: 0 / 498.3 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.4017, allocations: 3.938 kB / 498.3 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000403/0.4021, allocations: 394.7 kB / 498.7 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4021, allocations: 3.938 kB / 498.7 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.329e-05/0.4021, allocations: 13.05 kB / 498.7 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.4022, allocations: 1.281 kB / 498.7 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.4022, allocations: 6.391 kB / 498.7 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.4022, allocations: 1.312 kB / 498.7 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.4022, allocations: 2.172 kB / 498.7 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002205/0.4024, allocations: 199.9 kB / 498.9 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.075e-05/0.4025, allocations: 84.14 kB / 499 MB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.689e-05/0.4025, allocations: 8.094 kB / 499 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.772e-05/0.4026, allocations: 3.031 kB / 499 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.165e-05/0.4026, allocations: 4.281 kB / 499 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.4026, allocations: 9.219 kB / 499 MB, free: 14.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001177/0.4028, allocations: 146.5 kB / 499.1 MB, free: 14.58 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4028, allocations: 4 kB / 499.1 MB, free: 14.58 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002736/0.403, allocations: 22.22 kB / 499.2 MB, free: 14.57 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.001039/0.4041, allocations: 469.4 kB / 499.6 MB, free: 14.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000194/0.4043, allocations: 64.86 kB / 499.7 MB, free: 14.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4043, allocations: 0 / 499.7 MB, free: 14.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.21e-05/0.4044, allocations: 24.98 kB / 499.7 MB, free: 14.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/0.4048, allocations: 41.75 kB / 499.7 MB, free: 14.15 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004516/0.4052, allocations: 224.1 kB / 500 MB, free: 13.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001493/0.4054, allocations: 0.7129 MB / 0.4889 GB, free: 13.28 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.353e-05/0.4054, allocations: 15.75 kB / 0.489 GB, free: 13.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.696e-05/0.4055, allocations: 17.55 kB / 0.489 GB, free: 13.27 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4055, allocations: 0 / 0.489 GB, free: 13.27 MB / 382.1 MB Notification: Performance of Templates: time 0.005174/0.4107, allocations: 1.714 MB / 0.4907 GB, free: 13.07 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1)