Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") 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: 106.9 kB / 17.21 MB, free: 6.27 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.001366/0.001366, allocations: 194 kB / 18.12 MB, free: 5.363 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.484/1.484, allocations: 222.9 MB / 241.8 MB, free: 15.58 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.2266/0.2266, allocations: 44.17 MB / 336.1 MB, free: 3.027 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 64.53 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1308, allocations: 60.83 MB / 468.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003127/0.1339, allocations: 1.667 MB / 470.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009612/0.135, allocations: 451.2 kB / 470.6 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.37e-05/0.135, allocations: 0 / 470.6 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005931/0.1356, allocations: 459.2 kB / 471.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003056/0.136, allocations: 239.5 kB / 471.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004864/0.1365, allocations: 166.9 kB / 471.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002454/0.1367, allocations: 167.6 kB / 471.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.1369, allocations: 16 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.137, allocations: 115.7 kB / 471.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002437/0.1373, allocations: 199.6 kB / 472 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.1373, allocations: 0 / 472 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.963e-05/0.1374, allocations: 27.98 kB / 472 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.1375, allocations: 87.62 kB / 472.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.1376, allocations: 99 kB / 472.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002981/0.1379, allocations: 255.3 kB / 472.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.138, allocations: 0 / 472.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.138, allocations: 0 / 472.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.138, allocations: 0 / 472.4 MB, free: 10.93 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.0008041/0.1388, allocations: 0.64 MB / 473.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.1388, allocations: 8.031 kB / 473.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.086e-05/0.1389, allocations: 44.38 kB / 473.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003228/0.1392, allocations: 304.1 kB / 473.4 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.1393, allocations: 4.375 kB / 473.4 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.724e-05/0.1393, allocations: 8.375 kB / 473.4 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.1395, allocations: 61.8 kB / 473.5 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.1395, allocations: 0 / 473.5 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.1396, allocations: 4 kB / 473.5 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.1396, allocations: 0 / 473.5 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000143/0.1397, allocations: 39.95 kB / 473.5 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006268/0.1404, allocations: 412.6 kB / 473.9 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.1405, allocations: 38.56 kB / 474 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.707e-05/0.1406, allocations: 28.94 kB / 474 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.263e-05/0.1406, allocations: 3.984 kB / 474 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.1407, allocations: 38.56 kB / 474 MB, free: 9.148 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.412e-06/0.1407, allocations: 0 / 474 MB, free: 9.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009182/0.1416, allocations: 307.9 kB / 474.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.1416, allocations: 55.41 kB / 474.4 MB, free: 8.773 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008037/0.1425, allocations: 0.8535 MB / 475.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.1425, allocations: 25.7 kB / 475.3 MB, free: 7.879 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/0.1427, allocations: 212.1 kB / 475.5 MB, free: 7.668 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.44e-05/0.1427, allocations: 23.66 kB / 475.5 MB, free: 7.645 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.442e-05/0.1428, allocations: 17.72 kB / 475.5 MB, free: 7.621 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.1429, allocations: 374.7 kB / 475.9 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.143, allocations: 35.97 kB / 475.9 MB, free: 7.211 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.1432, allocations: 39.97 kB / 476 MB, free: 7.172 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/0.1434, allocations: 88.8 kB / 476 MB, free: 7.082 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1434, allocations: 3.938 kB / 476 MB, free: 7.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003184/0.1437, allocations: 157 kB / 476.2 MB, free: 6.918 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.1438, allocations: 8 kB / 476.2 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.1438, allocations: 3.938 kB / 476.2 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.1438, allocations: 0 / 476.2 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.1439, allocations: 23.92 kB / 476.2 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1439, allocations: 0 / 476.2 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.005e-05/0.144, allocations: 15.92 kB / 476.2 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.144, allocations: 0 / 476.2 MB, free: 6.867 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 (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 0.0002062/0.1442, allocations: 222.3 kB / 476.5 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.403e-05/0.1443, allocations: 39.44 kB / 476.5 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004424/0.1448, allocations: 173.4 kB / 476.7 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.1448, allocations: 4 kB / 476.7 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.1448, allocations: 0 / 476.7 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.1448, allocations: 3.938 kB / 476.7 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006667/0.1455, allocations: 0.5066 MB / 477.2 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1455, allocations: 0 / 477.2 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.142e-05/0.1456, allocations: 19.98 kB / 477.2 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1456, allocations: 0 / 477.2 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.1456, allocations: 7.938 kB / 477.2 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1456, allocations: 0 / 477.2 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1456, allocations: 4 kB / 477.2 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003404/0.146, allocations: 258.9 kB / 477.5 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.208e-05/0.146, allocations: 104.9 kB / 477.6 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.798e-05/0.1461, allocations: 7.938 kB / 477.6 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.788e-05/0.1462, allocations: 7.984 kB / 477.6 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6e-05/0.1462, allocations: 7.984 kB / 477.6 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.1463, allocations: 11.98 kB / 477.6 MB, free: 5.395 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005831/0.1469, allocations: 0.6472 MB / 478.3 MB, free: 4.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1469, allocations: 0 / 478.3 MB, free: 4.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002736/0.1471, allocations: 24 kB / 478.3 MB, free: 4.727 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 (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.0009498/0.1481, allocations: 401.6 kB / 478.7 MB, free: 4.488 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003186/0.1484, allocations: 95.86 kB / 478.8 MB, free: 4.395 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1484, allocations: 0 / 478.8 MB, free: 4.395 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.1486, allocations: 43.97 kB / 478.8 MB, free: 4.352 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004436/0.149, allocations: 25.95 kB / 478.8 MB, free: 4.328 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.1502, allocations: 0.8986 MB / 479.7 MB, free: 3.395 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004827/0.1507, allocations: 0.8302 MB / 480.6 MB, free: 2.535 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.021e-05/0.1508, allocations: 19.94 kB / 480.6 MB, free: 2.516 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.256e-05/0.1509, allocations: 11.44 kB / 480.6 MB, free: 2.504 MB / 350.1 MB Notification: Performance of SimCode: time 2.645e-06/0.1509, allocations: 0 / 480.6 MB, free: 2.504 MB / 350.1 MB Notification: Performance of Templates: time 0.005844/0.1568, allocations: 1.515 MB / 482.1 MB, free: 0.9961 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches