Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007199/0.007198, allocations: 104.5 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.001365/0.001365, allocations: 192.1 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.591/1.591, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.3327/0.3327, allocations: 39.95 MB / 309.8 MB, free: 9.289 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.00156/0.00156, allocations: 67.91 kB / 435.8 MB, free: 2.422 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.3163, allocations: 56.88 MB / 492.7 MB, free: 19.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003728/0.3201, allocations: 1.687 MB / 494.4 MB, free: 18.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001522/0.3216, allocations: 0.805 MB / 495.2 MB, free: 18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.729e-05/0.3217, allocations: 1.156 kB / 495.2 MB, free: 18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004414/0.3222, allocations: 88.58 kB / 495.3 MB, free: 17.98 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.0002997/0.3225, allocations: 76.39 kB / 495.4 MB, free: 17.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000279/0.3228, allocations: 92.98 kB / 495.5 MB, free: 17.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000202/0.323, allocations: 107.7 kB / 495.6 MB, free: 17.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.3231, allocations: 14.98 kB / 495.6 MB, free: 17.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.3232, allocations: 52.72 kB / 495.6 MB, free: 17.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001307/0.3234, allocations: 57.88 kB / 495.7 MB, free: 17.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.3234, allocations: 4.219 kB / 495.7 MB, free: 17.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.3235, allocations: 46.28 kB / 495.7 MB, free: 17.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.254e-05/0.3236, allocations: 25.45 kB / 495.8 MB, free: 17.78 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.205e-05/0.3236, allocations: 41 kB / 495.8 MB, free: 17.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002065/0.3239, allocations: 120.4 kB / 495.9 MB, free: 17.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3239, allocations: 0 / 495.9 MB, free: 17.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.544e-06/0.3239, allocations: 0.5156 kB / 495.9 MB, free: 17.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.3239, allocations: 0 / 495.9 MB, free: 17.7 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.0005312/0.3244, allocations: 430.3 kB / 496.3 MB, free: 17.28 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.3245, allocations: 13.7 kB / 496.4 MB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.165e-05/0.3245, allocations: 9.438 kB / 496.4 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002288/0.3248, allocations: 220.2 kB / 496.6 MB, free: 17.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.3248, allocations: 6.688 kB / 496.6 MB, free: 17.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.305e-05/0.3248, allocations: 10.61 kB / 496.6 MB, free: 17.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.325, allocations: 50.59 kB / 496.6 MB, free: 17 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.325, allocations: 8 kB / 496.7 MB, free: 16.99 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.325, allocations: 1.562 kB / 496.7 MB, free: 16.99 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.325, allocations: 0 / 496.7 MB, free: 16.99 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.353e-05/0.3251, allocations: 18.11 kB / 496.7 MB, free: 16.99 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003286/0.3254, allocations: 293.5 kB / 497 MB, free: 16.7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001619/0.3256, allocations: 61.48 kB / 497 MB, free: 16.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.278e-05/0.3257, allocations: 20.34 kB / 497 MB, free: 16.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.3257, allocations: 0 / 497 MB, free: 16.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001564/0.3259, allocations: 74.89 kB / 497.1 MB, free: 16.58 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.3259, allocations: 0 / 497.1 MB, free: 16.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005933/0.3265, allocations: 173.5 kB / 497.3 MB, free: 16.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.3265, allocations: 57.09 kB / 497.3 MB, free: 16.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002306/0.3268, allocations: 218.3 kB / 497.6 MB, free: 16.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.3268, allocations: 31.73 kB / 497.6 MB, free: 16.26 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.933e-05/0.3269, allocations: 110 kB / 497.7 MB, free: 16.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.48e-05/0.3269, allocations: 25.17 kB / 497.7 MB, free: 16.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-05/0.3269, allocations: 25.53 kB / 497.7 MB, free: 16.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.884e-05/0.327, allocations: 332.4 kB / 498.1 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.94e-05/0.3271, allocations: 17.83 kB / 498.1 MB, free: 15.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.101e-05/0.3272, allocations: 35.17 kB / 498.1 MB, free: 15.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.3273, allocations: 61.62 kB / 498.2 MB, free: 15.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3273, allocations: 0 / 498.2 MB, free: 15.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000196/0.3275, allocations: 105.5 kB / 498.3 MB, free: 15.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/0.3275, allocations: 5.312 kB / 498.3 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.3276, allocations: 1.281 kB / 498.3 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-05/0.3276, allocations: 2.484 kB / 498.3 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.3277, allocations: 22.95 kB / 498.3 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.3277, allocations: 0.5625 kB / 498.3 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.21e-05/0.3278, allocations: 11.22 kB / 498.3 MB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.3278, allocations: 2.562 kB / 498.3 MB, free: 15.65 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.855e-05/0.3279, allocations: 133.3 kB / 498.5 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.3279, allocations: 11.3 kB / 498.5 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.191e-05/0.328, allocations: 16.91 kB / 498.5 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.328, allocations: 192 / 498.5 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.328, allocations: 1.469 kB / 498.5 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.328, allocations: 8.625 kB / 498.5 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004348/0.3285, allocations: 398.1 kB / 498.9 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3285, allocations: 0 / 498.9 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.593e-05/0.3285, allocations: 13.39 kB / 498.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.3285, allocations: 5.156 kB / 498.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.3285, allocations: 5.781 kB / 498.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.3286, allocations: 5.891 kB / 498.9 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3286, allocations: 1.312 kB / 498.9 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002166/0.3288, allocations: 200.3 kB / 499.1 MB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.848e-05/0.3288, allocations: 89.72 kB / 499.2 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.955e-05/0.3289, allocations: 14.09 kB / 499.2 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.266e-05/0.3289, allocations: 3.734 kB / 499.2 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.659e-05/0.329, allocations: 5.359 kB / 499.2 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.329, allocations: 3.859 kB / 499.2 MB, free: 14.86 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001444/0.3292, allocations: 171.1 kB / 499.4 MB, free: 14.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3292, allocations: 0 / 499.4 MB, free: 14.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002758/0.3295, allocations: 26.62 kB / 499.4 MB, free: 14.75 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.001065/0.3305, allocations: 468.2 kB / 499.9 MB, free: 14.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002139/0.3308, allocations: 61.31 kB / 499.9 MB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3308, allocations: 0 / 499.9 MB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.651e-05/0.3308, allocations: 32.44 kB / 500 MB, free: 14.35 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003737/0.3312, allocations: 31.17 kB / 500 MB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004929/0.3317, allocations: 260.3 kB / 0.4885 GB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001679/0.3319, allocations: 0.7063 MB / 0.4892 GB, free: 13.46 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.671e-05/0.332, allocations: 17.19 kB / 0.4892 GB, free: 13.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.095e-05/0.332, allocations: 20.72 kB / 0.4893 GB, free: 13.45 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.332, allocations: 0 / 0.4893 GB, free: 13.45 MB / 382.1 MB Notification: Performance of Templates: time 0.00473/0.3368, allocations: 1.709 MB / 0.4909 GB, free: 13.25 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1)