Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01073/0.01073, allocations: 99.64 kB / 15.73 MB, free: 5.547 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.001404/0.001404, allocations: 193.5 kB / 16.67 MB, free: 5.492 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.632/1.632, allocations: 205.1 MB / 222.5 MB, free: 4.395 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.3992/0.3992, allocations: 39.95 MB / 309.8 MB, free: 9.637 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.002004/0.002004, allocations: 67.91 kB / 435.8 MB, free: 2.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3763/0.3783, allocations: 56.88 MB / 492.7 MB, free: 19.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.00371/0.3821, allocations: 1.651 MB / 494.4 MB, free: 18.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.3836, allocations: 0.7832 MB / 495.2 MB, free: 17.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.113e-05/0.3837, allocations: 1.125 kB / 495.2 MB, free: 17.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004496/0.3842, allocations: 57.95 kB / 495.2 MB, free: 17.85 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.0002805/0.3845, allocations: 50.84 kB / 495.3 MB, free: 17.83 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002733/0.3848, allocations: 82.61 kB / 495.3 MB, free: 17.78 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001927/0.385, allocations: 92.39 kB / 495.4 MB, free: 17.74 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.797e-05/0.3851, allocations: 12.94 kB / 495.4 MB, free: 17.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.3852, allocations: 41.53 kB / 495.5 MB, free: 17.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.62e-05/0.3853, allocations: 33.34 kB / 495.5 MB, free: 17.69 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.2e-05/0.3853, allocations: 2.906 kB / 495.5 MB, free: 17.69 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.511e-05/0.3854, allocations: 31.53 kB / 495.6 MB, free: 17.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.025e-05/0.3855, allocations: 22.2 kB / 495.6 MB, free: 17.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.661e-05/0.3856, allocations: 37.41 kB / 495.6 MB, free: 17.65 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002366/0.3858, allocations: 113.9 kB / 495.7 MB, free: 17.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3858, allocations: 3.938 kB / 495.7 MB, free: 17.6 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.546e-06/0.3858, allocations: 4 kB / 495.7 MB, free: 17.6 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.3858, allocations: 4.828 kB / 495.7 MB, free: 17.59 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.0006364/0.3865, allocations: 431.4 kB / 496.2 MB, free: 17.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.242e-05/0.3866, allocations: 13.94 kB / 496.2 MB, free: 17.17 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.929e-05/0.3866, allocations: 10.75 kB / 496.2 MB, free: 17.17 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004121/0.3871, allocations: 221.5 kB / 496.4 MB, free: 16.94 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.3871, allocations: 1.172 kB / 496.4 MB, free: 16.94 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.3871, allocations: 6.312 kB / 496.4 MB, free: 16.94 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.3873, allocations: 50.03 kB / 496.5 MB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.3873, allocations: 0.8906 kB / 496.5 MB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.3873, allocations: 1.438 kB / 496.5 MB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.3874, allocations: 0 / 496.5 MB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.454e-05/0.3874, allocations: 19.45 kB / 496.5 MB, free: 16.89 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000224/0.3877, allocations: 194.3 kB / 496.7 MB, free: 16.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.3879, allocations: 52.05 kB / 496.7 MB, free: 16.65 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.451e-05/0.3879, allocations: 24.05 kB / 496.7 MB, free: 16.63 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.388, allocations: 1.625 kB / 496.7 MB, free: 16.63 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001554/0.3881, allocations: 72.28 kB / 496.8 MB, free: 16.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.653e-06/0.3881, allocations: 0 / 496.8 MB, free: 16.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003119/0.3885, allocations: 97.05 kB / 496.9 MB, free: 16.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.3885, allocations: 56.66 kB / 497 MB, free: 16.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002912/0.3888, allocations: 258.2 kB / 497.2 MB, free: 16.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.3888, allocations: 27.33 kB / 497.2 MB, free: 16.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.288e-05/0.3889, allocations: 114.6 kB / 497.4 MB, free: 16.17 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.47e-05/0.3889, allocations: 16.03 kB / 497.4 MB, free: 16.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.942e-05/0.389, allocations: 19.2 kB / 497.4 MB, free: 16.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.948e-05/0.3891, allocations: 328.7 kB / 497.7 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.039e-05/0.3891, allocations: 18.12 kB / 497.7 MB, free: 15.81 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.572e-05/0.3892, allocations: 29.48 kB / 497.8 MB, free: 15.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.645e-05/0.3893, allocations: 46.88 kB / 497.8 MB, free: 15.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.3893, allocations: 0 / 497.8 MB, free: 15.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001831/0.3895, allocations: 90.16 kB / 497.9 MB, free: 15.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.3895, allocations: 5.5 kB / 497.9 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-06/0.3895, allocations: 0 / 497.9 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.3896, allocations: 2.109 kB / 497.9 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.568e-05/0.3896, allocations: 13.44 kB / 497.9 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.3897, allocations: 1.969 kB / 497.9 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.828e-05/0.3897, allocations: 3.469 kB / 497.9 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.874e-06/0.3897, allocations: 1.984 kB / 497.9 MB, free: 15.69 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 0.0001049/0.3898, allocations: 141.7 kB / 498.1 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.091e-05/0.3899, allocations: 13.03 kB / 498.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.717e-05/0.3899, allocations: 22.52 kB / 498.1 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.3899, allocations: 1.688 kB / 498.1 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.39, allocations: 0 / 498.1 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.39, allocations: 4.609 kB / 498.1 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.3901, allocations: 202.4 kB / 498.3 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.3901, allocations: 0 / 498.3 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.569e-05/0.3902, allocations: 8.312 kB / 498.3 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.3902, allocations: 4.969 kB / 498.3 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.3902, allocations: 1.953 kB / 498.3 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3902, allocations: 0 / 498.3 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.3902, allocations: 0.6094 kB / 498.3 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002226/0.3904, allocations: 118.7 kB / 498.4 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.077e-05/0.3905, allocations: 85.08 kB / 498.5 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.512e-05/0.3905, allocations: 1.219 kB / 498.5 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.823e-05/0.3906, allocations: 2.562 kB / 498.5 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.3906, allocations: 3.844 kB / 498.5 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.3907, allocations: 3.188 kB / 498.5 MB, free: 15.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002001/0.3909, allocations: 196.2 kB / 498.7 MB, free: 15.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.3909, allocations: 3.938 kB / 498.7 MB, free: 15.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002385/0.3911, allocations: 18.64 kB / 498.7 MB, free: 15.01 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.0009406/0.3921, allocations: 425 kB / 499.1 MB, free: 14.67 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000184/0.3923, allocations: 40.62 kB / 499.2 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3923, allocations: 1.219 kB / 499.2 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.988e-05/0.3923, allocations: 22.08 kB / 499.2 MB, free: 14.65 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.3926, allocations: 29.58 kB / 499.2 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006159/0.3933, allocations: 266.7 kB / 499.5 MB, free: 14.47 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/0.3936, allocations: 0.7156 MB / 0.4885 GB, free: 13.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.221e-05/0.3936, allocations: 11.55 kB / 0.4885 GB, free: 13.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.951e-05/0.3937, allocations: 14.39 kB / 0.4885 GB, free: 13.76 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3937, allocations: 0 / 0.4885 GB, free: 13.76 MB / 382.1 MB Notification: Performance of Templates: time 0.006678/0.4004, allocations: 1.522 MB / 0.49 GB, free: 13.58 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1)