Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8") translateModel(ModelicaTest.Tables.CombiTable2D.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 109.7 kB / 16.41 MB, free: 6.492 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.001242/0.001243, allocations: 185.5 kB / 17.34 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.469/1.469, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.217/0.217, allocations: 43.52 MB / 314.1 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 69.47 kB / 441.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1281, allocations: 57.8 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test8): time 0.003297/0.1314, allocations: 1.55 MB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006402/0.1321, allocations: 311.6 kB / 0.4897 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.017e-05/0.1322, allocations: 4 kB / 0.4897 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006252/0.1328, allocations: 451.1 kB / 0.4901 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000476/0.1334, allocations: 255.4 kB / 0.4904 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003759/0.1337, allocations: 107.7 kB / 0.4905 GB, free: 9.105 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002868/0.134, allocations: 151.7 kB / 0.4906 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.1342, allocations: 15.98 kB / 0.4906 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001852/0.1343, allocations: 103.8 kB / 0.4907 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002511/0.1346, allocations: 203.7 kB / 0.4909 GB, free: 8.641 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.1346, allocations: 0 / 0.4909 GB, free: 8.641 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.1347, allocations: 27.92 kB / 0.491 GB, free: 8.613 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001297/0.1349, allocations: 79.69 kB / 0.491 GB, free: 8.535 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.63e-05/0.135, allocations: 95 kB / 0.4911 GB, free: 8.441 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003469/0.1353, allocations: 251 kB / 0.4914 GB, free: 8.195 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1354, allocations: 0 / 0.4914 GB, free: 8.195 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1354, allocations: 0 / 0.4914 GB, free: 8.195 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.948e-06/0.1354, allocations: 0 / 0.4914 GB, free: 8.195 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0009171/0.1363, allocations: 0.6253 MB / 0.492 GB, free: 7.523 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.1364, allocations: 11.89 kB / 0.492 GB, free: 7.512 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.989e-05/0.1365, allocations: 44.41 kB / 0.492 GB, free: 7.469 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003271/0.1368, allocations: 292.2 kB / 0.4923 GB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.1368, allocations: 384 / 0.4923 GB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.1368, allocations: 12.38 kB / 0.4923 GB, free: 7.129 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.137, allocations: 45.81 kB / 0.4924 GB, free: 7.078 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.138e-06/0.137, allocations: 0 / 0.4924 GB, free: 7.078 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.137, allocations: 0 / 0.4924 GB, free: 7.078 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.1371, allocations: 0 / 0.4924 GB, free: 7.078 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.662e-05/0.1371, allocations: 19.98 kB / 0.4924 GB, free: 7.059 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005781/0.1377, allocations: 376.8 kB / 0.4928 GB, free: 6.641 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.654e-05/0.1378, allocations: 30.58 kB / 0.4928 GB, free: 6.602 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.816e-05/0.1379, allocations: 16.91 kB / 0.4928 GB, free: 6.582 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/0.1379, allocations: 0 / 0.4928 GB, free: 6.582 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.138, allocations: 34.56 kB / 0.4928 GB, free: 6.539 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.138, allocations: 0 / 0.4928 GB, free: 6.539 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.00029/0.1383, allocations: 101.2 kB / 0.4929 GB, free: 6.434 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.1383, allocations: 55.41 kB / 0.493 GB, free: 6.367 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008147/0.1391, allocations: 0.8496 MB / 0.4938 GB, free: 5.504 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.1392, allocations: 25.7 kB / 0.4938 GB, free: 5.473 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.1393, allocations: 220.1 kB / 0.494 GB, free: 5.254 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.1394, allocations: 11.88 kB / 0.4941 GB, free: 5.242 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.069e-05/0.1394, allocations: 17.72 kB / 0.4941 GB, free: 5.219 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.1396, allocations: 358.7 kB / 0.4944 GB, free: 4.859 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.216e-05/0.1397, allocations: 19.92 kB / 0.4944 GB, free: 4.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.007e-05/0.1397, allocations: 4 kB / 0.4944 GB, free: 4.836 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.289e-05/0.1398, allocations: 24.84 kB / 0.4945 GB, free: 4.809 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.1398, allocations: 3.938 kB / 0.4945 GB, free: 4.805 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001461/0.1399, allocations: 93.16 kB / 0.4946 GB, free: 4.707 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.14, allocations: 4 kB / 0.4946 GB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.14, allocations: 0 / 0.4946 GB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.14, allocations: 8.094 kB / 0.4946 GB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.4e-05/0.1401, allocations: 7.984 kB / 0.4946 GB, free: 4.688 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.1401, allocations: 3.984 kB / 0.4946 GB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.673e-05/0.1401, allocations: 7.844 kB / 0.4946 GB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.1402, allocations: 4 kB / 0.4946 GB, free: 4.672 MB / 382.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 (2): * Single equations (assignments): 2 * 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.0002348/0.1404, allocations: 209.7 kB / 0.4948 GB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.265e-05/0.1405, allocations: 43.52 kB / 0.4948 GB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001843/0.1406, allocations: 108.6 kB / 0.4949 GB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1407, allocations: 0 / 0.4949 GB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.1407, allocations: 4 kB / 0.4949 GB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.1407, allocations: 3.984 kB / 0.4949 GB, free: 4.293 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002628/0.1409, allocations: 277.5 kB / 0.4952 GB, free: 3.973 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.141, allocations: 3.984 kB / 0.4952 GB, free: 3.969 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.295e-05/0.141, allocations: 4 kB / 0.4952 GB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.141, allocations: 0 / 0.4952 GB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.141, allocations: 0 / 0.4952 GB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.141, allocations: 0 / 0.4952 GB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.141, allocations: 0 / 0.4952 GB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002373/0.1413, allocations: 191 kB / 0.4954 GB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.218e-05/0.1414, allocations: 116.6 kB / 0.4955 GB, free: 3.629 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.1414, allocations: 0 / 0.4955 GB, free: 3.629 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.593e-05/0.1415, allocations: 0 / 0.4955 GB, free: 3.629 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.1415, allocations: 4 kB / 0.4955 GB, free: 3.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.1415, allocations: 0 / 0.4955 GB, free: 3.625 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005313/0.142, allocations: 0.655 MB / 0.4961 GB, free: 2.973 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1421, allocations: 0 / 0.4961 GB, free: 2.973 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002381/0.1423, allocations: 12 kB / 0.4962 GB, free: 2.961 MB / 382.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 (2): * Single equations (assignments): 2 * 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.0008065/0.1431, allocations: 356.9 kB / 0.4965 GB, free: 2.648 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001447/0.1433, allocations: 23.98 kB / 0.4965 GB, free: 2.625 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1433, allocations: 0 / 0.4965 GB, free: 2.625 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.762e-05/0.1433, allocations: 15.98 kB / 0.4965 GB, free: 2.609 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004203/0.1438, allocations: 21.81 kB / 0.4966 GB, free: 2.586 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.1448, allocations: 0.7632 MB / 0.4973 GB, free: 1.789 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000389/0.1452, allocations: 0.8221 MB / 0.4981 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.969e-05/0.1452, allocations: 4 kB / 0.4981 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.46e-05/0.1453, allocations: 7.438 kB / 0.4981 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1453, allocations: 4 kB / 0.4981 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of Templates: time 0.004636/0.1499, allocations: 1.253 MB / 0.4993 GB, free: 15.67 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches