Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009459/0.0009458, allocations: 180 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 221.3 MB / 236 MB, free: 2.984 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007999/0.0008, allocations: 99.78 kB / 287 MB, free: 256 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1787/0.1787, allocations: 44.16 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.58e-05/3.595e-05, allocations: 4 kB / 451.8 MB, free: 9.469 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1146, allocations: 61.92 MB / 0.5017 GB, free: 11.49 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3438/0.4584, allocations: 90.36 MB / 0.5899 GB, free: 14.99 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001936/0.4586, allocations: 71.95 kB / 0.59 GB, free: 14.92 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02089/0.4795, allocations: 8.636 MB / 0.5984 GB, free: 6.277 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.4796, allocations: 0 / 0.5984 GB, free: 6.277 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.139e-05/0.4796, allocations: 12 kB / 0.5984 GB, free: 6.266 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006036/0.4803, allocations: 0.5171 MB / 0.599 GB, free: 5.703 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.4803, allocations: 8.031 kB / 0.599 GB, free: 5.695 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.337e-05/0.4804, allocations: 39.53 kB / 0.599 GB, free: 5.656 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005079/0.4809, allocations: 333.2 kB / 0.5993 GB, free: 5.289 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.4809, allocations: 8 kB / 0.5993 GB, free: 5.281 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.481, allocations: 4 kB / 0.5993 GB, free: 5.277 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.4811, allocations: 73.67 kB / 0.5994 GB, free: 5.199 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.4812, allocations: 3.938 kB / 0.5994 GB, free: 5.195 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.4812, allocations: 0 / 0.5994 GB, free: 5.195 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.4812, allocations: 4 kB / 0.5994 GB, free: 5.191 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.215e-05/0.4813, allocations: 40 kB / 0.5994 GB, free: 5.152 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006439/0.4819, allocations: 468.3 kB / 0.5999 GB, free: 4.645 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.482, allocations: 50.58 kB / 0.5999 GB, free: 4.586 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.266e-05/0.4821, allocations: 20.98 kB / 0.6 GB, free: 4.562 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.889e-05/0.4821, allocations: 7.984 kB / 0.6 GB, free: 4.555 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.4822, allocations: 34.5 kB / 0.6 GB, free: 4.512 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.4822, allocations: 0 / 0.6 GB, free: 4.512 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002307/0.4824, allocations: 109.2 kB / 0.6001 GB, free: 4.398 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.4825, allocations: 51.41 kB / 0.6002 GB, free: 4.336 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005852/0.483, allocations: 491 kB / 0.6006 GB, free: 3.848 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.4831, allocations: 25.7 kB / 0.6006 GB, free: 3.816 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/0.4832, allocations: 200.3 kB / 0.6008 GB, free: 3.613 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/0.4832, allocations: 11.81 kB / 0.6008 GB, free: 3.602 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-06/0.4833, allocations: 4 kB / 0.6009 GB, free: 3.598 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.4834, allocations: 346.8 kB / 0.6012 GB, free: 3.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.907e-05/0.4834, allocations: 12 kB / 0.6012 GB, free: 3.238 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.521e-05/0.4835, allocations: 20 kB / 0.6012 GB, free: 3.219 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.833e-05/0.4835, allocations: 15.98 kB / 0.6012 GB, free: 3.203 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.4835, allocations: 0 / 0.6012 GB, free: 3.203 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001419/0.4837, allocations: 101.2 kB / 0.6013 GB, free: 3.098 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.4837, allocations: 7.938 kB / 0.6013 GB, free: 3.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.4837, allocations: 0 / 0.6013 GB, free: 3.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.4837, allocations: 0 / 0.6013 GB, free: 3.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.802e-05/0.4838, allocations: 15.98 kB / 0.6013 GB, free: 3.074 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.4838, allocations: 3.953 kB / 0.6014 GB, free: 3.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.978e-05/0.4839, allocations: 15.94 kB / 0.6014 GB, free: 3.055 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.4839, allocations: 0 / 0.6014 GB, free: 3.055 MB / 410.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.243e-05/0.484, allocations: 105 kB / 0.6015 GB, free: 2.945 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.135e-05/0.4841, allocations: 39.53 kB / 0.6015 GB, free: 2.906 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000215/0.4843, allocations: 129.2 kB / 0.6016 GB, free: 2.777 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.4843, allocations: 0 / 0.6016 GB, free: 2.777 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.4843, allocations: 0 / 0.6016 GB, free: 2.777 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.4843, allocations: 3.953 kB / 0.6016 GB, free: 2.773 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002944/0.4846, allocations: 297.5 kB / 0.6019 GB, free: 2.434 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.4846, allocations: 0 / 0.6019 GB, free: 2.434 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.398e-05/0.4847, allocations: 12 kB / 0.6019 GB, free: 2.422 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.4847, allocations: 0 / 0.6019 GB, free: 2.422 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.4847, allocations: 8 kB / 0.6019 GB, free: 2.414 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.4847, allocations: 3.984 kB / 0.6019 GB, free: 2.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.4847, allocations: 0 / 0.6019 GB, free: 2.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001997/0.4849, allocations: 199 kB / 0.6021 GB, free: 2.199 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000148/0.4851, allocations: 144.7 kB / 0.6023 GB, free: 2.039 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.479e-05/0.4851, allocations: 4 kB / 0.6023 GB, free: 2.035 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.348e-05/0.4853, allocations: 7.938 kB / 0.6023 GB, free: 2.027 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/0.4853, allocations: 3.938 kB / 0.6023 GB, free: 2.023 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.4853, allocations: 4 kB / 0.6023 GB, free: 2.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004357/0.4857, allocations: 397.1 kB / 0.6027 GB, free: 1.633 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4858, allocations: 0 / 0.6027 GB, free: 1.633 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002738/0.486, allocations: 51.84 kB / 0.6027 GB, free: 1.582 MB / 410.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001281/0.4873, allocations: 0.5361 MB / 0.6032 GB, free: 1.195 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001409/0.4875, allocations: 39.94 kB / 0.6033 GB, free: 1.156 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.4875, allocations: 3.938 kB / 0.6033 GB, free: 1.152 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.923e-05/0.4875, allocations: 20 kB / 0.6033 GB, free: 1.133 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000406/0.4879, allocations: 72.67 kB / 0.6034 GB, free: 1.066 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008007/0.4888, allocations: 444.7 kB / 0.6038 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/0.4892, allocations: 0.7946 MB / 0.6046 GB, free: 15.79 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001172/0.4893, allocations: 49.28 kB / 0.6046 GB, free: 15.74 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.112e-05/0.4894, allocations: 27.42 kB / 0.6046 GB, free: 15.71 MB / 426.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4894, allocations: 0 / 0.6046 GB, free: 15.71 MB / 426.7 MB Notification: Performance of Templates: time 0.006276/0.4957, allocations: 3.032 MB / 0.6076 GB, free: 12.69 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test19/Test19.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches