Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.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.CombiTable1Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001648/0.001648, allocations: 108.9 kB / 16.41 MB, free: 6.488 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.001708/0.001708, allocations: 185.5 kB / 17.34 MB, free: 5.754 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.736/1.736, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2296/0.2296, allocations: 43.52 MB / 314.1 MB, free: 464 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.001343/0.001343, allocations: 63.89 kB / 441.8 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.138, allocations: 57.8 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.00326/0.1413, allocations: 1.546 MB / 0.4894 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.1427, allocations: 0.9378 MB / 0.4903 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.416e-05/0.1427, allocations: 3.938 kB / 0.4903 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001583/0.1429, allocations: 31.86 kB / 0.4904 GB, free: 9.262 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001192/0.143, allocations: 39.78 kB / 0.4904 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001869/0.1432, allocations: 71.83 kB / 0.4905 GB, free: 9.152 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001405/0.1434, allocations: 55.91 kB / 0.4905 GB, free: 9.098 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.1435, allocations: 15.91 kB / 0.4905 GB, free: 9.082 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.589e-05/0.1436, allocations: 23.86 kB / 0.4906 GB, free: 9.059 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001498/0.1437, allocations: 27.91 kB / 0.4906 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.1437, allocations: 11.94 kB / 0.4906 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.858e-05/0.1438, allocations: 43.98 kB / 0.4906 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.049e-05/0.1439, allocations: 11.98 kB / 0.4906 GB, free: 8.965 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.476e-05/0.1439, allocations: 19.86 kB / 0.4907 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000186/0.1441, allocations: 87.66 kB / 0.4907 GB, free: 8.859 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.1441, allocations: 0 / 0.4907 GB, free: 8.859 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1441, allocations: 0 / 0.4907 GB, free: 8.859 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.1442, allocations: 0 / 0.4907 GB, free: 8.859 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.0004805/0.1446, allocations: 383 kB / 0.4911 GB, free: 8.438 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.1447, allocations: 15.89 kB / 0.4911 GB, free: 8.422 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.745e-05/0.1447, allocations: 8.891 kB / 0.4911 GB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/0.145, allocations: 188.2 kB / 0.4913 GB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.145, allocations: 4.375 kB / 0.4913 GB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.1451, allocations: 4.375 kB / 0.4913 GB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.1452, allocations: 63.52 kB / 0.4914 GB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.1452, allocations: 0 / 0.4914 GB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.1453, allocations: 4 kB / 0.4914 GB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.1453, allocations: 4 kB / 0.4914 GB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.215e-05/0.1454, allocations: 19.92 kB / 0.4914 GB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003645/0.1457, allocations: 276.9 kB / 0.4917 GB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.1459, allocations: 42.56 kB / 0.4917 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.455e-05/0.146, allocations: 16.88 kB / 0.4917 GB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.146, allocations: 11.98 kB / 0.4917 GB, free: 7.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.146, allocations: 34.56 kB / 0.4918 GB, free: 7.637 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.1461, allocations: 0 / 0.4918 GB, free: 7.637 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005032/0.1466, allocations: 133.5 kB / 0.4919 GB, free: 7.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.684e-05/0.1466, allocations: 81.11 kB / 0.492 GB, free: 7.402 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.1468, allocations: 133.8 kB / 0.4921 GB, free: 7.262 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.1468, allocations: 25.7 kB / 0.4921 GB, free: 7.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.195e-05/0.1468, allocations: 88.14 kB / 0.4922 GB, free: 7.141 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.576e-05/0.1469, allocations: 27.78 kB / 0.4922 GB, free: 7.113 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.709e-05/0.1469, allocations: 17.72 kB / 0.4923 GB, free: 7.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.147, allocations: 318.8 kB / 0.4926 GB, free: 6.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.587e-05/0.1471, allocations: 23.92 kB / 0.4926 GB, free: 6.746 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.913e-05/0.1472, allocations: 37.64 kB / 0.4926 GB, free: 6.703 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.1473, allocations: 53.02 kB / 0.4927 GB, free: 6.648 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.1473, allocations: 0 / 0.4927 GB, free: 6.648 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001624/0.1475, allocations: 77.56 kB / 0.4927 GB, free: 6.566 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.1475, allocations: 8 kB / 0.4928 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1475, allocations: 0 / 0.4928 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.1475, allocations: 0 / 0.4928 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.96e-05/0.1476, allocations: 16.02 kB / 0.4928 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.1476, allocations: 0 / 0.4928 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.685e-05/0.1477, allocations: 4 kB / 0.4928 GB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-06/0.1477, allocations: 4 kB / 0.4928 GB, free: 6.535 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 (5): * Single equations (assignments): 5 * 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 8.343e-05/0.1478, allocations: 121.7 kB / 0.4929 GB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.879e-05/0.1478, allocations: 3.953 kB / 0.4929 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002103/0.148, allocations: 93.56 kB / 0.493 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.148, allocations: 7.984 kB / 0.493 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.148, allocations: 0 / 0.493 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.1481, allocations: 0 / 0.493 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003911/0.1484, allocations: 342.5 kB / 0.4933 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1485, allocations: 0 / 0.4933 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.142e-05/0.1485, allocations: 15.92 kB / 0.4933 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1485, allocations: 0 / 0.4933 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.1485, allocations: 8 kB / 0.4933 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.1486, allocations: 8.125 kB / 0.4934 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1486, allocations: 4 kB / 0.4934 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002093/0.1488, allocations: 175.5 kB / 0.4935 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.194e-05/0.1488, allocations: 77.11 kB / 0.4936 GB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.1488, allocations: 0 / 0.4936 GB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.499e-05/0.1489, allocations: 7.938 kB / 0.4936 GB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.567e-05/0.149, allocations: 11.98 kB / 0.4936 GB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.149, allocations: 0 / 0.4936 GB, free: 5.566 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.277e-05/0.1491, allocations: 103.3 kB / 0.4937 GB, free: 5.465 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1491, allocations: 0 / 0.4937 GB, free: 5.465 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002568/0.1493, allocations: 23.94 kB / 0.4937 GB, free: 5.441 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 (5): * Single equations (assignments): 5 * 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.001027/0.1504, allocations: 459.1 kB / 0.4942 GB, free: 5.031 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001993/0.1506, allocations: 47.91 kB / 0.4942 GB, free: 4.984 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1506, allocations: 0 / 0.4942 GB, free: 4.984 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.186e-05/0.1507, allocations: 23.98 kB / 0.4942 GB, free: 4.961 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.151, allocations: 20.94 kB / 0.4943 GB, free: 4.941 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003669/0.1513, allocations: 161.2 kB / 0.4944 GB, free: 4.758 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.1516, allocations: 0.6924 MB / 0.4951 GB, free: 4.039 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.212e-05/0.1517, allocations: 11.97 kB / 0.4951 GB, free: 4.027 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.638e-05/0.1518, allocations: 11.44 kB / 0.4951 GB, free: 4.016 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1518, allocations: 0 / 0.4951 GB, free: 4.016 MB / 382.1 MB Notification: Performance of Templates: time 0.003822/0.1556, allocations: 1.354 MB / 0.4964 GB, free: 2.664 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches