Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006789/0.006789, allocations: 101.1 kB / 15.73 MB, free: 6.051 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.001195/0.001195, allocations: 187.8 kB / 16.67 MB, free: 5.98 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.656/1.656, allocations: 205.1 MB / 222.5 MB, free: 4.383 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.3526/0.3526, allocations: 38 MB / 307.9 MB, free: 10.41 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.001518/0.001518, allocations: 76.47 kB / 433.1 MB, free: 5.348 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.3008, allocations: 56.46 MB / 489.5 MB, free: 20 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.002865/0.3037, allocations: 1.673 MB / 491.2 MB, free: 18.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001264/0.305, allocations: 0.8065 MB / 492 MB, free: 18.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.433e-05/0.3051, allocations: 1.031 kB / 492 MB, free: 18.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003719/0.3055, allocations: 53.72 kB / 492 MB, free: 18.25 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.0002547/0.3058, allocations: 58.83 kB / 492.1 MB, free: 18.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002812/0.3061, allocations: 84.75 kB / 492.2 MB, free: 18.17 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.3062, allocations: 93.98 kB / 492.3 MB, free: 18.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.3064, allocations: 12.78 kB / 492.3 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.3065, allocations: 45.61 kB / 492.3 MB, free: 18.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.594e-05/0.3066, allocations: 25.34 kB / 492.4 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.426e-05/0.3066, allocations: 7.969 kB / 492.4 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.3067, allocations: 42.31 kB / 492.4 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.753e-05/0.3068, allocations: 34.03 kB / 492.4 MB, free: 18.06 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.719e-05/0.3069, allocations: 41.75 kB / 492.5 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002316/0.3071, allocations: 142.9 kB / 492.6 MB, free: 17.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3072, allocations: 0 / 492.6 MB, free: 17.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3072, allocations: 0 / 492.6 MB, free: 17.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.3072, allocations: 1.094 kB / 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.0005498/0.3077, allocations: 436.1 kB / 493.1 MB, free: 17.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.3078, allocations: 17.36 kB / 493.1 MB, free: 17.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.248e-05/0.3078, allocations: 16.03 kB / 493.1 MB, free: 17.53 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002652/0.3081, allocations: 223.6 kB / 493.3 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.3081, allocations: 5.281 kB / 493.3 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.3082, allocations: 6.062 kB / 493.3 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.3083, allocations: 58.53 kB / 493.4 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.3083, allocations: 0 / 493.4 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.3084, allocations: 1.969 kB / 493.4 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3084, allocations: 1.062 kB / 493.4 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.393e-05/0.3084, allocations: 23.08 kB / 493.4 MB, free: 17.24 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003199/0.3088, allocations: 297.3 kB / 493.7 MB, free: 16.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001857/0.309, allocations: 60.67 kB / 493.7 MB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.039e-05/0.309, allocations: 19.75 kB / 493.8 MB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.3091, allocations: 1.766 kB / 493.8 MB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001377/0.3092, allocations: 73.34 kB / 493.8 MB, free: 16.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.3092, allocations: 0 / 493.8 MB, free: 16.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005294/0.3097, allocations: 183.5 kB / 494 MB, free: 16.74 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/0.3098, allocations: 52.84 kB / 494.1 MB, free: 16.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002597/0.3101, allocations: 274.4 kB / 494.3 MB, free: 16.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.3101, allocations: 31.17 kB / 494.4 MB, free: 16.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.461e-05/0.3101, allocations: 115.4 kB / 494.5 MB, free: 16.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.3102, allocations: 21.31 kB / 494.5 MB, free: 16.38 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-05/0.3102, allocations: 26.52 kB / 494.5 MB, free: 16.36 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.62e-05/0.3103, allocations: 329.5 kB / 494.9 MB, free: 16.04 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.834e-05/0.3103, allocations: 25.27 kB / 494.9 MB, free: 16.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.119e-05/0.3104, allocations: 35.05 kB / 494.9 MB, free: 16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.3105, allocations: 61.84 kB / 495 MB, free: 15.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.3105, allocations: 0 / 495 MB, free: 15.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001802/0.3107, allocations: 106.6 kB / 495.1 MB, free: 15.9 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.3107, allocations: 6.344 kB / 495.1 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.3108, allocations: 1.062 kB / 495.1 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.3108, allocations: 1.375 kB / 495.1 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.359e-05/0.3109, allocations: 15.42 kB / 495.1 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.3109, allocations: 4.969 kB / 495.1 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.998e-05/0.3109, allocations: 10.64 kB / 495.1 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.457e-06/0.311, allocations: 7.359 kB / 495.1 MB, free: 15.88 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.922e-05/0.3111, allocations: 146.7 kB / 495.3 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/0.3111, allocations: 14.98 kB / 495.3 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.767e-05/0.3111, allocations: 19.31 kB / 495.3 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.3112, allocations: 1.156 kB / 495.3 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.3112, allocations: 1.078 kB / 495.3 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3112, allocations: 5.031 kB / 495.3 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004285/0.3116, allocations: 403.2 kB / 495.7 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.3116, allocations: 5.438 kB / 495.7 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.38e-05/0.3117, allocations: 9.516 kB / 495.7 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.3117, allocations: 0 / 495.7 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.3117, allocations: 6.281 kB / 495.7 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3117, allocations: 1.219 kB / 495.7 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.3117, allocations: 1.281 kB / 495.7 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002076/0.3119, allocations: 218 kB / 495.9 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.568e-05/0.312, allocations: 90.2 kB / 496 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.553e-05/0.312, allocations: 5.781 kB / 496 MB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.211e-05/0.3121, allocations: 3.141 kB / 496 MB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.904e-05/0.3121, allocations: 9.672 kB / 496 MB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.3121, allocations: 3.906 kB / 496 MB, free: 15.08 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000181/0.3123, allocations: 208 kB / 496.2 MB, free: 14.97 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3123, allocations: 0 / 496.2 MB, free: 14.97 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002781/0.3126, allocations: 26.8 kB / 496.3 MB, free: 14.96 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.001075/0.3137, allocations: 463.2 kB / 496.7 MB, free: 14.6 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002406/0.314, allocations: 62.95 kB / 496.8 MB, free: 14.58 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.314, allocations: 4.062 kB / 496.8 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.608e-05/0.3141, allocations: 32.69 kB / 496.8 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003955/0.3145, allocations: 38.31 kB / 496.9 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006315/0.3151, allocations: 292.2 kB / 497.1 MB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001972/0.3153, allocations: 0.7219 MB / 497.9 MB, free: 13.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.803e-05/0.3154, allocations: 11.84 kB / 497.9 MB, free: 13.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.524e-05/0.3154, allocations: 17.06 kB / 497.9 MB, free: 13.65 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3155, allocations: 1.219 kB / 497.9 MB, free: 13.65 MB / 382.1 MB Notification: Performance of Templates: time 0.005889/0.3213, allocations: 1.744 MB / 499.6 MB, free: 13.45 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1)