Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01211/0.01211, allocations: 101.2 kB / 15.73 MB, free: 6.043 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.002741/0.002741, allocations: 197.4 kB / 16.67 MB, free: 5.961 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.726/1.726, allocations: 205.1 MB / 222.6 MB, free: 4.516 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.3382/0.3382, allocations: 37.99 MB / 307.9 MB, free: 10.15 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.001544/0.001544, allocations: 75.84 kB / 433.1 MB, free: 5.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3168, allocations: 56.46 MB / 489.5 MB, free: 19.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002864/0.3197, allocations: 1.664 MB / 491.2 MB, free: 18.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.3209, allocations: 0.8137 MB / 492 MB, free: 18.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.643e-05/0.321, allocations: 1.094 kB / 492 MB, free: 18.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003186/0.3213, allocations: 48.61 kB / 492 MB, free: 18.21 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.0002262/0.3215, allocations: 57.92 kB / 492.1 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000233/0.3218, allocations: 89.22 kB / 492.2 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001745/0.322, allocations: 93.8 kB / 492.3 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.3221, allocations: 16.2 kB / 492.3 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.382e-05/0.3222, allocations: 42.92 kB / 492.3 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.77e-05/0.3223, allocations: 25.81 kB / 492.4 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.3223, allocations: 3.969 kB / 492.4 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.3224, allocations: 45.14 kB / 492.4 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.711e-05/0.3225, allocations: 32.88 kB / 492.4 MB, free: 18.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.666e-05/0.3225, allocations: 37.58 kB / 492.5 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002389/0.3228, allocations: 137.8 kB / 492.6 MB, free: 17.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3228, allocations: 0 / 492.6 MB, free: 17.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3228, allocations: 0 / 492.6 MB, free: 17.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.358e-06/0.3228, allocations: 0 / 492.6 MB, free: 17.93 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.0005081/0.3233, allocations: 434.5 kB / 493 MB, free: 17.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.3234, allocations: 18.75 kB / 493.1 MB, free: 17.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.238e-05/0.3234, allocations: 14.19 kB / 493.1 MB, free: 17.49 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/0.3237, allocations: 230.7 kB / 493.3 MB, free: 17.26 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.3237, allocations: 2.438 kB / 493.3 MB, free: 17.26 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.3237, allocations: 6.375 kB / 493.3 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.3239, allocations: 57.84 kB / 493.4 MB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.3239, allocations: 0 / 493.4 MB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.3239, allocations: 1.812 kB / 493.4 MB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.3239, allocations: 5.031 kB / 493.4 MB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.972e-05/0.324, allocations: 17.88 kB / 493.4 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003448/0.3244, allocations: 301 kB / 493.7 MB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/0.3245, allocations: 61.36 kB / 493.7 MB, free: 16.87 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.807e-05/0.3246, allocations: 18.62 kB / 493.8 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/0.3247, allocations: 6.031 kB / 493.8 MB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001611/0.3248, allocations: 69.55 kB / 493.8 MB, free: 16.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.3248, allocations: 0.8438 kB / 493.8 MB, free: 16.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006377/0.3255, allocations: 178.9 kB / 494 MB, free: 16.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.3255, allocations: 52.47 kB / 494.1 MB, free: 16.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003152/0.3258, allocations: 258 kB / 494.3 MB, free: 16.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.3259, allocations: 32.19 kB / 494.3 MB, free: 16.46 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.536e-05/0.326, allocations: 114.9 kB / 494.4 MB, free: 16.36 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.748e-05/0.326, allocations: 22.53 kB / 494.5 MB, free: 16.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.998e-05/0.3261, allocations: 25.72 kB / 494.5 MB, free: 16.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.187e-05/0.3262, allocations: 331.7 kB / 494.8 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.647e-05/0.3262, allocations: 18.14 kB / 494.8 MB, free: 15.99 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.49e-05/0.3263, allocations: 39.28 kB / 494.9 MB, free: 15.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.3265, allocations: 57.77 kB / 494.9 MB, free: 15.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.3265, allocations: 4 kB / 494.9 MB, free: 15.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002178/0.3267, allocations: 111.6 kB / 495 MB, free: 15.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.3267, allocations: 5.781 kB / 495.1 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3267, allocations: 0 / 495.1 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.3268, allocations: 1.5 kB / 495.1 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.3269, allocations: 19.22 kB / 495.1 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.3269, allocations: 2.484 kB / 495.1 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.943e-05/0.327, allocations: 6.328 kB / 495.1 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.327, allocations: 3 kB / 495.1 MB, free: 15.85 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 0.0001166/0.3271, allocations: 141.3 kB / 495.2 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.066e-05/0.3271, allocations: 15.83 kB / 495.2 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.437e-05/0.3272, allocations: 25.27 kB / 495.3 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.3272, allocations: 1.094 kB / 495.3 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.3272, allocations: 0.6094 kB / 495.3 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.3272, allocations: 5.953 kB / 495.3 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004881/0.3277, allocations: 400.5 kB / 495.7 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.3277, allocations: 2.406 kB / 495.7 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.797e-05/0.3278, allocations: 12.72 kB / 495.7 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.3278, allocations: 4.656 kB / 495.7 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.3278, allocations: 6.516 kB / 495.7 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3278, allocations: 1.594 kB / 495.7 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3278, allocations: 0 / 495.7 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002388/0.3281, allocations: 206.8 kB / 495.9 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.63e-05/0.3281, allocations: 93.05 kB / 496 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.951e-05/0.3282, allocations: 6.703 kB / 496 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.635e-05/0.3282, allocations: 7.141 kB / 496 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.308e-05/0.3283, allocations: 5.812 kB / 496 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/0.3283, allocations: 4 kB / 496 MB, free: 15.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002086/0.3285, allocations: 196 kB / 496.2 MB, free: 14.94 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3285, allocations: 0 / 496.2 MB, free: 14.94 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003054/0.3289, allocations: 22.92 kB / 496.2 MB, free: 14.93 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.001094/0.33, allocations: 476.9 kB / 496.7 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001972/0.3302, allocations: 60.62 kB / 496.7 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3302, allocations: 0 / 496.7 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.262e-05/0.3303, allocations: 28.75 kB / 496.8 MB, free: 14.53 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.3306, allocations: 41.98 kB / 496.8 MB, free: 14.51 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000475/0.3311, allocations: 276.4 kB / 497.1 MB, free: 14.33 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001543/0.3313, allocations: 0.7171 MB / 497.8 MB, free: 13.63 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.208e-05/0.3313, allocations: 19.88 kB / 497.8 MB, free: 13.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.77e-05/0.3314, allocations: 16.97 kB / 497.8 MB, free: 13.61 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3314, allocations: 0 / 497.8 MB, free: 13.61 MB / 382.1 MB Notification: Performance of Templates: time 0.0056/0.337, allocations: 1.763 MB / 499.6 MB, free: 13.4 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1)