Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, 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.001029/0.001029, 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.437/1.437, allocations: 222.9 MB / 241.8 MB, free: 15.5 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.2289/0.2289, allocations: 44.17 MB / 336.1 MB, free: 3.016 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 73.27 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1329, allocations: 60.81 MB / 468.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003281/0.1362, allocations: 1.688 MB / 470.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007614/0.137, allocations: 427.2 kB / 470.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.045e-05/0.137, allocations: 0 / 470.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000588/0.1376, allocations: 447.2 kB / 471.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003346/0.138, allocations: 239.6 kB / 471.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003409/0.1384, allocations: 127.5 kB / 471.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002102/0.1386, allocations: 159.7 kB / 471.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.1387, allocations: 12 kB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.1388, allocations: 107.8 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002754/0.1391, allocations: 207.6 kB / 471.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.1391, allocations: 0 / 471.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.1393, allocations: 47.98 kB / 471.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.1394, allocations: 91.55 kB / 472 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.769e-05/0.1395, allocations: 99 kB / 472.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002935/0.1398, allocations: 259 kB / 472.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1398, allocations: 0 / 472.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1398, allocations: 0 / 472.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.054e-06/0.1398, allocations: 8 kB / 472.4 MB, free: 10.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.0006885/0.1405, allocations: 0.634 MB / 473 MB, free: 10.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.1406, allocations: 11.97 kB / 473 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.027e-05/0.1406, allocations: 40.38 kB / 473.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002652/0.1409, allocations: 300.1 kB / 473.4 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.1409, allocations: 384 / 473.4 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.236e-05/0.1409, allocations: 4.375 kB / 473.4 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.1411, allocations: 61.8 kB / 473.4 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.1411, allocations: 4 kB / 473.4 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.1411, allocations: 4 kB / 473.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1411, allocations: 0 / 473.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.809e-05/0.1412, allocations: 27.92 kB / 473.5 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004594/0.1417, allocations: 396.6 kB / 473.9 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.1418, allocations: 50.59 kB / 473.9 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.161e-05/0.1419, allocations: 16.94 kB / 473.9 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.1419, allocations: 4 kB / 473.9 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.1419, allocations: 30.56 kB / 474 MB, free: 9.234 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.142, allocations: 0 / 474 MB, free: 9.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009846/0.1429, allocations: 304.2 kB / 474.3 MB, free: 8.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.143, allocations: 59.34 kB / 474.3 MB, free: 8.859 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008798/0.1439, allocations: 0.8496 MB / 475.2 MB, free: 8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.1439, allocations: 29.7 kB / 475.2 MB, free: 7.965 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.1441, allocations: 224.1 kB / 475.4 MB, free: 7.742 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.972e-05/0.1441, allocations: 27.56 kB / 475.4 MB, free: 7.715 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-05/0.1442, allocations: 17.72 kB / 475.5 MB, free: 7.691 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.1443, allocations: 362.8 kB / 475.8 MB, free: 7.328 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.094e-05/0.1444, allocations: 27.98 kB / 475.8 MB, free: 7.301 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.933e-05/0.1445, allocations: 23.97 kB / 475.9 MB, free: 7.277 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.1446, allocations: 64.77 kB / 475.9 MB, free: 7.211 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1447, allocations: 0 / 475.9 MB, free: 7.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002368/0.1449, allocations: 145.1 kB / 476.1 MB, free: 7.062 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.1449, allocations: 7.938 kB / 476.1 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1449, allocations: 0 / 476.1 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.145, allocations: 0 / 476.1 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.1451, allocations: 19.98 kB / 476.1 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.1451, allocations: 3.938 kB / 476.1 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.431e-05/0.1451, allocations: 4 kB / 476.1 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.1452, allocations: 0 / 476.1 MB, free: 7.027 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 (8): * Single equations (assignments): 8 * 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.0002029/0.1454, allocations: 226.2 kB / 476.3 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.533e-05/0.1454, allocations: 39.53 kB / 476.4 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003173/0.1458, allocations: 157.7 kB / 476.5 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.1458, allocations: 4 kB / 476.5 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.1458, allocations: 3.938 kB / 476.5 MB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1458, allocations: 0 / 476.5 MB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006185/0.1464, allocations: 0.4954 MB / 477 MB, free: 6.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.1464, allocations: 7.938 kB / 477 MB, free: 6.023 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.872e-05/0.1465, allocations: 19.92 kB / 477 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1465, allocations: 0 / 477 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.1465, allocations: 4 kB / 477 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1465, allocations: 0 / 477 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1465, allocations: 0 / 477 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002845/0.1468, allocations: 243.8 kB / 477.3 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.728e-05/0.1469, allocations: 108.6 kB / 477.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.147, allocations: 0 / 477.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.673e-05/0.147, allocations: 11.98 kB / 477.4 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/0.1471, allocations: 4 kB / 477.4 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.1471, allocations: 12 kB / 477.4 MB, free: 5.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005959/0.1477, allocations: 0.651 MB / 478.1 MB, free: 4.941 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1477, allocations: 0 / 478.1 MB, free: 4.941 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002665/0.148, allocations: 28 kB / 478.1 MB, free: 4.914 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001062/0.1491, allocations: 467.5 kB / 478.6 MB, free: 4.637 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002445/0.1493, allocations: 59.95 kB / 478.6 MB, free: 4.578 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1493, allocations: 4 kB / 478.6 MB, free: 4.574 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.717e-05/0.1494, allocations: 31.92 kB / 478.6 MB, free: 4.543 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004251/0.1499, allocations: 33.89 kB / 478.7 MB, free: 4.512 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.151, allocations: 0.8918 MB / 479.6 MB, free: 3.586 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.1514, allocations: 0.8224 MB / 480.4 MB, free: 2.734 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.243e-05/0.1514, allocations: 20.95 kB / 480.4 MB, free: 2.711 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.123e-05/0.1515, allocations: 15.44 kB / 480.4 MB, free: 2.695 MB / 350.1 MB Notification: Performance of SimCode: time 2.084e-06/0.1515, allocations: 0 / 480.4 MB, free: 2.695 MB / 350.1 MB Notification: Performance of Templates: time 0.004828/0.1563, allocations: 1.639 MB / 482.1 MB, free: 1.07 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches