Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.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 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 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) 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.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 107.6 kB / 17.32 MB, free: 5.672 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.001217/0.001217, allocations: 193.3 kB / 18.25 MB, free: 4.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 222.9 MB / 241.9 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2144/0.2144, allocations: 44.17 MB / 336.2 MB, free: 2.961 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 70.12 kB / 407.9 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1278, allocations: 60.82 MB / 468.7 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.003266/0.1311, allocations: 1.695 MB / 470.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009021/0.1321, allocations: 447.1 kB / 470.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.694e-05/0.1321, allocations: 4 kB / 470.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003526/0.1325, allocations: 47.83 kB / 470.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002423/0.1328, allocations: 47.88 kB / 470.9 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000487/0.1333, allocations: 158.1 kB / 471.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001565/0.1334, allocations: 83.75 kB / 471.2 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.1336, allocations: 23.98 kB / 471.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.658e-05/0.1336, allocations: 31.91 kB / 471.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.51e-05/0.1337, allocations: 47.77 kB / 471.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.1338, allocations: 4 kB / 471.3 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.1339, allocations: 55.91 kB / 471.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.346e-05/0.1339, allocations: 15.98 kB / 471.4 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.198e-05/0.134, allocations: 31.75 kB / 471.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.1342, allocations: 104 kB / 471.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1342, allocations: 0 / 471.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1342, allocations: 4 kB / 471.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.1342, allocations: 0 / 471.5 MB, free: 11.96 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005328/0.1347, allocations: 395.1 kB / 471.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.1348, allocations: 12.03 kB / 471.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.792e-05/0.1348, allocations: 12.75 kB / 471.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.135, allocations: 192.1 kB / 472.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.135, allocations: 8.375 kB / 472.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.1351, allocations: 384 / 472.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.1352, allocations: 69.8 kB / 472.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.1353, allocations: 0 / 472.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/0.1353, allocations: 8 kB / 472.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1353, allocations: 0 / 472.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.1354, allocations: 51.83 kB / 472.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004398/0.1359, allocations: 316.7 kB / 472.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002485/0.1361, allocations: 62.58 kB / 472.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.162e-05/0.1362, allocations: 28.95 kB / 472.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.1363, allocations: 0 / 472.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.1363, allocations: 34.56 kB / 472.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.1363, allocations: 4 kB / 472.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001484/0.1378, allocations: 421.3 kB / 473.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.1378, allocations: 55.34 kB / 473.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.138, allocations: 172.6 kB / 473.3 MB, free: 9.973 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.138, allocations: 25.7 kB / 473.3 MB, free: 9.941 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.581e-05/0.1381, allocations: 112 kB / 473.4 MB, free: 9.828 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.408e-05/0.1382, allocations: 35.41 kB / 473.5 MB, free: 9.793 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.604e-05/0.1382, allocations: 25.7 kB / 473.5 MB, free: 9.762 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.1383, allocations: 322.8 kB / 473.8 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.1385, allocations: 55.91 kB / 473.9 MB, free: 9.383 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.1386, allocations: 51.95 kB / 473.9 MB, free: 9.332 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002642/0.1389, allocations: 132.7 kB / 474 MB, free: 9.199 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.1389, allocations: 64 / 474 MB, free: 9.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003328/0.1392, allocations: 165.8 kB / 474.2 MB, free: 9.031 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.1393, allocations: 4 kB / 474.2 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.1393, allocations: 3.938 kB / 474.2 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.1393, allocations: 8 kB / 474.2 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.1394, allocations: 27.92 kB / 474.2 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.1394, allocations: 0 / 474.2 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.733e-05/0.1395, allocations: 7.984 kB / 474.3 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.1395, allocations: 8 kB / 474.3 MB, free: 8.973 MB / 350.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 (11): * Single equations (assignments): 11 * 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 0.0001157/0.1396, allocations: 130.4 kB / 474.4 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.533e-05/0.1397, allocations: 7.906 kB / 474.4 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004327/0.1401, allocations: 190.1 kB / 474.6 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.1401, allocations: 4 kB / 474.6 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.1401, allocations: 0 / 474.6 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.1401, allocations: 0 / 474.6 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000721/0.1409, allocations: 0.4921 MB / 475.1 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1409, allocations: 3.938 kB / 475.1 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.141, allocations: 28.08 kB / 475.1 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.141, allocations: 3.938 kB / 475.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.141, allocations: 4 kB / 475.1 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.141, allocations: 3.984 kB / 475.1 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.141, allocations: 0 / 475.1 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004039/0.1414, allocations: 277 kB / 475.4 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.653e-05/0.1415, allocations: 89 kB / 475.5 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.1415, allocations: 0 / 475.5 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.457e-05/0.1416, allocations: 16 kB / 475.5 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.596e-05/0.1417, allocations: 7.984 kB / 475.5 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.1417, allocations: 4 kB / 475.5 MB, free: 7.609 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001115/0.1418, allocations: 140.7 kB / 475.6 MB, free: 7.473 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1418, allocations: 0 / 475.6 MB, free: 7.473 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003143/0.1422, allocations: 20 kB / 475.7 MB, free: 7.453 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001067/0.1432, allocations: 456.2 kB / 476.1 MB, free: 7.184 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003608/0.1436, allocations: 143.8 kB / 476.2 MB, free: 7.043 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1436, allocations: 4 kB / 476.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001633/0.1438, allocations: 63.91 kB / 476.3 MB, free: 6.977 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.1442, allocations: 19.98 kB / 476.3 MB, free: 6.957 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005259/0.1447, allocations: 320.2 kB / 476.6 MB, free: 6.609 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.145, allocations: 0.7119 MB / 477.4 MB, free: 5.871 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001015/0.1451, allocations: 36.45 kB / 477.4 MB, free: 5.836 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.038e-05/0.1452, allocations: 15.44 kB / 477.4 MB, free: 5.82 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1452, allocations: 0 / 477.4 MB, free: 5.82 MB / 350.1 MB Notification: Performance of Templates: time 0.004246/0.1494, allocations: 1.544 MB / 479 MB, free: 4.289 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches