Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test56") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009425/0.00943, allocations: 101.1 kB / 15.73 MB, free: 6.027 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.001586/0.001586, allocations: 187.7 kB / 16.67 MB, free: 5.961 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.681/1.681, allocations: 205.1 MB / 222.6 MB, free: 4.398 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.3538/0.3538, allocations: 38 MB / 307.9 MB, free: 10.43 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.001606/0.001606, allocations: 79.88 kB / 433.1 MB, free: 5.352 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3436, allocations: 56.46 MB / 489.5 MB, free: 19.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003455/0.3471, allocations: 1.677 MB / 491.2 MB, free: 18.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002311/0.3494, allocations: 1.418 MB / 492.6 MB, free: 17.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.3496, allocations: 1.406 kB / 492.6 MB, free: 17.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000333/0.3499, allocations: 31.42 kB / 492.6 MB, free: 17.77 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.0003113/0.3503, allocations: 57.89 kB / 492.7 MB, free: 17.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003195/0.3506, allocations: 76.58 kB / 492.8 MB, free: 17.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002026/0.3508, allocations: 99.84 kB / 492.9 MB, free: 17.65 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.3509, allocations: 19.58 kB / 492.9 MB, free: 17.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.122e-05/0.351, allocations: 46.2 kB / 492.9 MB, free: 17.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/0.3512, allocations: 35.5 kB / 493 MB, free: 17.6 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.3512, allocations: 4.656 kB / 493 MB, free: 17.6 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001533/0.3514, allocations: 62.72 kB / 493 MB, free: 17.58 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.601e-05/0.3514, allocations: 19.12 kB / 493.1 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.813e-05/0.3515, allocations: 29.73 kB / 493.1 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002259/0.3517, allocations: 121.6 kB / 493.2 MB, free: 17.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.3517, allocations: 8.969 kB / 493.2 MB, free: 17.49 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3517, allocations: 0 / 493.2 MB, free: 17.49 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.3517, allocations: 4 kB / 493.2 MB, free: 17.49 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.0004756/0.3522, allocations: 402.8 kB / 493.6 MB, free: 17.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.3523, allocations: 14.09 kB / 493.6 MB, free: 17.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.758e-05/0.3523, allocations: 9.344 kB / 493.6 MB, free: 17.08 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.3526, allocations: 208.4 kB / 493.8 MB, free: 16.87 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.3526, allocations: 1.594 kB / 493.8 MB, free: 16.87 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.3527, allocations: 6.719 kB / 493.8 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.3528, allocations: 75.31 kB / 493.9 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.3528, allocations: 0 / 493.9 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.3529, allocations: 6.344 kB / 493.9 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.3529, allocations: 0 / 493.9 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.594e-05/0.353, allocations: 18.19 kB / 493.9 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000332/0.3533, allocations: 280.1 kB / 494.2 MB, free: 16.51 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.3535, allocations: 59.69 kB / 494.3 MB, free: 16.47 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.39e-05/0.3535, allocations: 20.08 kB / 494.3 MB, free: 16.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.854e-05/0.3536, allocations: 5.75 kB / 494.3 MB, free: 16.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001436/0.3537, allocations: 70.08 kB / 494.4 MB, free: 16.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.3537, allocations: 1.219 kB / 494.4 MB, free: 16.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005301/0.3543, allocations: 174.3 kB / 494.5 MB, free: 16.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.3543, allocations: 84.86 kB / 494.6 MB, free: 16.21 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.3545, allocations: 156.8 kB / 494.8 MB, free: 16.08 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.3545, allocations: 28.03 kB / 494.8 MB, free: 16.05 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.598e-05/0.3545, allocations: 98 kB / 494.9 MB, free: 15.96 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.3545, allocations: 21.38 kB / 494.9 MB, free: 15.94 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.752e-05/0.3546, allocations: 22.34 kB / 494.9 MB, free: 15.92 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.312e-05/0.3546, allocations: 325.3 kB / 495.3 MB, free: 15.6 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.917e-05/0.3547, allocations: 25.19 kB / 495.3 MB, free: 15.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.225e-05/0.3548, allocations: 46.2 kB / 495.3 MB, free: 15.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/0.3549, allocations: 52.98 kB / 495.4 MB, free: 15.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.3549, allocations: 0 / 495.4 MB, free: 15.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001748/0.3551, allocations: 101.9 kB / 495.5 MB, free: 15.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.3551, allocations: 4.688 kB / 495.5 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3551, allocations: 5.828 kB / 495.5 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.3551, allocations: 4.969 kB / 495.5 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.262e-05/0.3552, allocations: 18.75 kB / 495.5 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.3552, allocations: 2.359 kB / 495.5 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.005e-05/0.3553, allocations: 7.438 kB / 495.5 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.3553, allocations: 6.312 kB / 495.5 MB, free: 15.45 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.928e-05/0.3554, allocations: 122.2 kB / 495.6 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.546e-05/0.3554, allocations: 9.219 kB / 495.7 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.855e-05/0.3555, allocations: 11.8 kB / 495.7 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3555, allocations: 5.734 kB / 495.7 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3555, allocations: 1.031 kB / 495.7 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3555, allocations: 4.547 kB / 495.7 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004166/0.3559, allocations: 387.6 kB / 496.1 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.3559, allocations: 1.625 kB / 496.1 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.633e-05/0.356, allocations: 8.5 kB / 496.1 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.356, allocations: 1.703 kB / 496.1 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.356, allocations: 6.875 kB / 496.1 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.356, allocations: 4.031 kB / 496.1 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.356, allocations: 5.031 kB / 496.1 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/0.3563, allocations: 208.4 kB / 496.3 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.533e-05/0.3563, allocations: 84.56 kB / 496.4 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.3564, allocations: 6.859 kB / 496.4 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.026e-05/0.3564, allocations: 3.766 kB / 496.4 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.108e-05/0.3565, allocations: 13.77 kB / 496.4 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.3565, allocations: 4.234 kB / 496.4 MB, free: 14.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.175e-05/0.3566, allocations: 118 kB / 496.5 MB, free: 14.58 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3566, allocations: 0 / 496.5 MB, free: 14.58 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002902/0.3569, allocations: 36.17 kB / 496.5 MB, free: 14.57 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.001126/0.358, allocations: 0.5033 MB / 497.1 MB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002091/0.3582, allocations: 56.45 kB / 497.1 MB, free: 14.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3583, allocations: 0 / 497.1 MB, free: 14.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.692e-05/0.3583, allocations: 36.7 kB / 497.1 MB, free: 14.13 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.3587, allocations: 28.69 kB / 497.2 MB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004549/0.3592, allocations: 188.3 kB / 497.4 MB, free: 13.97 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001716/0.3593, allocations: 0.699 MB / 498.1 MB, free: 13.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.029e-05/0.3594, allocations: 22.67 kB / 498.1 MB, free: 13.26 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.874e-05/0.3595, allocations: 19.08 kB / 498.1 MB, free: 13.25 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3595, allocations: 0 / 498.1 MB, free: 13.25 MB / 382.1 MB Notification: Performance of Templates: time 0.00586/0.3654, allocations: 1.978 MB / 0.4884 GB, free: 13.02 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1)