Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test18.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.Test18,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005268/0.005268, allocations: 99.84 kB / 15.73 MB, free: 6.066 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.001054/0.001054, allocations: 200.7 kB / 16.68 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.483/1.483, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.3304/0.3304, allocations: 39.94 MB / 309.8 MB, free: 9.309 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.001464/0.001465, allocations: 71.91 kB / 435.8 MB, free: 2.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3899/0.3914, allocations: 56.87 MB / 492.7 MB, free: 19.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.003595/0.3951, allocations: 1.572 MB / 494.2 MB, free: 18.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001589/0.3967, allocations: 0.9407 MB / 495.2 MB, free: 17.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.915e-05/0.3968, allocations: 1.156 kB / 495.2 MB, free: 17.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003205/0.3971, allocations: 15.95 kB / 495.2 MB, free: 17.76 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.0002409/0.3974, allocations: 44 kB / 495.2 MB, free: 17.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002705/0.3977, allocations: 77.69 kB / 495.3 MB, free: 17.69 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001673/0.3978, allocations: 67.09 kB / 495.4 MB, free: 17.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.398, allocations: 23.45 kB / 495.4 MB, free: 17.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.729e-05/0.398, allocations: 27.02 kB / 495.4 MB, free: 17.63 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001811/0.3982, allocations: 31.05 kB / 495.5 MB, free: 17.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.3983, allocations: 8 kB / 495.5 MB, free: 17.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.3984, allocations: 51.52 kB / 495.5 MB, free: 17.6 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.803e-05/0.3985, allocations: 16.92 kB / 495.5 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.806e-05/0.3985, allocations: 23.62 kB / 495.6 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002924/0.3988, allocations: 106.7 kB / 495.7 MB, free: 17.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.3989, allocations: 0.9375 kB / 495.7 MB, free: 17.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.3989, allocations: 1.094 kB / 495.7 MB, free: 17.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.3989, allocations: 0 / 495.7 MB, free: 17.52 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.0005049/0.3994, allocations: 380 kB / 496 MB, free: 17.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.3994, allocations: 14.02 kB / 496 MB, free: 17.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.667e-05/0.3995, allocations: 12.62 kB / 496.1 MB, free: 17.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.3997, allocations: 188.2 kB / 496.2 MB, free: 16.92 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.3997, allocations: 6.031 kB / 496.2 MB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.211e-05/0.3998, allocations: 2.734 kB / 496.2 MB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.3999, allocations: 78.36 kB / 496.3 MB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.4, allocations: 0 / 496.3 MB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.4, allocations: 4 kB / 496.3 MB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.4, allocations: 1.469 kB / 496.3 MB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.4001, allocations: 33.19 kB / 496.4 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004082/0.4005, allocations: 293 kB / 496.6 MB, free: 16.55 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001314/0.4007, allocations: 59.88 kB / 496.7 MB, free: 16.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.049e-05/0.4008, allocations: 21.61 kB / 496.7 MB, free: 16.49 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.292e-05/0.4008, allocations: 4.641 kB / 496.7 MB, free: 16.49 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.4008, allocations: 35.81 kB / 496.8 MB, free: 16.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.4008, allocations: 1.5 kB / 496.8 MB, free: 16.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006782/0.4015, allocations: 177.2 kB / 496.9 MB, free: 16.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.4016, allocations: 79.2 kB / 497 MB, free: 16.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.4017, allocations: 143 kB / 497.2 MB, free: 16.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.4018, allocations: 31.02 kB / 497.2 MB, free: 16.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.571e-05/0.4018, allocations: 93.14 kB / 497.3 MB, free: 16.03 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.798e-05/0.4018, allocations: 32.55 kB / 497.3 MB, free: 16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.122e-05/0.4019, allocations: 22.05 kB / 497.3 MB, free: 15.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.135e-05/0.402, allocations: 318.8 kB / 497.6 MB, free: 15.67 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.279e-05/0.4021, allocations: 23.42 kB / 497.7 MB, free: 15.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.317e-05/0.4021, allocations: 43.78 kB / 497.7 MB, free: 15.64 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.4023, allocations: 63.28 kB / 497.8 MB, free: 15.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-06/0.4023, allocations: 0 / 497.8 MB, free: 15.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002047/0.4025, allocations: 92.55 kB / 497.9 MB, free: 15.56 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.4026, allocations: 6.906 kB / 497.9 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.4026, allocations: 0 / 497.9 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.4026, allocations: 0 / 497.9 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.4027, allocations: 18.08 kB / 497.9 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.4027, allocations: 4.031 kB / 497.9 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.582e-05/0.4028, allocations: 17.59 kB / 497.9 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.4028, allocations: 2.469 kB / 497.9 MB, free: 15.55 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 7.36e-05/0.4029, allocations: 124.9 kB / 498 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.338e-05/0.4029, allocations: 3.656 kB / 498 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.282e-05/0.403, allocations: 11.59 kB / 498 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.403, allocations: 1.984 kB / 498 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.403, allocations: 0 / 498 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.403, allocations: 7.938 kB / 498.1 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004567/0.4034, allocations: 384 kB / 498.4 MB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.4035, allocations: 0 / 498.4 MB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.52e-05/0.4036, allocations: 17.41 kB / 498.4 MB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.4036, allocations: 5.094 kB / 498.5 MB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.4036, allocations: 5.125 kB / 498.5 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.4036, allocations: 1.125 kB / 498.5 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4036, allocations: 4.812 kB / 498.5 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002419/0.4038, allocations: 200.5 kB / 498.7 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.992e-05/0.4039, allocations: 83.23 kB / 498.7 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.4039, allocations: 6.078 kB / 498.7 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.965e-05/0.404, allocations: 5.859 kB / 498.8 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.043e-05/0.404, allocations: 9.125 kB / 498.8 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.4041, allocations: 7.453 kB / 498.8 MB, free: 14.78 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.264e-05/0.4041, allocations: 109.9 kB / 498.9 MB, free: 14.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4041, allocations: 0 / 498.9 MB, free: 14.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002725/0.4044, allocations: 26.97 kB / 498.9 MB, free: 14.69 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.0009414/0.4054, allocations: 443.4 kB / 499.3 MB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002425/0.4056, allocations: 73.53 kB / 499.4 MB, free: 14.31 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4056, allocations: 0 / 499.4 MB, free: 14.31 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.448e-05/0.4057, allocations: 35.28 kB / 499.4 MB, free: 14.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.406, allocations: 18.45 kB / 499.5 MB, free: 14.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004038/0.4064, allocations: 174.3 kB / 499.6 MB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001615/0.4066, allocations: 0.7002 MB / 0.4886 GB, free: 13.46 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.527e-05/0.4067, allocations: 18.25 kB / 0.4886 GB, free: 13.45 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.18e-05/0.4067, allocations: 20.56 kB / 0.4886 GB, free: 13.44 MB / 382.1 MB Notification: Performance of SimCode: time 1.9e-07/0.4067, allocations: 0 / 0.4886 GB, free: 13.44 MB / 382.1 MB Notification: Performance of Templates: time 0.00495/0.4117, allocations: 1.449 MB / 0.4901 GB, free: 13.26 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1)