Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.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.Test11,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.Test11") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test11,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.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 107 kB / 17.33 MB, free: 6 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.001699/0.001699, allocations: 193.3 kB / 18.25 MB, free: 5.09 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.385/1.385, allocations: 222.9 MB / 241.9 MB, free: 15.43 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.2498/0.2498, allocations: 44.18 MB / 336.2 MB, free: 2.945 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 62.98 kB / 407.9 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1354, allocations: 60.83 MB / 468.7 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.003481/0.1389, allocations: 1.684 MB / 470.4 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001938/0.1409, allocations: 1.039 MB / 471.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.4e-05/0.141, allocations: 0 / 471.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002076/0.1412, allocations: 19.91 kB / 471.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001797/0.1414, allocations: 39.84 kB / 471.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004078/0.1418, allocations: 158.7 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000138/0.142, allocations: 67.78 kB / 471.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.1421, allocations: 19.98 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.254e-05/0.1421, allocations: 23.92 kB / 471.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.1423, allocations: 35.84 kB / 471.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.1423, allocations: 4 kB / 471.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.1424, allocations: 51.91 kB / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.198e-05/0.1425, allocations: 27.92 kB / 471.9 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.983e-05/0.1425, allocations: 19.86 kB / 471.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001957/0.1427, allocations: 96.05 kB / 472 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.1427, allocations: 3.938 kB / 472 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1427, allocations: 0 / 472 MB, free: 11.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.1428, allocations: 0 / 472 MB, free: 11.44 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.0005393/0.1433, allocations: 395.2 kB / 472.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.1434, allocations: 8.031 kB / 472.4 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.341e-05/0.1434, allocations: 8.844 kB / 472.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/0.1436, allocations: 185.3 kB / 472.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.1436, allocations: 8.312 kB / 472.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.1437, allocations: 12.3 kB / 472.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002153/0.1439, allocations: 79.52 kB / 472.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.1439, allocations: 0 / 472.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.1439, allocations: 0 / 472.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.1439, allocations: 0 / 472.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.1441, allocations: 39.97 kB / 472.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004378/0.1445, allocations: 304.7 kB / 473 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.1447, allocations: 50.55 kB / 473.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.007e-05/0.1448, allocations: 24.94 kB / 473.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.1448, allocations: 0 / 473.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.1448, allocations: 34.56 kB / 473.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.1449, allocations: 0 / 473.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007737/0.1456, allocations: 229.2 kB / 473.3 MB, free: 9.918 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.491e-05/0.1457, allocations: 77.11 kB / 473.4 MB, free: 9.824 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.1458, allocations: 141.8 kB / 473.6 MB, free: 9.676 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.1459, allocations: 25.7 kB / 473.6 MB, free: 9.645 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.026e-05/0.1459, allocations: 100.1 kB / 473.7 MB, free: 9.543 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.065e-05/0.146, allocations: 23.66 kB / 473.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.076e-05/0.146, allocations: 17.72 kB / 473.7 MB, free: 9.496 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002382/0.1463, allocations: 322.8 kB / 474 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.1464, allocations: 39.91 kB / 474.1 MB, free: 9.133 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.1466, allocations: 57.67 kB / 474.1 MB, free: 9.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002152/0.1468, allocations: 84.8 kB / 474.2 MB, free: 8.984 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1468, allocations: 4 kB / 474.2 MB, free: 8.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002692/0.1471, allocations: 113.5 kB / 474.3 MB, free: 8.863 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.1471, allocations: 4 kB / 474.3 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.1471, allocations: 4.031 kB / 474.3 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.1471, allocations: 7.984 kB / 474.3 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.1472, allocations: 19.92 kB / 474.4 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.1473, allocations: 0 / 474.4 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.951e-05/0.1473, allocations: 19.94 kB / 474.4 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.1473, allocations: 3.984 kB / 474.4 MB, free: 8.805 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 9.028e-05/0.1474, allocations: 118.4 kB / 474.5 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.366e-05/0.1475, allocations: 8.188 kB / 474.5 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003411/0.1478, allocations: 146.3 kB / 474.6 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.1478, allocations: 3.984 kB / 474.7 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.1478, allocations: 0 / 474.7 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.1479, allocations: 3.938 kB / 474.7 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005445/0.1484, allocations: 406.4 kB / 475.1 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1484, allocations: 0 / 475.1 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.85e-05/0.1485, allocations: 19.98 kB / 475.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1485, allocations: 0 / 475.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.1485, allocations: 15.86 kB / 475.1 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.1485, allocations: 0 / 475.1 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1486, allocations: 0 / 475.1 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000342/0.1489, allocations: 219.3 kB / 475.3 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.034e-05/0.149, allocations: 85 kB / 475.4 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.149, allocations: 3.938 kB / 475.4 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.601e-05/0.1491, allocations: 15.98 kB / 475.4 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.189e-05/0.1491, allocations: 7.938 kB / 475.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.1491, allocations: 0 / 475.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.932e-05/0.1492, allocations: 113.8 kB / 475.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1492, allocations: 0 / 475.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002695/0.1495, allocations: 28 kB / 475.6 MB, free: 7.531 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.001103/0.1506, allocations: 431.7 kB / 476 MB, free: 7.277 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003108/0.1509, allocations: 99.86 kB / 476.1 MB, free: 7.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.151, allocations: 4 kB / 476.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.1511, allocations: 43.97 kB / 476.1 MB, free: 7.133 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/0.1515, allocations: 26.52 kB / 476.1 MB, free: 7.109 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005217/0.152, allocations: 226.7 kB / 476.4 MB, free: 6.855 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.1523, allocations: 0.6963 MB / 477.1 MB, free: 6.133 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.433e-05/0.1524, allocations: 35.89 kB / 477.1 MB, free: 6.098 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.285e-05/0.1524, allocations: 15.38 kB / 477.1 MB, free: 6.082 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1524, allocations: 4 kB / 477.1 MB, free: 6.078 MB / 350.1 MB Notification: Performance of Templates: time 0.00436/0.1568, allocations: 1.494 MB / 478.6 MB, free: 4.594 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches