Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009891/0.009891, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001827/0.001827, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.705/1.705, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.3464/0.3464, allocations: 37.99 MB / 307.9 MB, free: 10.06 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.001437/0.001437, allocations: 76.45 kB / 433.1 MB, free: 5.344 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3197, allocations: 56.46 MB / 489.5 MB, free: 19.88 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.002931/0.3227, allocations: 1.669 MB / 491.2 MB, free: 18.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001354/0.324, allocations: 0.8078 MB / 492 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.388e-05/0.3241, allocations: 1.125 kB / 492 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003586/0.3245, allocations: 43.58 kB / 492 MB, free: 18.13 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.0002502/0.3248, allocations: 49.59 kB / 492.1 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000276/0.3251, allocations: 80.38 kB / 492.2 MB, free: 18.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001927/0.3253, allocations: 99.39 kB / 492.3 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.3254, allocations: 16.33 kB / 492.3 MB, free: 18.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.3255, allocations: 40.52 kB / 492.3 MB, free: 17.99 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.142e-05/0.3256, allocations: 34.25 kB / 492.4 MB, free: 17.97 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.3256, allocations: 3.969 kB / 492.4 MB, free: 17.97 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.3258, allocations: 42.06 kB / 492.4 MB, free: 17.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.596e-05/0.3258, allocations: 18.81 kB / 492.4 MB, free: 17.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.991e-05/0.3259, allocations: 33.48 kB / 492.4 MB, free: 17.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002471/0.3262, allocations: 114.8 kB / 492.6 MB, free: 17.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.814e-06/0.3262, allocations: 4.969 kB / 492.6 MB, free: 17.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.3262, allocations: 0 / 492.6 MB, free: 17.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.3262, allocations: 4.609 kB / 492.6 MB, free: 17.87 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.0005646/0.3268, allocations: 413.1 kB / 493 MB, free: 17.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.3268, allocations: 13.36 kB / 493 MB, free: 17.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.693e-05/0.3269, allocations: 17.84 kB / 493 MB, free: 17.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.3272, allocations: 198.2 kB / 493.2 MB, free: 17.24 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.3272, allocations: 1.625 kB / 493.2 MB, free: 17.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/0.3272, allocations: 11.88 kB / 493.2 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.3274, allocations: 53.64 kB / 493.3 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.3274, allocations: 4.516 kB / 493.3 MB, free: 17.19 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.3274, allocations: 1.094 kB / 493.3 MB, free: 17.19 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.3274, allocations: 1.156 kB / 493.3 MB, free: 17.19 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.244e-05/0.3275, allocations: 25.72 kB / 493.3 MB, free: 17.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003447/0.3279, allocations: 287 kB / 493.6 MB, free: 16.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/0.328, allocations: 55.62 kB / 493.6 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.08e-05/0.3281, allocations: 20.03 kB / 493.6 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.3281, allocations: 5.094 kB / 493.7 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00014/0.3283, allocations: 66.19 kB / 493.7 MB, free: 16.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.673e-06/0.3283, allocations: 0 / 493.7 MB, free: 16.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005309/0.3288, allocations: 177.3 kB / 493.9 MB, free: 16.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.655e-05/0.3289, allocations: 60.38 kB / 493.9 MB, free: 16.62 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.329, allocations: 184.1 kB / 494.1 MB, free: 16.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.329, allocations: 26.98 kB / 494.2 MB, free: 16.47 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.08e-05/0.3291, allocations: 100.7 kB / 494.3 MB, free: 16.38 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.3291, allocations: 25.52 kB / 494.3 MB, free: 16.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.675e-05/0.3292, allocations: 22.5 kB / 494.3 MB, free: 16.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.675e-05/0.3292, allocations: 329.8 kB / 494.6 MB, free: 16.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.556e-05/0.3293, allocations: 16.81 kB / 494.6 MB, free: 16.01 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.39e-05/0.3294, allocations: 40.09 kB / 494.7 MB, free: 15.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.3295, allocations: 63.73 kB / 494.7 MB, free: 15.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3295, allocations: 0 / 494.7 MB, free: 15.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001702/0.3297, allocations: 99.62 kB / 494.8 MB, free: 15.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.3297, allocations: 5.781 kB / 494.8 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3297, allocations: 0 / 494.8 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.3297, allocations: 2.203 kB / 494.8 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.861e-05/0.3298, allocations: 22.75 kB / 494.9 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.3298, allocations: 5.469 kB / 494.9 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.453e-05/0.3299, allocations: 10.73 kB / 494.9 MB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.3299, allocations: 2.906 kB / 494.9 MB, free: 15.87 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 6.934e-05/0.33, allocations: 126.1 kB / 495 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.93e-05/0.33, allocations: 8.594 kB / 495 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.857e-05/0.33, allocations: 19.02 kB / 495 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.33, allocations: 5 kB / 495 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3301, allocations: 6.453 kB / 495 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.3301, allocations: 7.875 kB / 495.1 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004342/0.3305, allocations: 378.4 kB / 495.4 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3305, allocations: 0 / 495.4 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.215e-05/0.3306, allocations: 16.98 kB / 495.4 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.3306, allocations: 0.5625 kB / 495.4 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.3306, allocations: 6.953 kB / 495.4 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.3306, allocations: 1.422 kB / 495.4 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.3306, allocations: 1.406 kB / 495.5 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002741/0.3309, allocations: 207.6 kB / 495.7 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.76e-05/0.331, allocations: 89 kB / 495.7 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/0.331, allocations: 5.969 kB / 495.7 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.068e-05/0.3311, allocations: 3.891 kB / 495.8 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.32e-05/0.3311, allocations: 9.422 kB / 495.8 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.988e-05/0.3312, allocations: 11.97 kB / 495.8 MB, free: 15.08 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001709/0.3314, allocations: 144.1 kB / 495.9 MB, free: 14.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3314, allocations: 0 / 495.9 MB, free: 14.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003099/0.3317, allocations: 26.55 kB / 495.9 MB, free: 14.98 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.001276/0.333, allocations: 469 kB / 496.4 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002329/0.3332, allocations: 63.34 kB / 496.5 MB, free: 14.58 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.3332, allocations: 1.031 kB / 496.5 MB, free: 14.58 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.3333, allocations: 24.06 kB / 496.5 MB, free: 14.58 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004119/0.3338, allocations: 35.08 kB / 496.5 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005578/0.3343, allocations: 226.4 kB / 496.7 MB, free: 14.39 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002217/0.3346, allocations: 0.7044 MB / 497.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.915e-05/0.3346, allocations: 13.47 kB / 497.5 MB, free: 13.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.612e-05/0.3347, allocations: 20.66 kB / 497.5 MB, free: 13.68 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3347, allocations: 0 / 497.5 MB, free: 13.68 MB / 382.1 MB Notification: Performance of Templates: time 0.005066/0.3398, allocations: 1.723 MB / 499.2 MB, free: 13.48 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1)