Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable2D.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001925/0.001925, allocations: 183.9 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.624/1.624, allocations: 205.4 MB / 221.9 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009354/0.0009354, allocations: 90.86 kB / 270.2 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1986/0.1986, allocations: 43.55 MB / 362.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000397/0.0003969, allocations: 16 kB / 431.4 MB, free: 19.63 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1362, allocations: 58.85 MB / 490.2 MB, free: 8.707 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4605/0.5968, allocations: 87.09 MB / 0.5638 GB, free: 12.71 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002074/0.5971, allocations: 79.73 kB / 0.5639 GB, free: 12.67 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01114/0.6082, allocations: 4.476 MB / 0.5682 GB, free: 9.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.6083, allocations: 0 / 0.5682 GB, free: 9.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.6083, allocations: 0 / 0.5682 GB, free: 9.09 MB / 378.7 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.0005701/0.6089, allocations: 394.2 kB / 0.5686 GB, free: 8.664 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.6089, allocations: 16.02 kB / 0.5686 GB, free: 8.648 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.326e-05/0.609, allocations: 11.86 kB / 0.5687 GB, free: 8.637 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.6092, allocations: 198.3 kB / 0.5688 GB, free: 8.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.6092, allocations: 0 / 0.5688 GB, free: 8.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.6093, allocations: 4 kB / 0.5688 GB, free: 8.406 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002246/0.6095, allocations: 71.27 kB / 0.5689 GB, free: 8.332 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.6095, allocations: 3.906 kB / 0.5689 GB, free: 8.328 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.6095, allocations: 0 / 0.5689 GB, free: 8.328 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.6096, allocations: 4 kB / 0.5689 GB, free: 8.324 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/0.6097, allocations: 43.28 kB / 0.569 GB, free: 8.289 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003932/0.6101, allocations: 289.6 kB / 0.5692 GB, free: 7.977 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.6102, allocations: 53.42 kB / 0.5693 GB, free: 7.922 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/0.6103, allocations: 7.922 kB / 0.5693 GB, free: 7.914 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.6103, allocations: 34.56 kB / 0.5693 GB, free: 7.871 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.6103, allocations: 0 / 0.5693 GB, free: 7.871 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007673/0.6111, allocations: 244.6 kB / 0.5696 GB, free: 7.652 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.825e-05/0.6112, allocations: 81.09 kB / 0.5696 GB, free: 7.555 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.6113, allocations: 123.5 kB / 0.5698 GB, free: 7.434 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.6113, allocations: 29.02 kB / 0.5698 GB, free: 7.402 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.43e-05/0.6114, allocations: 94.75 kB / 0.5699 GB, free: 7.312 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/0.6114, allocations: 31.06 kB / 0.5699 GB, free: 7.285 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-06/0.6114, allocations: 0 / 0.5699 GB, free: 7.285 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.6115, allocations: 318.6 kB / 0.5702 GB, free: 6.969 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.6117, allocations: 46.59 kB / 0.5703 GB, free: 6.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.6118, allocations: 53.38 kB / 0.5703 GB, free: 6.875 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001071/0.6119, allocations: 39.34 kB / 0.5703 GB, free: 6.844 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.6119, allocations: 4 kB / 0.5703 GB, free: 6.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002518/0.6122, allocations: 119.4 kB / 0.5705 GB, free: 6.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.6122, allocations: 14.91 kB / 0.5705 GB, free: 6.719 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.6122, allocations: 0 / 0.5705 GB, free: 6.719 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.6122, allocations: 7.953 kB / 0.5705 GB, free: 6.711 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.6123, allocations: 19.98 kB / 0.5705 GB, free: 6.691 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.6124, allocations: 8.25 kB / 0.5705 GB, free: 6.684 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.4e-05/0.6124, allocations: 15.3 kB / 0.5705 GB, free: 6.672 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.6124, allocations: 4 kB / 0.5705 GB, free: 6.668 MB / 378.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.459e-05/0.6125, allocations: 117.8 kB / 0.5706 GB, free: 6.547 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.136e-05/0.6126, allocations: 7.906 kB / 0.5706 GB, free: 6.539 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003301/0.6129, allocations: 146.8 kB / 0.5708 GB, free: 6.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.6129, allocations: 7.953 kB / 0.5708 GB, free: 6.402 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.6129, allocations: 0 / 0.5708 GB, free: 6.402 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.613, allocations: 0 / 0.5708 GB, free: 6.402 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006088/0.6136, allocations: 409.1 kB / 0.5712 GB, free: 5.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.6136, allocations: 0 / 0.5712 GB, free: 5.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.406e-05/0.6137, allocations: 23.98 kB / 0.5712 GB, free: 5.957 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.6137, allocations: 7.953 kB / 0.5712 GB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.6137, allocations: 3.812 kB / 0.5712 GB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.6137, allocations: 0 / 0.5712 GB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.6137, allocations: 4 kB / 0.5712 GB, free: 5.945 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003204/0.614, allocations: 220.9 kB / 0.5714 GB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.607e-05/0.6141, allocations: 91.56 kB / 0.5715 GB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.256e-05/0.6141, allocations: 4.953 kB / 0.5715 GB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.392e-05/0.6142, allocations: 17.11 kB / 0.5715 GB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.319e-05/0.6143, allocations: 4.609 kB / 0.5715 GB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-06/0.6143, allocations: 4.5 kB / 0.5715 GB, free: 5.594 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001092/0.6144, allocations: 116.7 kB / 0.5717 GB, free: 5.492 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6144, allocations: 4 kB / 0.5717 GB, free: 5.488 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002839/0.6147, allocations: 39.8 kB / 0.5717 GB, free: 5.453 MB / 378.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 () * 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 (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.001179/0.6159, allocations: 444.1 kB / 0.5721 GB, free: 5.062 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003445/0.6163, allocations: 100.3 kB / 0.5722 GB, free: 4.977 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.6163, allocations: 0 / 0.5722 GB, free: 4.977 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001287/0.6164, allocations: 53.25 kB / 0.5723 GB, free: 4.934 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/0.6167, allocations: 19.58 kB / 0.5723 GB, free: 4.918 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005784/0.6173, allocations: 196.7 kB / 0.5725 GB, free: 4.715 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004885/0.6178, allocations: 0.7004 MB / 0.5732 GB, free: 3.988 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.305e-05/0.6179, allocations: 4 kB / 0.5732 GB, free: 3.984 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.096e-05/0.6179, allocations: 19.42 kB / 0.5732 GB, free: 3.965 MB / 378.7 MB Notification: Performance of SimCode: time 1.222e-06/0.6179, allocations: 0 / 0.5732 GB, free: 3.965 MB / 378.7 MB Notification: Performance of Templates: time 0.00429/0.6222, allocations: 1.415 MB / 0.5746 GB, free: 2.559 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test31/Test31.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches