Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007015/0.007015, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001323/0.001323, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.75/1.75, allocations: 205.1 MB / 222.6 MB, free: 4.508 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.3315/0.3315, 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.001612/0.001612, allocations: 71.91 kB / 433.1 MB, free: 5.328 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3124, allocations: 56.46 MB / 489.5 MB, free: 20.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.00315/0.3157, allocations: 1.669 MB / 491.2 MB, free: 18.9 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.3169, allocations: 0.8092 MB / 492 MB, free: 18.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.09e-05/0.3169, allocations: 5.094 kB / 492 MB, free: 18.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003017/0.3173, allocations: 42.34 kB / 492 MB, free: 18.32 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.0002029/0.3175, allocations: 54.31 kB / 492.1 MB, free: 18.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002229/0.3177, allocations: 80.16 kB / 492.2 MB, free: 18.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000164/0.3179, allocations: 95.66 kB / 492.3 MB, free: 18.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.996e-05/0.318, allocations: 19.86 kB / 492.3 MB, free: 18.19 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.376e-05/0.3181, allocations: 46.11 kB / 492.3 MB, free: 18.17 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.837e-05/0.3181, allocations: 25.88 kB / 492.4 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.3182, allocations: 4.156 kB / 492.4 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.036e-05/0.3183, allocations: 46.45 kB / 492.4 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.077e-05/0.3183, allocations: 22.33 kB / 492.4 MB, free: 18.13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.501e-05/0.3184, allocations: 34.05 kB / 492.5 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.3186, allocations: 112.4 kB / 492.6 MB, free: 18.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3186, allocations: 1.281 kB / 492.6 MB, free: 18.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3186, allocations: 0 / 492.6 MB, free: 18.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.371e-06/0.3186, allocations: 0 / 492.6 MB, free: 18.06 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.0004921/0.3191, allocations: 418.5 kB / 493 MB, free: 17.65 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.3192, allocations: 13.8 kB / 493 MB, free: 17.65 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.276e-05/0.3192, allocations: 13.94 kB / 493 MB, free: 17.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002401/0.3194, allocations: 219.7 kB / 493.2 MB, free: 17.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.3195, allocations: 2.031 kB / 493.2 MB, free: 17.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.246e-05/0.3195, allocations: 6.406 kB / 493.2 MB, free: 17.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.3196, allocations: 54.02 kB / 493.3 MB, free: 17.37 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.3197, allocations: 1.656 kB / 493.3 MB, free: 17.37 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.3197, allocations: 4 kB / 493.3 MB, free: 17.37 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.3197, allocations: 0.9688 kB / 493.3 MB, free: 17.37 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.827e-05/0.3198, allocations: 18.38 kB / 493.3 MB, free: 17.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003058/0.3201, allocations: 284 kB / 493.6 MB, free: 17.08 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000159/0.3203, allocations: 59.8 kB / 493.6 MB, free: 17.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.046e-05/0.3203, allocations: 28.59 kB / 493.7 MB, free: 17.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.3203, allocations: 1.219 kB / 493.7 MB, free: 17.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001328/0.3205, allocations: 69.47 kB / 493.7 MB, free: 16.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.783e-06/0.3205, allocations: 3.984 kB / 493.7 MB, free: 16.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005211/0.321, allocations: 176.8 kB / 493.9 MB, free: 16.87 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.3211, allocations: 53.41 kB / 494 MB, free: 16.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.3213, allocations: 197.8 kB / 494.2 MB, free: 16.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.3213, allocations: 28.42 kB / 494.2 MB, free: 16.65 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.868e-05/0.3213, allocations: 104 kB / 494.3 MB, free: 16.55 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.3214, allocations: 24.44 kB / 494.3 MB, free: 16.53 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.758e-05/0.3214, allocations: 27.03 kB / 494.3 MB, free: 16.51 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.074e-05/0.3215, allocations: 330.2 kB / 494.7 MB, free: 16.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.795e-05/0.3215, allocations: 17.55 kB / 494.7 MB, free: 16.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.815e-05/0.3216, allocations: 39.06 kB / 494.7 MB, free: 16.15 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/0.3217, allocations: 58.47 kB / 494.8 MB, free: 16.12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3217, allocations: 0 / 494.8 MB, free: 16.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001711/0.3219, allocations: 97.38 kB / 494.9 MB, free: 16.06 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.3219, allocations: 5.375 kB / 494.9 MB, free: 16.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.3219, allocations: 2.469 kB / 494.9 MB, free: 16.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.3219, allocations: 1.062 kB / 494.9 MB, free: 16.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.649e-05/0.322, allocations: 18.58 kB / 494.9 MB, free: 16.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.322, allocations: 13.09 kB / 494.9 MB, free: 16.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.476e-05/0.3221, allocations: 7.141 kB / 494.9 MB, free: 16.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.3221, allocations: 3.469 kB / 494.9 MB, free: 16.04 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 7.1e-05/0.3222, allocations: 129.5 kB / 495 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.101e-05/0.3222, allocations: 14.56 kB / 495.1 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.918e-05/0.3223, allocations: 15.5 kB / 495.1 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.3223, allocations: 1.094 kB / 495.1 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3223, allocations: 1.062 kB / 495.1 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.3223, allocations: 5.109 kB / 495.1 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003537/0.3226, allocations: 398.6 kB / 495.5 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.3227, allocations: 1.75 kB / 495.5 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.156e-05/0.3227, allocations: 7.984 kB / 495.5 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3227, allocations: 1.031 kB / 495.5 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.3227, allocations: 7.031 kB / 495.5 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.3227, allocations: 1.281 kB / 495.5 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3227, allocations: 0.7969 kB / 495.5 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001952/0.3229, allocations: 213.3 kB / 495.7 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.521e-05/0.323, allocations: 88.91 kB / 495.8 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/0.323, allocations: 5.859 kB / 495.8 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.719e-05/0.3231, allocations: 2.984 kB / 495.8 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.768e-05/0.3231, allocations: 9.406 kB / 495.8 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.3231, allocations: 4.578 kB / 495.8 MB, free: 15.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001112/0.3233, allocations: 159.7 kB / 496 MB, free: 15.15 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3233, allocations: 0 / 496 MB, free: 15.15 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002525/0.3235, allocations: 17.55 kB / 496 MB, free: 15.15 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.0009467/0.3245, allocations: 477.5 kB / 496.4 MB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000184/0.3247, allocations: 59.89 kB / 496.5 MB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.3247, allocations: 0 / 496.5 MB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.251e-05/0.3248, allocations: 29.25 kB / 496.5 MB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.3251, allocations: 33.95 kB / 496.6 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004357/0.3255, allocations: 230.1 kB / 496.8 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001409/0.3257, allocations: 0.7064 MB / 497.5 MB, free: 13.87 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.099e-05/0.3258, allocations: 21.31 kB / 497.5 MB, free: 13.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.673e-05/0.3258, allocations: 20.59 kB / 497.5 MB, free: 13.85 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3258, allocations: 0 / 497.5 MB, free: 13.85 MB / 382.1 MB Notification: Performance of Templates: time 0.005018/0.3308, allocations: 1.703 MB / 499.2 MB, free: 13.66 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1)