Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008076/0.008076, allocations: 100.8 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.001593/0.001593, allocations: 186.5 kB / 16.67 MB, free: 5.977 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.72/1.72, allocations: 205.1 MB / 222.6 MB, free: 4.395 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.3195/0.3195, allocations: 37.99 MB / 307.9 MB, free: 10.34 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.00172/0.001721, allocations: 71.91 kB / 433.1 MB, free: 5.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3189, allocations: 56.45 MB / 489.5 MB, free: 19.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003667/0.3226, allocations: 1.675 MB / 491.2 MB, free: 18.76 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001597/0.3243, allocations: 0.8122 MB / 492 MB, free: 18.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.3244, allocations: 1.531 kB / 492 MB, free: 18.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004496/0.3249, allocations: 104.5 kB / 492.1 MB, free: 18.18 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.000428/0.3254, allocations: 87.42 kB / 492.2 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004185/0.3258, allocations: 85 kB / 492.3 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003006/0.3261, allocations: 112.5 kB / 492.4 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.3262, allocations: 12.12 kB / 492.4 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001731/0.3264, allocations: 54.39 kB / 492.4 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.3266, allocations: 58.88 kB / 492.5 MB, free: 18.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.765e-05/0.3266, allocations: 3.438 kB / 492.5 MB, free: 18.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000161/0.3268, allocations: 49.39 kB / 492.6 MB, free: 17.99 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.427e-05/0.3269, allocations: 22.91 kB / 492.6 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.364e-05/0.327, allocations: 41.14 kB / 492.6 MB, free: 17.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003299/0.3273, allocations: 123.7 kB / 492.7 MB, free: 17.9 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.3273, allocations: 3.938 kB / 492.7 MB, free: 17.9 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.3273, allocations: 0 / 492.7 MB, free: 17.9 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.3273, allocations: 1.062 kB / 492.7 MB, free: 17.9 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.0007159/0.3281, allocations: 427 kB / 493.2 MB, free: 17.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.3281, allocations: 13.05 kB / 493.2 MB, free: 17.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.195e-05/0.3282, allocations: 19.22 kB / 493.2 MB, free: 17.47 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003524/0.3286, allocations: 222.1 kB / 493.4 MB, free: 17.24 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.3286, allocations: 2.266 kB / 493.4 MB, free: 17.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.818e-05/0.3286, allocations: 6.562 kB / 493.4 MB, free: 17.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.3288, allocations: 58.02 kB / 493.5 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.3288, allocations: 0 / 493.5 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.3288, allocations: 1.703 kB / 493.5 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.3289, allocations: 1.156 kB / 493.5 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.42e-05/0.329, allocations: 17.47 kB / 493.5 MB, free: 17.19 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000421/0.3294, allocations: 299.3 kB / 493.8 MB, free: 16.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/0.3296, allocations: 60.62 kB / 493.8 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.124e-05/0.3297, allocations: 19.92 kB / 493.9 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.943e-05/0.3297, allocations: 1.953 kB / 493.9 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001482/0.3298, allocations: 69.52 kB / 493.9 MB, free: 16.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.3299, allocations: 0 / 493.9 MB, free: 16.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000657/0.3305, allocations: 178.4 kB / 494.1 MB, free: 16.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.568e-05/0.3306, allocations: 57.23 kB / 494.2 MB, free: 16.63 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003453/0.3309, allocations: 241.8 kB / 494.4 MB, free: 16.49 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.331, allocations: 27.44 kB / 494.4 MB, free: 16.46 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.645e-05/0.331, allocations: 110 kB / 494.5 MB, free: 16.36 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.234e-05/0.3311, allocations: 30.02 kB / 494.6 MB, free: 16.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.172e-05/0.3312, allocations: 26.02 kB / 494.6 MB, free: 16.31 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.688e-05/0.3313, allocations: 332.6 kB / 494.9 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.119e-05/0.3313, allocations: 17.19 kB / 494.9 MB, free: 15.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.27e-05/0.3314, allocations: 39.75 kB / 495 MB, free: 15.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.3316, allocations: 56.94 kB / 495 MB, free: 15.92 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.3316, allocations: 5.312 kB / 495 MB, free: 15.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002653/0.3319, allocations: 102 kB / 495.1 MB, free: 15.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.3319, allocations: 4.531 kB / 495.1 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.3319, allocations: 1.75 kB / 495.1 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.264e-05/0.3319, allocations: 1.125 kB / 495.1 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.3321, allocations: 15.91 kB / 495.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.3321, allocations: 1.281 kB / 495.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.16e-05/0.3322, allocations: 7.094 kB / 495.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.3322, allocations: 3.125 kB / 495.2 MB, free: 15.86 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.000158/0.3324, allocations: 142.2 kB / 495.3 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.674e-05/0.3324, allocations: 14.94 kB / 495.3 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.512e-05/0.3325, allocations: 18.59 kB / 495.3 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.3325, allocations: 1.125 kB / 495.3 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/0.3325, allocations: 4 kB / 495.3 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.3325, allocations: 5.844 kB / 495.3 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005402/0.3331, allocations: 407.8 kB / 495.7 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.3331, allocations: 4.031 kB / 495.7 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.261e-05/0.3331, allocations: 8.594 kB / 495.8 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.3331, allocations: 0.9688 kB / 495.8 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.3332, allocations: 6.828 kB / 495.8 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.3332, allocations: 1.797 kB / 495.8 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3332, allocations: 0 / 495.8 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000268/0.3335, allocations: 210.3 kB / 496 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.059e-05/0.3335, allocations: 93.5 kB / 496.1 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.956e-05/0.3336, allocations: 5.953 kB / 496.1 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.94e-05/0.3336, allocations: 2.75 kB / 496.1 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.606e-05/0.3337, allocations: 10.38 kB / 496.1 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.149e-05/0.3337, allocations: 3.688 kB / 496.1 MB, free: 15.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002075/0.3339, allocations: 182 kB / 496.3 MB, free: 14.94 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.334, allocations: 0 / 496.3 MB, free: 14.94 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003259/0.3343, allocations: 26.03 kB / 496.3 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.001192/0.3355, allocations: 471.2 kB / 496.7 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002682/0.3358, allocations: 56.59 kB / 496.8 MB, free: 14.55 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3358, allocations: 64 / 496.8 MB, free: 14.55 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.032e-05/0.3359, allocations: 36.64 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.0004533/0.3363, allocations: 34.89 kB / 496.9 MB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007064/0.3371, allocations: 261.5 kB / 497.1 MB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.3373, allocations: 0.7137 MB / 497.8 MB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.144e-05/0.3374, allocations: 20.88 kB / 497.9 MB, free: 13.63 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.851e-05/0.3375, allocations: 17.25 kB / 497.9 MB, free: 13.62 MB / 382.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3375, allocations: 0 / 497.9 MB, free: 13.62 MB / 382.1 MB Notification: Performance of Templates: time 0.005811/0.3433, allocations: 1.722 MB / 499.6 MB, free: 13.43 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1)