Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.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.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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.CombiTable2D.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24") translateModel(ModelicaTest.Tables.CombiTable2D.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 108.3 kB / 16.64 MB, free: 6.812 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.001541/0.001542, allocations: 186 kB / 17.56 MB, free: 5.926 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.415/1.415, allocations: 205.1 MB / 223.4 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1918/0.1918, allocations: 43.51 MB / 314.3 MB, free: 0.6992 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: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 68.84 kB / 382.9 MB, free: 56.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08602/0.08754, allocations: 57.79 MB / 440.7 MB, free: 7.336 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test24): time 0.002867/0.09045, allocations: 1.665 MB / 442.3 MB, free: 5.652 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005009/0.09098, allocations: 319.5 kB / 442.6 MB, free: 5.336 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.226e-05/0.09106, allocations: 0 / 442.6 MB, free: 5.336 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002356/0.09131, allocations: 47.88 kB / 442.7 MB, free: 5.289 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001898/0.09153, allocations: 35.89 kB / 442.7 MB, free: 5.254 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002553/0.09179, allocations: 111.4 kB / 442.8 MB, free: 5.148 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.09191, allocations: 63.84 kB / 442.9 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.268e-05/0.092, allocations: 20.39 kB / 442.9 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.602e-05/0.09205, allocations: 35.84 kB / 442.9 MB, free: 5.031 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.883e-05/0.09213, allocations: 35.84 kB / 443 MB, free: 4.996 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.09214, allocations: 4 kB / 443 MB, free: 4.992 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.558e-05/0.09223, allocations: 39.97 kB / 443 MB, free: 4.953 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.528e-05/0.09229, allocations: 15.92 kB / 443 MB, free: 4.938 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.599e-05/0.09232, allocations: 27.81 kB / 443.1 MB, free: 4.91 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.09243, allocations: 55.91 kB / 443.1 MB, free: 4.855 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.09244, allocations: 0 / 443.1 MB, free: 4.855 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.09245, allocations: 0 / 443.1 MB, free: 4.855 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.09246, allocations: 0 / 443.1 MB, free: 4.855 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003663/0.09283, allocations: 403 kB / 443.5 MB, free: 4.414 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.09287, allocations: 11.89 kB / 443.5 MB, free: 4.402 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.09291, allocations: 8.844 kB / 443.5 MB, free: 4.395 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.09305, allocations: 193.4 kB / 443.7 MB, free: 4.168 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.09307, allocations: 4.375 kB / 443.7 MB, free: 4.164 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.0931, allocations: 4.375 kB / 443.7 MB, free: 4.16 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.09324, allocations: 65.61 kB / 443.8 MB, free: 4.09 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.09326, allocations: 0 / 443.8 MB, free: 4.09 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.09327, allocations: 4 kB / 443.8 MB, free: 4.086 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.09328, allocations: 0 / 443.8 MB, free: 4.086 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.0934, allocations: 39.91 kB / 443.8 MB, free: 4.047 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002594/0.09366, allocations: 284.7 kB / 444.1 MB, free: 3.719 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.09378, allocations: 50.5 kB / 444.2 MB, free: 3.66 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.817e-05/0.09384, allocations: 24.94 kB / 444.2 MB, free: 3.633 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.09387, allocations: 0 / 444.2 MB, free: 3.633 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.232e-05/0.09389, allocations: 38.5 kB / 444.2 MB, free: 3.586 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.09389, allocations: 0 / 444.2 MB, free: 3.586 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006365/0.09454, allocations: 209.2 kB / 444.4 MB, free: 3.375 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.969e-05/0.09457, allocations: 55.41 kB / 444.5 MB, free: 3.309 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.09468, allocations: 168.8 kB / 444.6 MB, free: 3.137 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.0947, allocations: 25.7 kB / 444.7 MB, free: 3.105 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.122e-05/0.09473, allocations: 104 kB / 444.8 MB, free: 3 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/0.09476, allocations: 15.66 kB / 444.8 MB, free: 2.984 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.122e-05/0.09479, allocations: 29.66 kB / 444.8 MB, free: 2.949 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.489e-05/0.09484, allocations: 318.8 kB / 445.1 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.597e-05/0.09495, allocations: 35.97 kB / 445.2 MB, free: 2.594 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.475e-05/0.09504, allocations: 31.97 kB / 445.2 MB, free: 2.562 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.09521, allocations: 72.81 kB / 445.3 MB, free: 2.488 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.09522, allocations: 4 kB / 445.3 MB, free: 2.484 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002187/0.09545, allocations: 113.5 kB / 445.4 MB, free: 2.367 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.09547, allocations: 5.25 kB / 445.4 MB, free: 2.363 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.09548, allocations: 288 / 445.4 MB, free: 2.363 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.09549, allocations: 0 / 445.4 MB, free: 2.363 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.0956, allocations: 19.98 kB / 445.4 MB, free: 2.344 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.09561, allocations: 4 kB / 445.4 MB, free: 2.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.131e-05/0.09567, allocations: 15.92 kB / 445.4 MB, free: 2.324 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.323e-06/0.09568, allocations: 4 kB / 445.4 MB, free: 2.32 MB / 318.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 (7): * Single equations (assignments): 7 * 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.673e-05/0.09574, allocations: 129.8 kB / 445.6 MB, free: 2.184 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.961e-05/0.09578, allocations: 11.89 kB / 445.6 MB, free: 2.172 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002625/0.09605, allocations: 126.6 kB / 445.7 MB, free: 2.039 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.09606, allocations: 4 kB / 445.7 MB, free: 2.035 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.09607, allocations: 0 / 445.7 MB, free: 2.035 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.09607, allocations: 3.938 kB / 445.7 MB, free: 2.031 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003728/0.09645, allocations: 386.6 kB / 446.1 MB, free: 1.598 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.09646, allocations: 0 / 446.1 MB, free: 1.598 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.396e-05/0.09654, allocations: 27.92 kB / 446.1 MB, free: 1.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.09655, allocations: 0 / 446.1 MB, free: 1.57 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.09656, allocations: 7.875 kB / 446.1 MB, free: 1.562 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.09657, allocations: 0 / 446.1 MB, free: 1.562 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.09657, allocations: 4 kB / 446.1 MB, free: 1.559 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002274/0.09681, allocations: 207.3 kB / 446.3 MB, free: 1.34 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.048e-05/0.09684, allocations: 93 kB / 446.4 MB, free: 1.23 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.09686, allocations: 3.938 kB / 446.4 MB, free: 1.227 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.843e-05/0.09694, allocations: 8 kB / 446.4 MB, free: 1.219 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.055e-05/0.097, allocations: 7.984 kB / 446.4 MB, free: 1.211 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.09701, allocations: 0 / 446.4 MB, free: 1.211 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.012e-05/0.09707, allocations: 131.2 kB / 446.6 MB, free: 1.082 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.09708, allocations: 0 / 446.6 MB, free: 1.082 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002324/0.09731, allocations: 16 kB / 446.6 MB, free: 1.066 MB / 318.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 (7): * Single equations (assignments): 7 * 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.0008166/0.09814, allocations: 407.1 kB / 447 MB, free: 0.75 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002447/0.09839, allocations: 75.94 kB / 447 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.0984, allocations: 0 / 447 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.09851, allocations: 43.91 kB / 447.1 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.09884, allocations: 19.98 kB / 447.1 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003342/0.09919, allocations: 251.7 kB / 447.4 MB, free: 344 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/0.0994, allocations: 0.706 MB / 448.1 MB, free: 15.61 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.344e-05/0.09944, allocations: 15.44 kB / 448.1 MB, free: 15.59 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.09945, allocations: 0 / 448.1 MB, free: 15.59 MB / 334.1 MB Notification: Performance of Templates: time 0.003082/0.1025, allocations: 1.556 MB / 449.6 MB, free: 14.04 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test24/Test24.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches