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.001536/0.001536, allocations: 107.1 kB / 18.39 MB, free: 4.629 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.001961/0.001961, allocations: 184.1 kB / 19.33 MB, free: 3.699 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.473/1.473, allocations: 222.9 MB / 243 MB, free: 15.09 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.2158/0.2158, allocations: 44.18 MB / 337.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 70.02 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1263, allocations: 60.83 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003665/0.13, allocations: 1.623 MB / 472.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006959/0.1307, allocations: 431.1 kB / 472.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.831e-05/0.1308, allocations: 4 kB / 472.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005171/0.1313, allocations: 447.1 kB / 473.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003822/0.1317, allocations: 259.4 kB / 473.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003646/0.1321, allocations: 131.1 kB / 473.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002569/0.1324, allocations: 163.7 kB / 473.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.1325, allocations: 16 kB / 473.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.1326, allocations: 107.8 kB / 473.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002439/0.1329, allocations: 215.6 kB / 474.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.1329, allocations: 4 kB / 474.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.133, allocations: 47.97 kB / 474.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.1331, allocations: 83.69 kB / 474.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.197e-05/0.1332, allocations: 103 kB / 474.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003214/0.1336, allocations: 263 kB / 474.6 MB, free: 9.777 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.1336, allocations: 0 / 474.6 MB, free: 9.777 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1336, allocations: 3.938 kB / 474.6 MB, free: 9.773 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.1336, allocations: 0 / 474.6 MB, free: 9.773 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.0008256/0.1344, allocations: 0.6414 MB / 475.2 MB, free: 9.082 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.1345, allocations: 12.03 kB / 475.2 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.204e-05/0.1346, allocations: 40.38 kB / 475.2 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003269/0.1349, allocations: 300.1 kB / 475.5 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.1349, allocations: 4.375 kB / 475.5 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.114e-05/0.135, allocations: 8.375 kB / 475.6 MB, free: 8.684 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.1351, allocations: 65.67 kB / 475.6 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.1351, allocations: 4 kB / 475.6 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.1352, allocations: 0 / 475.6 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.1352, allocations: 0 / 475.6 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.577e-05/0.1353, allocations: 31.98 kB / 475.7 MB, free: 8.578 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004883/0.1358, allocations: 392.6 kB / 476 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.1359, allocations: 42.56 kB / 476.1 MB, free: 8.094 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.995e-05/0.1359, allocations: 20.94 kB / 476.1 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.136, allocations: 4 kB / 476.1 MB, free: 8.066 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.136, allocations: 34.56 kB / 476.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.136, allocations: 0 / 476.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000859/0.1369, allocations: 299.9 kB / 476.4 MB, free: 7.723 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.1369, allocations: 59.34 kB / 476.5 MB, free: 7.652 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000721/0.1376, allocations: 0.8535 MB / 477.3 MB, free: 6.789 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.1377, allocations: 25.7 kB / 477.4 MB, free: 6.758 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/0.1378, allocations: 224.1 kB / 477.6 MB, free: 6.535 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.1378, allocations: 23.56 kB / 477.6 MB, free: 6.512 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.943e-05/0.1379, allocations: 25.7 kB / 477.6 MB, free: 6.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.138, allocations: 358.8 kB / 478 MB, free: 6.121 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.173e-05/0.1381, allocations: 27.98 kB / 478 MB, free: 6.094 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.131e-05/0.1382, allocations: 27.97 kB / 478 MB, free: 6.066 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.1383, allocations: 56.84 kB / 478.1 MB, free: 6.008 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1383, allocations: 0 / 478.1 MB, free: 6.008 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002049/0.1385, allocations: 137 kB / 478.2 MB, free: 5.867 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.1386, allocations: 11.94 kB / 478.2 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1386, allocations: 0 / 478.2 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.1386, allocations: 4 kB / 478.2 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.954e-05/0.1387, allocations: 19.98 kB / 478.3 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.1387, allocations: 3.938 kB / 478.3 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.762e-05/0.1388, allocations: 0 / 478.3 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.1388, allocations: 4 kB / 478.3 MB, free: 5.824 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.0002129/0.139, allocations: 213.8 kB / 478.5 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.003e-05/0.1391, allocations: 39.95 kB / 478.5 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003191/0.1394, allocations: 169.6 kB / 478.7 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.1394, allocations: 4 kB / 478.7 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.1394, allocations: 3.938 kB / 478.7 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.1394, allocations: 3.984 kB / 478.7 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000603/0.14, allocations: 0.4914 MB / 479.2 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.1401, allocations: 7.875 kB / 479.2 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.494e-05/0.1401, allocations: 28.02 kB / 479.2 MB, free: 4.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1401, allocations: 0 / 479.2 MB, free: 4.793 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.1402, allocations: 4 kB / 479.2 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1402, allocations: 0 / 479.2 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1402, allocations: 0 / 479.2 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002686/0.1404, allocations: 235.8 kB / 479.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.28e-05/0.1405, allocations: 112.6 kB / 479.6 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.28e-05/0.1406, allocations: 7.984 kB / 479.6 MB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.073e-05/0.1407, allocations: 4 kB / 479.6 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.651e-05/0.1407, allocations: 7.984 kB / 479.6 MB, free: 4.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-06/0.1407, allocations: 4 kB / 479.6 MB, free: 4.387 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006036/0.1413, allocations: 0.6433 MB / 480.2 MB, free: 3.746 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1414, allocations: 0 / 480.2 MB, free: 3.746 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002755/0.1416, allocations: 32 kB / 480.3 MB, free: 3.715 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.001122/0.1428, allocations: 462.1 kB / 480.7 MB, free: 3.441 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002275/0.143, allocations: 71.89 kB / 480.8 MB, free: 3.371 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.143, allocations: 0 / 480.8 MB, free: 3.371 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.974e-05/0.1431, allocations: 35.92 kB / 480.8 MB, free: 3.336 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003886/0.1435, allocations: 32.86 kB / 480.9 MB, free: 3.309 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009961/0.1445, allocations: 0.808 MB / 481.7 MB, free: 2.465 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003805/0.1449, allocations: 0.8221 MB / 482.5 MB, free: 1.617 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.859e-05/0.1449, allocations: 16.95 kB / 482.5 MB, free: 1.598 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.145e-05/0.145, allocations: 15.44 kB / 482.5 MB, free: 1.582 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.145, allocations: 0 / 482.5 MB, free: 1.582 MB / 350.1 MB Notification: Performance of Templates: time 0.4916/0.6366, allocations: 1.702 MB / 484.2 MB, free: 15.89 MB / 366.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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins1/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