Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005422/0.005422, allocations: 104.3 kB / 15.74 MB, free: 6.488 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.002046/0.002046, allocations: 196 kB / 16.68 MB, free: 6.375 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.544/1.544, allocations: 205.1 MB / 222.5 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3537/0.3537, allocations: 39.94 MB / 309.8 MB, free: 9.395 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.2. 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.001467/0.001467, allocations: 67.91 kB / 435.8 MB, free: 2.438 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3479, allocations: 56.88 MB / 492.7 MB, free: 19.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.002811/0.3508, allocations: 1.573 MB / 494.2 MB, free: 18.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005862/0.3514, allocations: 320 kB / 494.5 MB, free: 18.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.841e-05/0.3515, allocations: 1.125 kB / 494.5 MB, free: 18.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002922/0.3518, allocations: 93.06 kB / 494.6 MB, free: 18.48 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.0002062/0.352, allocations: 74.03 kB / 494.7 MB, free: 18.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002245/0.3522, allocations: 67.52 kB / 494.8 MB, free: 18.42 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001596/0.3524, allocations: 85.83 kB / 494.9 MB, free: 18.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.3525, allocations: 21.58 kB / 494.9 MB, free: 18.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.68e-05/0.3526, allocations: 36.23 kB / 494.9 MB, free: 18.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.3527, allocations: 58.83 kB / 495 MB, free: 18.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.3527, allocations: 3.375 kB / 495 MB, free: 18.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.934e-05/0.3528, allocations: 35.09 kB / 495 MB, free: 18.33 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.761e-05/0.3529, allocations: 23.86 kB / 495 MB, free: 18.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.598e-05/0.3529, allocations: 31.53 kB / 495.1 MB, free: 18.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.3531, allocations: 108.9 kB / 495.2 MB, free: 18.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.3531, allocations: 1.5 kB / 495.2 MB, free: 18.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3531, allocations: 0 / 495.2 MB, free: 18.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.124e-06/0.3531, allocations: 0 / 495.2 MB, free: 18.25 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004965/0.3537, allocations: 412.7 kB / 495.6 MB, free: 17.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.3537, allocations: 14 kB / 495.6 MB, free: 17.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.928e-05/0.3537, allocations: 14.25 kB / 495.6 MB, free: 17.83 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.3539, allocations: 197.1 kB / 495.8 MB, free: 17.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.444e-06/0.3539, allocations: 1.906 kB / 495.8 MB, free: 17.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.354, allocations: 6 kB / 495.8 MB, free: 17.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.3541, allocations: 63.97 kB / 495.9 MB, free: 17.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.3541, allocations: 1.344 kB / 495.9 MB, free: 17.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.3541, allocations: 4.797 kB / 495.9 MB, free: 17.56 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.3542, allocations: 1.406 kB / 495.9 MB, free: 17.56 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.3543, allocations: 33.86 kB / 495.9 MB, free: 17.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003338/0.3546, allocations: 303.4 kB / 496.2 MB, free: 17.26 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.3547, allocations: 56.98 kB / 496.3 MB, free: 17.22 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.851e-05/0.3548, allocations: 16.03 kB / 496.3 MB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.3548, allocations: 1.438 kB / 496.3 MB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.649e-05/0.3549, allocations: 45.41 kB / 496.3 MB, free: 17.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.3549, allocations: 3.938 kB / 496.3 MB, free: 17.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000605/0.3555, allocations: 184.1 kB / 496.5 MB, free: 17.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.3555, allocations: 52.31 kB / 496.6 MB, free: 17.01 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.3557, allocations: 237.7 kB / 496.8 MB, free: 16.87 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.288e-06/0.3557, allocations: 29.7 kB / 496.8 MB, free: 16.83 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.631e-05/0.3558, allocations: 110.9 kB / 496.9 MB, free: 16.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.3558, allocations: 23.97 kB / 496.9 MB, free: 16.71 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.3559, allocations: 21.91 kB / 497 MB, free: 16.69 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.753e-05/0.3559, allocations: 322.7 kB / 497.3 MB, free: 16.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.857e-05/0.356, allocations: 21.91 kB / 497.3 MB, free: 16.37 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.714e-05/0.3561, allocations: 27.8 kB / 497.3 MB, free: 16.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.3562, allocations: 70.94 kB / 497.4 MB, free: 16.33 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.3562, allocations: 0 / 497.4 MB, free: 16.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001965/0.3564, allocations: 93.73 kB / 497.5 MB, free: 16.28 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.3565, allocations: 10.62 kB / 497.5 MB, free: 16.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.3565, allocations: 0 / 497.5 MB, free: 16.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.3565, allocations: 1.562 kB / 497.5 MB, free: 16.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.3566, allocations: 15.91 kB / 497.5 MB, free: 16.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.3566, allocations: 2.016 kB / 497.5 MB, free: 16.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.234e-05/0.3567, allocations: 15.92 kB / 497.5 MB, free: 16.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.168e-06/0.3567, allocations: 7.641 kB / 497.5 MB, free: 16.26 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.967e-05/0.3568, allocations: 128.4 kB / 497.7 MB, free: 16.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.342e-05/0.3568, allocations: 13.47 kB / 497.7 MB, free: 16.13 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.534e-05/0.3568, allocations: 21.06 kB / 497.7 MB, free: 16.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.3569, allocations: 1.953 kB / 497.7 MB, free: 16.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.3569, allocations: 0 / 497.7 MB, free: 16.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.3569, allocations: 5.984 kB / 497.7 MB, free: 16.11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004458/0.3573, allocations: 385.6 kB / 498.1 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.3573, allocations: 1.219 kB / 498.1 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.189e-05/0.3574, allocations: 24.66 kB / 498.1 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-06/0.3574, allocations: 8.531 kB / 498.1 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.3574, allocations: 1.156 kB / 498.1 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.3574, allocations: 2.078 kB / 498.1 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3575, allocations: 0 / 498.1 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/0.3577, allocations: 207.2 kB / 498.3 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.448e-05/0.3577, allocations: 84.66 kB / 498.4 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.3577, allocations: 5.25 kB / 498.4 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.955e-05/0.3578, allocations: 12.69 kB / 498.4 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.78e-05/0.3579, allocations: 6.719 kB / 498.4 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.3579, allocations: 1.094 kB / 498.4 MB, free: 15.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001602/0.3581, allocations: 171.8 kB / 498.6 MB, free: 15.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3581, allocations: 7.938 kB / 498.6 MB, free: 15.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002572/0.3583, allocations: 18.12 kB / 498.6 MB, free: 15.38 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0009437/0.3593, allocations: 393.5 kB / 499 MB, free: 15.06 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000241/0.3595, allocations: 61.72 kB / 499.1 MB, free: 15.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3595, allocations: 0 / 499.1 MB, free: 15.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.392e-05/0.3596, allocations: 42.53 kB / 499.1 MB, free: 15.04 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/0.36, allocations: 22.25 kB / 499.1 MB, free: 15.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000476/0.3605, allocations: 255.3 kB / 499.4 MB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000187/0.3607, allocations: 0.7104 MB / 0.4884 GB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.782e-05/0.3608, allocations: 22.84 kB / 0.4884 GB, free: 14.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.098e-05/0.3608, allocations: 17.77 kB / 0.4884 GB, free: 14.13 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3608, allocations: 0 / 0.4884 GB, free: 14.13 MB / 382.1 MB Notification: Performance of Templates: time 0.004112/0.3649, allocations: 1.219 MB / 0.4896 GB, free: 13.98 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1)