Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007025/0.007025, allocations: 101.2 kB / 15.73 MB, free: 6.039 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.001416/0.001417, allocations: 189.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.656/1.656, allocations: 205.1 MB / 222.5 MB, free: 4.391 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.3845/0.3845, allocations: 37.99 MB / 307.9 MB, free: 10.32 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.001449/0.001449, allocations: 75.91 kB / 433.1 MB, free: 5.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.3614, allocations: 56.45 MB / 489.5 MB, free: 19.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003002/0.3645, allocations: 1.673 MB / 491.2 MB, free: 18.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001215/0.3657, allocations: 0.8154 MB / 492 MB, free: 18.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.107e-05/0.3658, allocations: 1.25 kB / 492 MB, free: 18.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003192/0.3661, allocations: 43.12 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.0002283/0.3664, allocations: 52.47 kB / 492.1 MB, free: 18.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002411/0.3666, allocations: 80.78 kB / 492.2 MB, free: 18.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001726/0.3668, allocations: 96.61 kB / 492.3 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.82e-05/0.3669, allocations: 18.92 kB / 492.3 MB, free: 18.1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.367, allocations: 41.72 kB / 492.3 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.876e-05/0.3671, allocations: 26.48 kB / 492.4 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.3671, allocations: 3.719 kB / 492.4 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.3673, allocations: 49.73 kB / 492.4 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.651e-05/0.3673, allocations: 19.78 kB / 492.4 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.037e-05/0.3674, allocations: 39.38 kB / 492.5 MB, free: 18.01 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002107/0.3676, allocations: 111.1 kB / 492.6 MB, free: 17.97 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.3676, allocations: 0 / 492.6 MB, free: 17.97 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3676, allocations: 1.062 kB / 492.6 MB, free: 17.97 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.3676, allocations: 4 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.0005138/0.3682, allocations: 415.3 kB / 493 MB, free: 17.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.3682, allocations: 14.91 kB / 493 MB, free: 17.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.201e-05/0.3682, allocations: 12.56 kB / 493 MB, free: 17.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.3685, allocations: 215.4 kB / 493.2 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.3685, allocations: 1.594 kB / 493.2 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.874e-05/0.3686, allocations: 10.84 kB / 493.2 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.3687, allocations: 53.64 kB / 493.3 MB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.3687, allocations: 1.656 kB / 493.3 MB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.3688, allocations: 4 kB / 493.3 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.3688, allocations: 1.156 kB / 493.3 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.859e-05/0.3688, allocations: 18.94 kB / 493.3 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000329/0.3692, allocations: 286.8 kB / 493.6 MB, free: 16.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.3694, allocations: 60.47 kB / 493.6 MB, free: 16.94 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.12e-05/0.3694, allocations: 24.64 kB / 493.7 MB, free: 16.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.3694, allocations: 1.156 kB / 493.7 MB, free: 16.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000139/0.3696, allocations: 69.53 kB / 493.7 MB, free: 16.87 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.3696, allocations: 3.938 kB / 493.7 MB, free: 16.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005309/0.3701, allocations: 168.6 kB / 493.9 MB, free: 16.78 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.3702, allocations: 57.19 kB / 494 MB, free: 16.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.3704, allocations: 202.3 kB / 494.2 MB, free: 16.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.301e-05/0.3704, allocations: 26.98 kB / 494.2 MB, free: 16.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.636e-05/0.3704, allocations: 104.8 kB / 494.3 MB, free: 16.46 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.121e-05/0.3705, allocations: 21.3 kB / 494.3 MB, free: 16.44 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.849e-05/0.3705, allocations: 25.89 kB / 494.3 MB, free: 16.42 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.051e-05/0.3706, allocations: 327.4 kB / 494.7 MB, free: 16.1 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.993e-05/0.3707, allocations: 21.33 kB / 494.7 MB, free: 16.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.707e-05/0.3707, allocations: 39.34 kB / 494.7 MB, free: 16.06 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.3709, allocations: 52.81 kB / 494.8 MB, free: 16.03 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3709, allocations: 5.938 kB / 494.8 MB, free: 16.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001984/0.3711, allocations: 96.89 kB / 494.9 MB, free: 15.97 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.3711, allocations: 5.5 kB / 494.9 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3711, allocations: 1.5 kB / 494.9 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.3711, allocations: 5.156 kB / 494.9 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.211e-05/0.3712, allocations: 18.83 kB / 494.9 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.3712, allocations: 1.906 kB / 494.9 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.785e-05/0.3713, allocations: 15.41 kB / 494.9 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.3713, allocations: 6.375 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 7.703e-05/0.3714, allocations: 122.3 kB / 495 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.36e-05/0.3714, allocations: 14.03 kB / 495.1 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.319e-05/0.3715, allocations: 20.02 kB / 495.1 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3715, allocations: 1.156 kB / 495.1 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.3715, allocations: 4 kB / 495.1 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.3715, allocations: 5.891 kB / 495.1 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003853/0.3719, allocations: 390.9 kB / 495.5 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3719, allocations: 0 / 495.5 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.385e-05/0.3719, allocations: 9.375 kB / 495.5 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3719, allocations: 1.188 kB / 495.5 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.372, allocations: 10.84 kB / 495.5 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.372, allocations: 1.156 kB / 495.5 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.372, allocations: 4.875 kB / 495.5 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002117/0.3722, allocations: 209.5 kB / 495.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.043e-05/0.3722, allocations: 88.03 kB / 495.8 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.391e-05/0.3723, allocations: 10.98 kB / 495.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.133e-05/0.3723, allocations: 3.297 kB / 495.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.959e-05/0.3724, allocations: 5.609 kB / 495.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/0.3724, allocations: 8.078 kB / 495.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001275/0.3725, allocations: 155 kB / 496 MB, free: 15.06 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3726, allocations: 0 / 496 MB, free: 15.06 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002664/0.3728, allocations: 22.61 kB / 496 MB, free: 15.05 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.00101/0.3738, allocations: 477.4 kB / 496.4 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001936/0.374, allocations: 55.38 kB / 496.5 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3741, allocations: 0 / 496.5 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.783e-05/0.3741, allocations: 33.64 kB / 496.5 MB, free: 14.65 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.3745, allocations: 25.95 kB / 496.6 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004371/0.3749, allocations: 242 kB / 496.8 MB, free: 14.47 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001996/0.3751, allocations: 0.7023 MB / 497.5 MB, free: 13.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.476e-05/0.3752, allocations: 21.36 kB / 497.5 MB, free: 13.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.033e-05/0.3753, allocations: 17.89 kB / 497.5 MB, free: 13.76 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3753, allocations: 0 / 497.5 MB, free: 13.76 MB / 382.1 MB Notification: Performance of Templates: time 0.005395/0.3807, allocations: 1.706 MB / 499.2 MB, free: 13.56 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1)