Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 106.5 kB / 17.2 MB, free: 6.289 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.001301/0.001301, allocations: 194 kB / 18.12 MB, free: 5.383 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.423/1.423, allocations: 222.9 MB / 241.8 MB, free: 15.51 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.2161/0.2161, allocations: 44.18 MB / 336.1 MB, free: 3.031 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 68.3 kB / 407.7 MB, free: 27.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1329, allocations: 60.83 MB / 468.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.003581/0.1365, allocations: 1.665 MB / 470.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008606/0.1374, allocations: 427.2 kB / 470.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.314e-05/0.1375, allocations: 0 / 470.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005925/0.1381, allocations: 447.2 kB / 471 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003428/0.1384, allocations: 243.6 kB / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003354/0.1388, allocations: 122.5 kB / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002321/0.139, allocations: 159.7 kB / 471.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.1391, allocations: 8.188 kB / 471.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.1392, allocations: 103.8 kB / 471.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002622/0.1395, allocations: 211.5 kB / 471.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.1395, allocations: 0 / 471.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.546e-05/0.1396, allocations: 28 kB / 471.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001353/0.1398, allocations: 87.62 kB / 472 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.607e-05/0.1399, allocations: 99.05 kB / 472.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002879/0.1402, allocations: 235 kB / 472.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1402, allocations: 0 / 472.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1402, allocations: 0 / 472.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.1402, allocations: 4 kB / 472.3 MB, free: 11.06 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009472/0.1412, allocations: 0.6262 MB / 472.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.802e-05/0.1412, allocations: 8.031 kB / 472.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.491e-05/0.1413, allocations: 48.31 kB / 473 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003931/0.1417, allocations: 296.2 kB / 473.3 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.1418, allocations: 4.375 kB / 473.3 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.899e-05/0.1418, allocations: 8.375 kB / 473.3 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.142, allocations: 49.62 kB / 473.3 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.142, allocations: 3.984 kB / 473.3 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.142, allocations: 4 kB / 473.4 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.142, allocations: 4 kB / 473.4 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.988e-05/0.1421, allocations: 23.98 kB / 473.4 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006338/0.1428, allocations: 384.6 kB / 473.8 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002564/0.143, allocations: 42.56 kB / 473.8 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.744e-05/0.1431, allocations: 16.94 kB / 473.8 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.1431, allocations: 0 / 473.8 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.1432, allocations: 38.56 kB / 473.9 MB, free: 9.355 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1432, allocations: 0 / 473.9 MB, free: 9.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000745/0.1439, allocations: 224 kB / 474.1 MB, free: 9.129 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.247e-05/0.144, allocations: 55.41 kB / 474.1 MB, free: 9.062 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009442/0.145, allocations: 0.8574 MB / 475 MB, free: 8.195 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.145, allocations: 25.7 kB / 475 MB, free: 8.164 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00022/0.1452, allocations: 224 kB / 475.2 MB, free: 7.941 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.796e-05/0.1453, allocations: 19.72 kB / 475.2 MB, free: 7.922 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.107e-05/0.1453, allocations: 17.72 kB / 475.3 MB, free: 7.898 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002145/0.1455, allocations: 358.8 kB / 475.6 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.851e-05/0.1456, allocations: 27.92 kB / 475.6 MB, free: 7.512 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.494e-05/0.1457, allocations: 19.98 kB / 475.7 MB, free: 7.492 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.1458, allocations: 36.84 kB / 475.7 MB, free: 7.453 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1458, allocations: 0 / 475.7 MB, free: 7.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002134/0.1461, allocations: 117.2 kB / 475.8 MB, free: 7.332 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.1461, allocations: 4 kB / 475.8 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.1461, allocations: 0 / 475.8 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.1461, allocations: 4 kB / 475.8 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.433e-05/0.1462, allocations: 15.98 kB / 475.8 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.1462, allocations: 3.938 kB / 475.8 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.471e-05/0.1463, allocations: 8.219 kB / 475.8 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.1463, allocations: 0 / 475.8 MB, free: 7.297 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 (5): * Single equations (assignments): 5 * 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.0002448/0.1466, allocations: 218.2 kB / 476.1 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.346e-05/0.1466, allocations: 43.44 kB / 476.1 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003182/0.147, allocations: 133.4 kB / 476.2 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.147, allocations: 4 kB / 476.2 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.147, allocations: 0 / 476.2 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.147, allocations: 7.938 kB / 476.2 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005168/0.1475, allocations: 450.4 kB / 476.7 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1475, allocations: 0 / 476.7 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.536e-05/0.1476, allocations: 19.98 kB / 476.7 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1476, allocations: 4 kB / 476.7 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.1476, allocations: 3.938 kB / 476.7 MB, free: 6.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1476, allocations: 0 / 476.7 MB, free: 6.355 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1476, allocations: 0 / 476.7 MB, free: 6.355 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002483/0.1479, allocations: 214.9 kB / 476.9 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.339e-05/0.148, allocations: 104.6 kB / 477 MB, free: 6.008 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.148, allocations: 7.938 kB / 477 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.293e-05/0.1481, allocations: 4 kB / 477 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.337e-05/0.1481, allocations: 7.984 kB / 477 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-06/0.1481, allocations: 0 / 477 MB, free: 5.988 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005779/0.1487, allocations: 0.6472 MB / 477.7 MB, free: 5.344 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1487, allocations: 0 / 477.7 MB, free: 5.344 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002532/0.149, allocations: 28 kB / 477.7 MB, free: 5.316 MB / 350.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 (5): * Single equations (assignments): 5 * 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.0009351/0.1499, allocations: 400.4 kB / 478.1 MB, free: 5.074 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000198/0.1501, allocations: 47.97 kB / 478.2 MB, free: 5.027 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.1501, allocations: 4 kB / 478.2 MB, free: 5.023 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.878e-05/0.1502, allocations: 23.92 kB / 478.2 MB, free: 5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004324/0.1507, allocations: 25.95 kB / 478.2 MB, free: 4.977 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.152, allocations: 0.8593 MB / 479.1 MB, free: 4.094 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004288/0.1524, allocations: 0.8224 MB / 479.9 MB, free: 3.242 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.678e-05/0.1525, allocations: 7.984 kB / 479.9 MB, free: 3.234 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.115e-05/0.1525, allocations: 19.42 kB / 479.9 MB, free: 3.215 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1525, allocations: 0 / 479.9 MB, free: 3.215 MB / 350.1 MB Notification: Performance of Templates: time 0.004931/0.1574, allocations: 1.412 MB / 481.3 MB, free: 1.812 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches