Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test1.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.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009992/0.009992, allocations: 101.1 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.002099/0.0021, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.504/1.504, allocations: 205.1 MB / 222.5 MB, free: 4.402 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.3026/0.3026, allocations: 38 MB / 307.9 MB, free: 10.42 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.001582/0.001582, allocations: 72.56 kB / 433 MB, free: 5.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3071, allocations: 56.46 MB / 489.5 MB, free: 19.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.002707/0.3099, allocations: 1.531 MB / 491 MB, free: 18.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006414/0.3106, allocations: 314.9 kB / 491.3 MB, free: 18.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.08e-05/0.3106, allocations: 9.344 kB / 491.3 MB, free: 18.65 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002392/0.3109, allocations: 24.06 kB / 491.3 MB, free: 18.64 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.0002123/0.3111, allocations: 30.09 kB / 491.4 MB, free: 18.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002351/0.3113, allocations: 71.28 kB / 491.4 MB, free: 18.58 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000158/0.3115, allocations: 59.03 kB / 491.5 MB, free: 18.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.3116, allocations: 17.97 kB / 491.5 MB, free: 18.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.736e-05/0.3117, allocations: 18.75 kB / 491.5 MB, free: 18.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.809e-05/0.3118, allocations: 24.08 kB / 491.5 MB, free: 18.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.3118, allocations: 3.438 kB / 491.6 MB, free: 18.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.21e-05/0.3119, allocations: 30.03 kB / 491.6 MB, free: 18.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.638e-05/0.3119, allocations: 12.42 kB / 491.6 MB, free: 18.51 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.229e-05/0.312, allocations: 21.73 kB / 491.6 MB, free: 18.49 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.3122, allocations: 80.2 kB / 491.7 MB, free: 18.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3122, allocations: 0 / 491.7 MB, free: 18.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.3122, allocations: 0.7031 kB / 491.7 MB, free: 18.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.3122, allocations: 0 / 491.7 MB, free: 18.45 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004583/0.3127, allocations: 372 kB / 492.1 MB, free: 18.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.3127, allocations: 17.86 kB / 492.1 MB, free: 18.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.251e-05/0.3128, allocations: 11.62 kB / 492.1 MB, free: 18.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.3129, allocations: 186.1 kB / 492.3 MB, free: 17.85 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.3129, allocations: 1.656 kB / 492.3 MB, free: 17.85 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.313, allocations: 9.609 kB / 492.3 MB, free: 17.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.3131, allocations: 53.22 kB / 492.3 MB, free: 17.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.3132, allocations: 1.375 kB / 492.3 MB, free: 17.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.3132, allocations: 4.656 kB / 492.3 MB, free: 17.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.3132, allocations: 0 / 492.3 MB, free: 17.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.653e-05/0.3133, allocations: 22.72 kB / 492.4 MB, free: 17.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003935/0.3137, allocations: 268 kB / 492.6 MB, free: 17.51 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000248/0.3139, allocations: 48.75 kB / 492.7 MB, free: 17.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.836e-05/0.314, allocations: 13.73 kB / 492.7 MB, free: 17.47 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.3141, allocations: 0 / 492.7 MB, free: 17.47 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.3141, allocations: 36.56 kB / 492.7 MB, free: 17.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.382e-06/0.3141, allocations: 0 / 492.7 MB, free: 17.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006292/0.3147, allocations: 136 kB / 492.8 MB, free: 17.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.3148, allocations: 52.53 kB / 492.9 MB, free: 17.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.3149, allocations: 149.6 kB / 493 MB, free: 17.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.287e-06/0.3149, allocations: 29.7 kB / 493.1 MB, free: 17.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.988e-05/0.315, allocations: 93.84 kB / 493.2 MB, free: 17.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.315, allocations: 15.56 kB / 493.2 MB, free: 17.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.225e-05/0.3151, allocations: 18.09 kB / 493.2 MB, free: 17.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.968e-05/0.3151, allocations: 323.9 kB / 493.5 MB, free: 16.7 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.061e-05/0.3152, allocations: 15.05 kB / 493.5 MB, free: 16.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.861e-05/0.3153, allocations: 18.52 kB / 493.5 MB, free: 16.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.3154, allocations: 53.47 kB / 493.6 MB, free: 16.67 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.3154, allocations: 1.406 kB / 493.6 MB, free: 16.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001608/0.3156, allocations: 76.91 kB / 493.7 MB, free: 16.63 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.3156, allocations: 5.188 kB / 493.7 MB, free: 16.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.3156, allocations: 0 / 493.7 MB, free: 16.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.3156, allocations: 1.172 kB / 493.7 MB, free: 16.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.647e-05/0.3157, allocations: 13.72 kB / 493.7 MB, free: 16.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.3157, allocations: 0 / 493.7 MB, free: 16.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.552e-05/0.3157, allocations: 16.5 kB / 493.7 MB, free: 16.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.3158, allocations: 2.156 kB / 493.7 MB, free: 16.62 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 (5): * Single equations (assignments): 5 * 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 5.473e-05/0.3158, allocations: 123 kB / 493.8 MB, free: 16.49 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.3158, allocations: 7.281 kB / 493.8 MB, free: 16.49 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.45e-05/0.3159, allocations: 11.7 kB / 493.9 MB, free: 16.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.3159, allocations: 2.172 kB / 493.9 MB, free: 16.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3159, allocations: 0 / 493.9 MB, free: 16.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3159, allocations: 3.938 kB / 493.9 MB, free: 16.47 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003438/0.3163, allocations: 341.9 kB / 494.2 MB, free: 16.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3163, allocations: 1 kB / 494.2 MB, free: 16.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.998e-05/0.3163, allocations: 15.34 kB / 494.2 MB, free: 16.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.3163, allocations: 1.156 kB / 494.2 MB, free: 16.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.3163, allocations: 0.9375 kB / 494.2 MB, free: 16.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3164, allocations: 5.125 kB / 494.2 MB, free: 16.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3164, allocations: 0 / 494.2 MB, free: 16.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001713/0.3165, allocations: 180.9 kB / 494.4 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.675e-05/0.3166, allocations: 84.19 kB / 494.5 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.3166, allocations: 0 / 494.5 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.036e-05/0.3167, allocations: 8.781 kB / 494.5 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.3167, allocations: 4.078 kB / 494.5 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.3167, allocations: 2.531 kB / 494.5 MB, free: 15.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.443e-05/0.3168, allocations: 109.7 kB / 494.6 MB, free: 15.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3168, allocations: 4 kB / 494.6 MB, free: 15.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002294/0.317, allocations: 15.41 kB / 494.6 MB, free: 15.8 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 (5): * Single equations (assignments): 5 * 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.0008742/0.3179, allocations: 415 kB / 495 MB, free: 15.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002086/0.3181, allocations: 48.91 kB / 495.1 MB, free: 15.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.3181, allocations: 0 / 495.1 MB, free: 15.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.22e-05/0.3182, allocations: 23.78 kB / 495.1 MB, free: 15.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.3185, allocations: 22.42 kB / 495.1 MB, free: 15.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003292/0.3189, allocations: 160.9 kB / 495.3 MB, free: 15.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001846/0.3191, allocations: 0.6902 MB / 496 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.184e-05/0.3191, allocations: 5.953 kB / 496 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.769e-05/0.3192, allocations: 11.55 kB / 496 MB, free: 14.6 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3192, allocations: 5.219 kB / 496 MB, free: 14.6 MB / 382.1 MB Notification: Performance of Templates: time 0.004387/0.3236, allocations: 1.096 MB / 497.1 MB, free: 14.45 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1)