Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.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.CombiTable2Ds.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001121/0.001121, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.293/1.293, allocations: 222.9 MB / 242.2 MB, free: 15.21 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.2088/0.2088, allocations: 44.17 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 66.17 kB / 408.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1294, allocations: 60.82 MB / 469.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test26): time 0.003741/0.1332, allocations: 1.623 MB / 470.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009695/0.1342, allocations: 431.1 kB / 471.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.495e-05/0.1343, allocations: 0 / 471.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002845/0.1346, allocations: 67.72 kB / 471.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002195/0.1349, allocations: 51.81 kB / 471.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003777/0.1353, allocations: 131.1 kB / 471.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000157/0.1354, allocations: 79.75 kB / 471.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.1356, allocations: 16 kB / 471.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.132e-05/0.1356, allocations: 35.91 kB / 471.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.1358, allocations: 39.83 kB / 471.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.1358, allocations: 4 kB / 471.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.1359, allocations: 47.98 kB / 471.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.931e-05/0.136, allocations: 23.92 kB / 471.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.485e-05/0.136, allocations: 31.73 kB / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001752/0.1362, allocations: 103.6 kB / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1362, allocations: 4 kB / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1362, allocations: 0 / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.1362, allocations: 0 / 471.9 MB, free: 11.68 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.0005195/0.1367, allocations: 407.4 kB / 472.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.1368, allocations: 8.031 kB / 472.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.345e-05/0.1368, allocations: 16.75 kB / 472.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.137, allocations: 188.8 kB / 472.5 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.1371, allocations: 384 / 472.5 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.1371, allocations: 11.84 kB / 472.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.1373, allocations: 69.61 kB / 472.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.1373, allocations: 11.98 kB / 472.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.1373, allocations: 0 / 472.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.1373, allocations: 0 / 472.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001292/0.1374, allocations: 35.97 kB / 472.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003722/0.1378, allocations: 308.7 kB / 473 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002896/0.1381, allocations: 50.56 kB / 473 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.024e-05/0.1382, allocations: 24.97 kB / 473 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.1382, allocations: 0 / 473 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.1383, allocations: 38.55 kB / 473.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 7.51e-07/0.1383, allocations: 4 kB / 473.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.00135/0.1396, allocations: 396.7 kB / 473.5 MB, free: 9.973 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.1397, allocations: 51.41 kB / 473.5 MB, free: 9.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.1398, allocations: 176.5 kB / 473.7 MB, free: 9.723 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.1399, allocations: 25.7 kB / 473.7 MB, free: 9.691 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.259e-05/0.1399, allocations: 108.1 kB / 473.8 MB, free: 9.582 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.361e-05/0.14, allocations: 39.45 kB / 473.8 MB, free: 9.543 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.708e-05/0.14, allocations: 17.72 kB / 473.9 MB, free: 9.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.1401, allocations: 326.8 kB / 474.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.1403, allocations: 39.97 kB / 474.2 MB, free: 9.152 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.1404, allocations: 39.97 kB / 474.3 MB, free: 9.113 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002378/0.1406, allocations: 104.8 kB / 474.4 MB, free: 9.008 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1406, allocations: 3.938 kB / 474.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002859/0.1409, allocations: 141.4 kB / 474.5 MB, free: 8.859 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.1409, allocations: 4 kB / 474.5 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.141, allocations: 0 / 474.5 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.141, allocations: 4 kB / 474.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.1411, allocations: 28.55 kB / 474.5 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.1411, allocations: 4 kB / 474.5 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.662e-05/0.1412, allocations: 7.984 kB / 474.6 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.1412, allocations: 4 kB / 474.6 MB, free: 8.809 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.0001064/0.1413, allocations: 129.8 kB / 474.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.756e-05/0.1413, allocations: 15.75 kB / 474.7 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003731/0.1417, allocations: 166.7 kB / 474.9 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1417, allocations: 0 / 474.9 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1417, allocations: 0 / 474.9 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.1417, allocations: 4 kB / 474.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006223/0.1424, allocations: 472 kB / 475.3 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1424, allocations: 0 / 475.3 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.364e-05/0.1425, allocations: 23.98 kB / 475.4 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.1425, allocations: 4 kB / 475.4 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.1425, allocations: 96 / 475.4 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.1425, allocations: 7.875 kB / 475.4 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.1425, allocations: 7.984 kB / 475.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003641/0.1429, allocations: 257 kB / 475.6 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.003e-05/0.143, allocations: 85.02 kB / 475.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.143, allocations: 0 / 475.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.926e-05/0.1431, allocations: 19.98 kB / 475.7 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.428e-05/0.1431, allocations: 11.92 kB / 475.7 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.1431, allocations: 7.938 kB / 475.7 MB, free: 7.504 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.794e-05/0.1432, allocations: 140.5 kB / 475.9 MB, free: 7.367 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1432, allocations: 0 / 475.9 MB, free: 7.367 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.1435, allocations: 24 kB / 475.9 MB, free: 7.344 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.001005/0.1445, allocations: 453.8 kB / 476.3 MB, free: 7.078 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003167/0.1448, allocations: 107.9 kB / 476.5 MB, free: 6.973 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1449, allocations: 4 kB / 476.5 MB, free: 6.969 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001336/0.145, allocations: 59.89 kB / 476.5 MB, free: 6.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.1454, allocations: 18.05 kB / 476.5 MB, free: 6.895 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004439/0.1458, allocations: 279.7 kB / 476.8 MB, free: 6.586 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.1461, allocations: 0.7041 MB / 477.5 MB, free: 5.855 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.846e-05/0.1462, allocations: 20.59 kB / 477.5 MB, free: 5.836 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.678e-05/0.1462, allocations: 15.44 kB / 477.5 MB, free: 5.82 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1462, allocations: 3.938 kB / 477.5 MB, free: 5.816 MB / 350.1 MB Notification: Performance of Templates: time 0.004087/0.1503, allocations: 1.54 MB / 479.1 MB, free: 4.289 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test26/Test26.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches