Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test23.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.Test23,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006388/0.006388, allocations: 100.5 kB / 15.73 MB, free: 6.035 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.001124/0.001124, allocations: 192.3 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.712/1.712, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.433/0.433, allocations: 38 MB / 307.9 MB, free: 10.07 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.001584/0.001584, allocations: 75.89 kB / 433 MB, free: 5.422 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4351/0.4367, allocations: 56.46 MB / 489.5 MB, free: 20.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.00327/0.4401, allocations: 1.541 MB / 491 MB, free: 18.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001504/0.4416, allocations: 0.9419 MB / 491.9 MB, free: 18.28 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.753e-05/0.4417, allocations: 1.406 kB / 491.9 MB, free: 18.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002461/0.4419, allocations: 15.5 kB / 492 MB, free: 18.27 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.0002076/0.4421, allocations: 45.3 kB / 492 MB, free: 18.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002456/0.4424, allocations: 65.84 kB / 492.1 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001721/0.4426, allocations: 62.62 kB / 492.1 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.4427, allocations: 15.64 kB / 492.1 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.289e-05/0.4428, allocations: 27.38 kB / 492.2 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001495/0.4429, allocations: 29.05 kB / 492.2 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.4429, allocations: 3.125 kB / 492.2 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.4431, allocations: 42.12 kB / 492.2 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.306e-05/0.4431, allocations: 16.33 kB / 492.3 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.975e-05/0.4432, allocations: 25.2 kB / 492.3 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.4434, allocations: 82.95 kB / 492.4 MB, free: 18.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.4434, allocations: 0 / 492.4 MB, free: 18.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4434, allocations: 0 / 492.4 MB, free: 18.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.4434, allocations: 0 / 492.4 MB, free: 18.07 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.0005079/0.4439, allocations: 378.4 kB / 492.7 MB, free: 17.69 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.444, allocations: 13.58 kB / 492.7 MB, free: 17.69 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.854e-05/0.444, allocations: 8.562 kB / 492.8 MB, free: 17.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/0.4443, allocations: 184.5 kB / 492.9 MB, free: 17.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.4443, allocations: 5.594 kB / 492.9 MB, free: 17.47 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.945e-05/0.4443, allocations: 6.219 kB / 492.9 MB, free: 17.47 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.4445, allocations: 65.55 kB / 493 MB, free: 17.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.4445, allocations: 0.6562 kB / 493 MB, free: 17.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.4445, allocations: 9.25 kB / 493 MB, free: 17.4 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.4446, allocations: 0 / 493 MB, free: 17.4 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.4447, allocations: 22.39 kB / 493 MB, free: 17.4 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003194/0.445, allocations: 272 kB / 493.3 MB, free: 17.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/0.4452, allocations: 44.98 kB / 493.4 MB, free: 17.08 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.1e-05/0.4453, allocations: 17.7 kB / 493.4 MB, free: 17.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.4453, allocations: 0.8906 kB / 493.4 MB, free: 17.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.4453, allocations: 35.41 kB / 493.4 MB, free: 17.03 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.4453, allocations: 1.094 kB / 493.4 MB, free: 17.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005756/0.4459, allocations: 135 kB / 493.5 MB, free: 16.96 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.446, allocations: 82.2 kB / 493.6 MB, free: 16.87 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.4461, allocations: 135.9 kB / 493.8 MB, free: 16.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.4461, allocations: 30.77 kB / 493.8 MB, free: 16.72 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.313e-05/0.4462, allocations: 89.09 kB / 493.9 MB, free: 16.63 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.388e-05/0.4462, allocations: 18.97 kB / 493.9 MB, free: 16.62 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.092e-05/0.4463, allocations: 19.75 kB / 493.9 MB, free: 16.6 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.642e-05/0.4463, allocations: 322 kB / 494.2 MB, free: 16.28 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.862e-05/0.4464, allocations: 14.12 kB / 494.2 MB, free: 16.28 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.385e-05/0.4465, allocations: 39.48 kB / 494.3 MB, free: 16.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.4466, allocations: 47.84 kB / 494.3 MB, free: 16.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.4466, allocations: 192 / 494.3 MB, free: 16.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001804/0.4468, allocations: 80.25 kB / 494.4 MB, free: 16.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.4469, allocations: 4.969 kB / 494.4 MB, free: 16.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.4469, allocations: 4.031 kB / 494.4 MB, free: 16.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.4469, allocations: 1.25 kB / 494.4 MB, free: 16.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.425e-05/0.447, allocations: 12.48 kB / 494.4 MB, free: 16.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.447, allocations: 1.125 kB / 494.4 MB, free: 16.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.326e-05/0.447, allocations: 5.312 kB / 494.4 MB, free: 16.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.403e-06/0.447, allocations: 1.125 kB / 494.4 MB, free: 16.18 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 7.361e-05/0.4471, allocations: 122.2 kB / 494.5 MB, free: 16.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.248e-05/0.4472, allocations: 7.594 kB / 494.6 MB, free: 16.05 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.548e-05/0.4472, allocations: 16.22 kB / 494.6 MB, free: 16.04 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.4472, allocations: 9.141 kB / 494.6 MB, free: 16.03 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.4472, allocations: 0 / 494.6 MB, free: 16.03 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.4472, allocations: 0 / 494.6 MB, free: 16.03 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004046/0.4476, allocations: 347.8 kB / 494.9 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4477, allocations: 0 / 494.9 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.426e-05/0.4477, allocations: 15.91 kB / 494.9 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.4477, allocations: 0.9688 kB / 494.9 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.4477, allocations: 1.125 kB / 494.9 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.4477, allocations: 7.938 kB / 494.9 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.4478, allocations: 2 kB / 494.9 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002096/0.448, allocations: 172.7 kB / 495.1 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.939e-05/0.448, allocations: 78.98 kB / 495.2 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.448, allocations: 1.938 kB / 495.2 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.785e-05/0.4481, allocations: 9.25 kB / 495.2 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.397e-05/0.4482, allocations: 15.75 kB / 495.2 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.4482, allocations: 1.094 kB / 495.2 MB, free: 15.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.912e-05/0.4482, allocations: 104.3 kB / 495.3 MB, free: 15.35 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4482, allocations: 0 / 495.3 MB, free: 15.35 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002609/0.4485, allocations: 19.58 kB / 495.3 MB, free: 15.35 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.001011/0.4495, allocations: 455 kB / 495.8 MB, free: 14.99 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002151/0.4498, allocations: 44.5 kB / 495.8 MB, free: 14.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.4498, allocations: 0 / 495.8 MB, free: 14.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.555e-05/0.4498, allocations: 24.78 kB / 495.9 MB, free: 14.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/0.4502, allocations: 25.31 kB / 495.9 MB, free: 14.96 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003595/0.4506, allocations: 162.4 kB / 496 MB, free: 14.83 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001833/0.4508, allocations: 0.6873 MB / 496.7 MB, free: 14.13 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.281e-05/0.4509, allocations: 7.438 kB / 496.7 MB, free: 14.13 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.066e-05/0.4509, allocations: 15 kB / 496.7 MB, free: 14.12 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4509, allocations: 0 / 496.7 MB, free: 14.12 MB / 382.1 MB Notification: Performance of Templates: time 0.005083/0.456, allocations: 1.352 MB / 498.1 MB, free: 13.96 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1)