Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006887/0.006887, allocations: 99.84 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.002503/0.002503, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.671/1.671, allocations: 205.1 MB / 222.5 MB, free: 4.359 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.3396/0.3396, allocations: 37.99 MB / 307.9 MB, free: 10.4 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.001532/0.001532, allocations: 71.89 kB / 433 MB, free: 5.352 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3185, allocations: 56.47 MB / 489.5 MB, free: 19.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.002696/0.3212, allocations: 1.673 MB / 491.2 MB, free: 18.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001311/0.3225, allocations: 0.8078 MB / 492 MB, free: 18.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.177e-05/0.3226, allocations: 4.812 kB / 492 MB, free: 18.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003575/0.323, allocations: 42.92 kB / 492 MB, free: 18.23 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.0002399/0.3233, allocations: 53.97 kB / 492.1 MB, free: 18.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000254/0.3235, allocations: 83.95 kB / 492.2 MB, free: 18.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001883/0.3237, allocations: 96.09 kB / 492.3 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.3239, allocations: 11.86 kB / 492.3 MB, free: 18.1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.324, allocations: 41.69 kB / 492.3 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.218e-05/0.324, allocations: 33.61 kB / 492.4 MB, free: 18.06 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.3241, allocations: 4.125 kB / 492.4 MB, free: 18.06 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001244/0.3242, allocations: 39.16 kB / 492.4 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.92e-05/0.3243, allocations: 31.12 kB / 492.4 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.831e-05/0.3243, allocations: 32.83 kB / 492.5 MB, free: 18.01 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002267/0.3246, allocations: 117.2 kB / 492.6 MB, free: 17.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3246, allocations: 0 / 492.6 MB, free: 17.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3246, allocations: 1.094 kB / 492.6 MB, free: 17.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.3246, allocations: 0 / 492.6 MB, free: 17.96 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.0005509/0.3252, allocations: 414.2 kB / 493 MB, free: 17.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.3252, allocations: 14.03 kB / 493 MB, free: 17.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.075e-05/0.3253, allocations: 14.16 kB / 493 MB, free: 17.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003129/0.3256, allocations: 211.8 kB / 493.2 MB, free: 17.33 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.3256, allocations: 9.719 kB / 493.2 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.03e-05/0.3257, allocations: 7.219 kB / 493.2 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.3258, allocations: 54.03 kB / 493.3 MB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.3258, allocations: 0 / 493.3 MB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.3259, allocations: 1.188 kB / 493.3 MB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.3259, allocations: 0 / 493.3 MB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.108e-05/0.326, allocations: 18.89 kB / 493.3 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003718/0.3263, allocations: 287.5 kB / 493.6 MB, free: 16.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001779/0.3265, allocations: 64.25 kB / 493.6 MB, free: 16.94 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.655e-05/0.3266, allocations: 20.3 kB / 493.7 MB, free: 16.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.759e-05/0.3266, allocations: 1.797 kB / 493.7 MB, free: 16.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001599/0.3268, allocations: 70.03 kB / 493.7 MB, free: 16.87 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.3268, allocations: 4 kB / 493.7 MB, free: 16.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000565/0.3274, allocations: 168 kB / 493.9 MB, free: 16.79 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/0.3274, allocations: 56.53 kB / 494 MB, free: 16.72 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.3276, allocations: 200.1 kB / 494.2 MB, free: 16.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.3276, allocations: 25.7 kB / 494.2 MB, free: 16.56 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.748e-05/0.3277, allocations: 104.5 kB / 494.3 MB, free: 16.46 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/0.3277, allocations: 25.56 kB / 494.3 MB, free: 16.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.573e-05/0.3278, allocations: 26.39 kB / 494.3 MB, free: 16.42 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.869e-05/0.3278, allocations: 331.3 kB / 494.7 MB, free: 16.1 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.561e-05/0.3279, allocations: 20.86 kB / 494.7 MB, free: 16.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.117e-05/0.328, allocations: 35.22 kB / 494.7 MB, free: 16.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/0.3281, allocations: 61.14 kB / 494.8 MB, free: 16.03 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.3281, allocations: 1.562 kB / 494.8 MB, free: 16.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001705/0.3283, allocations: 101.9 kB / 494.9 MB, free: 15.97 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.3283, allocations: 5.438 kB / 494.9 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.3283, allocations: 0 / 494.9 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.3283, allocations: 0.9688 kB / 494.9 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.188e-05/0.3284, allocations: 19.97 kB / 494.9 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.3284, allocations: 5.031 kB / 494.9 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.449e-05/0.3285, allocations: 11.47 kB / 494.9 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.3285, allocations: 2.281 kB / 494.9 MB, free: 15.95 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.207e-05/0.3286, allocations: 127.4 kB / 495 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.263e-05/0.3286, allocations: 21.77 kB / 495.1 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.798e-05/0.3287, allocations: 19.38 kB / 495.1 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3287, allocations: 2.156 kB / 495.1 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3287, allocations: 0 / 495.1 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3287, allocations: 4.453 kB / 495.1 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004056/0.3291, allocations: 387.6 kB / 495.5 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3291, allocations: 1.094 kB / 495.5 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.595e-05/0.3291, allocations: 12.75 kB / 495.5 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.3292, allocations: 5.312 kB / 495.5 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.3292, allocations: 6 kB / 495.5 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3292, allocations: 1.344 kB / 495.5 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3292, allocations: 1.281 kB / 495.5 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002202/0.3294, allocations: 200.6 kB / 495.7 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.587e-05/0.3295, allocations: 89.22 kB / 495.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/0.3295, allocations: 5.703 kB / 495.8 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.741e-05/0.3296, allocations: 7.438 kB / 495.8 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/0.3296, allocations: 6.438 kB / 495.8 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.128e-05/0.3297, allocations: 7.953 kB / 495.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001326/0.3298, allocations: 155.4 kB / 496 MB, free: 15.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3298, allocations: 0 / 496 MB, free: 15.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002727/0.3301, allocations: 21.77 kB / 496 MB, free: 15.06 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.00108/0.3312, allocations: 479.1 kB / 496.4 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001804/0.3314, allocations: 56.03 kB / 496.5 MB, free: 14.67 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3314, allocations: 0 / 496.5 MB, free: 14.67 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.975e-05/0.3314, allocations: 32.94 kB / 496.5 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.3318, allocations: 42.73 kB / 496.6 MB, free: 14.63 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004268/0.3322, allocations: 233.3 kB / 496.8 MB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000134/0.3324, allocations: 0.7021 MB / 497.5 MB, free: 13.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.689e-05/0.3324, allocations: 18.17 kB / 497.5 MB, free: 13.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.697e-05/0.3325, allocations: 20 kB / 497.5 MB, free: 13.75 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3325, allocations: 0 / 497.5 MB, free: 13.75 MB / 382.1 MB Notification: Performance of Templates: time 0.005333/0.3378, allocations: 1.704 MB / 499.2 MB, free: 13.56 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1)