Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,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.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 104.8 kB / 16.4 MB, free: 6.457 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.001232/0.001232, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.748/1.748, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2341/0.2341, allocations: 43.52 MB / 314.1 MB, free: 436 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.001408/0.001408, allocations: 65.62 kB / 441.8 MB, free: 5.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1363, allocations: 57.79 MB / 499.6 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.002747/0.1391, allocations: 1.55 MB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.1403, allocations: 0.9455 MB / 0.4903 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.476e-05/0.1404, allocations: 0 / 0.4903 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001896/0.1406, allocations: 27.86 kB / 0.4904 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001581/0.1408, allocations: 39.78 kB / 0.4904 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002017/0.141, allocations: 71.84 kB / 0.4905 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001148/0.1411, allocations: 55.89 kB / 0.4905 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.717e-05/0.1412, allocations: 19.91 kB / 0.4905 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.187e-05/0.1413, allocations: 23.86 kB / 0.4906 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.1414, allocations: 23.91 kB / 0.4906 GB, free: 8.996 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.1414, allocations: 11.94 kB / 0.4906 GB, free: 8.984 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.756e-05/0.1415, allocations: 43.98 kB / 0.4906 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.782e-05/0.1415, allocations: 11.98 kB / 0.4906 GB, free: 8.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.311e-05/0.1416, allocations: 23.86 kB / 0.4907 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.1417, allocations: 83.66 kB / 0.4907 GB, free: 8.824 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.1417, allocations: 4 kB / 0.4907 GB, free: 8.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1417, allocations: 0 / 0.4907 GB, free: 8.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.718e-06/0.1418, allocations: 0 / 0.4907 GB, free: 8.82 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.0004235/0.1422, allocations: 383 kB / 0.4911 GB, free: 8.398 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.1422, allocations: 15.89 kB / 0.4911 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.496e-05/0.1423, allocations: 8.891 kB / 0.4911 GB, free: 8.375 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.1424, allocations: 188.2 kB / 0.4913 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.805e-06/0.1425, allocations: 384 / 0.4913 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.1425, allocations: 4.375 kB / 0.4913 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.1426, allocations: 67.52 kB / 0.4914 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.1427, allocations: 0 / 0.4914 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.1427, allocations: 4 kB / 0.4914 GB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.1427, allocations: 0 / 0.4914 GB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.143e-05/0.1428, allocations: 27.92 kB / 0.4914 GB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003232/0.1431, allocations: 276.9 kB / 0.4917 GB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.1433, allocations: 38.56 kB / 0.4917 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.926e-05/0.1433, allocations: 20.88 kB / 0.4917 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.1434, allocations: 4 kB / 0.4917 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.1434, allocations: 38.56 kB / 0.4918 GB, free: 7.598 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.1434, allocations: 0 / 0.4918 GB, free: 7.598 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004903/0.1439, allocations: 129.5 kB / 0.4919 GB, free: 7.465 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.63e-05/0.144, allocations: 81.11 kB / 0.492 GB, free: 7.367 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.1441, allocations: 129.8 kB / 0.4921 GB, free: 7.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.1441, allocations: 29.7 kB / 0.4921 GB, free: 7.195 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.164e-05/0.1442, allocations: 92.14 kB / 0.4922 GB, free: 7.102 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/0.1442, allocations: 23.78 kB / 0.4922 GB, free: 7.078 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.385e-05/0.1443, allocations: 17.72 kB / 0.4923 GB, free: 7.055 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.1444, allocations: 322.8 kB / 0.4926 GB, free: 6.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.219e-05/0.1445, allocations: 27.86 kB / 0.4926 GB, free: 6.703 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.326e-05/0.1446, allocations: 33.7 kB / 0.4926 GB, free: 6.664 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.1447, allocations: 44.83 kB / 0.4927 GB, free: 6.617 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.1447, allocations: 0 / 0.4927 GB, free: 6.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001635/0.1449, allocations: 77.56 kB / 0.4927 GB, free: 6.535 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.1449, allocations: 8 kB / 0.4927 GB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1449, allocations: 0 / 0.4927 GB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.1449, allocations: 0 / 0.4927 GB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.624e-05/0.145, allocations: 16.02 kB / 0.4928 GB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.145, allocations: 0 / 0.4928 GB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.962e-05/0.145, allocations: 8 kB / 0.4928 GB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.802e-06/0.1451, allocations: 4 kB / 0.4928 GB, free: 6.5 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.603e-05/0.1452, allocations: 121.7 kB / 0.4929 GB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.918e-05/0.1452, allocations: 4.234 kB / 0.4929 GB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002101/0.1454, allocations: 97.8 kB / 0.493 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1454, allocations: 7.984 kB / 0.493 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.1454, allocations: 0 / 0.493 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1454, allocations: 0 / 0.493 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004033/0.1458, allocations: 342.5 kB / 0.4933 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1458, allocations: 0 / 0.4933 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.259e-05/0.1459, allocations: 15.92 kB / 0.4933 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1459, allocations: 0 / 0.4933 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.1459, allocations: 4 kB / 0.4933 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.1459, allocations: 3.938 kB / 0.4933 GB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1459, allocations: 4 kB / 0.4934 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002152/0.1462, allocations: 175.5 kB / 0.4935 GB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.722e-05/0.1462, allocations: 77.11 kB / 0.4936 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.1462, allocations: 0 / 0.4936 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.445e-05/0.1463, allocations: 7.938 kB / 0.4936 GB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.361e-05/0.1463, allocations: 7.984 kB / 0.4936 GB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.1464, allocations: 8 kB / 0.4936 GB, free: 5.531 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.22e-05/0.1464, allocations: 103.3 kB / 0.4937 GB, free: 5.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1464, allocations: 0 / 0.4937 GB, free: 5.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002503/0.1467, allocations: 23.92 kB / 0.4937 GB, free: 5.406 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.0009418/0.1477, allocations: 460.8 kB / 0.4942 GB, free: 4.992 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001757/0.1478, allocations: 43.97 kB / 0.4942 GB, free: 4.949 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1478, allocations: 0 / 0.4942 GB, free: 4.949 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.55e-05/0.1479, allocations: 23.98 kB / 0.4942 GB, free: 4.926 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002586/0.1482, allocations: 19.84 kB / 0.4943 GB, free: 4.906 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003157/0.1485, allocations: 161.2 kB / 0.4944 GB, free: 4.723 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.1488, allocations: 0.6924 MB / 0.4951 GB, free: 4.004 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.456e-05/0.1488, allocations: 16.22 kB / 0.4951 GB, free: 3.988 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.253e-05/0.1489, allocations: 11.44 kB / 0.4951 GB, free: 3.977 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1489, allocations: 0 / 0.4951 GB, free: 3.977 MB / 382.1 MB Notification: Performance of Templates: time 0.003762/0.1527, allocations: 1.35 MB / 0.4964 GB, free: 2.629 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches