Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.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.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 90.72 kB / 17 MB, free: 6.84 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.001156/0.001157, allocations: 186.5 kB / 17.89 MB, free: 6.055 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.537/1.537, allocations: 223.3 MB / 241.9 MB, free: 360 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2282/0.2282, allocations: 44.24 MB / 337.3 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003201/0.0003205, allocations: 11.06 kB / 409.7 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1415, allocations: 61.92 MB / 471.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.00191/0.1434, allocations: 1.298 MB / 472.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007002/0.1441, allocations: 391.5 kB / 473.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.682e-05/0.1442, allocations: 0 / 473.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002127/0.1444, allocations: 23.92 kB / 473.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001327/0.1446, allocations: 39.83 kB / 473.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.1448, allocations: 79.34 kB / 473.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.145, allocations: 67.83 kB / 473.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.448e-05/0.1451, allocations: 19.98 kB / 473.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.098e-05/0.1451, allocations: 31.84 kB / 473.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.692e-05/0.1452, allocations: 23.86 kB / 473.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.1452, allocations: 0 / 473.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.364e-05/0.1453, allocations: 35.98 kB / 473.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.695e-05/0.1454, allocations: 11.92 kB / 473.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.727e-05/0.1454, allocations: 37.7 kB / 473.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.1455, allocations: 75.88 kB / 473.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.854e-06/0.1456, allocations: 0 / 473.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1456, allocations: 7.875 kB / 473.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.537e-06/0.1456, allocations: 0 / 473.7 MB, free: 11.57 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004374/0.146, allocations: 385.6 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.1461, allocations: 11.97 kB / 474.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.283e-05/0.1461, allocations: 7.906 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/0.1463, allocations: 198.9 kB / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.1463, allocations: 4 kB / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.1463, allocations: 8 kB / 474.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.1465, allocations: 73.56 kB / 474.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.1465, allocations: 3.906 kB / 474.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.1465, allocations: 4 kB / 474.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.1466, allocations: 0 / 474.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.1467, allocations: 51.89 kB / 474.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004643/0.1471, allocations: 308.7 kB / 474.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.1473, allocations: 66.48 kB / 474.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.768e-05/0.1474, allocations: 20.86 kB / 474.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.1474, allocations: 11.98 kB / 474.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.1474, allocations: 34.56 kB / 474.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.1474, allocations: 0 / 474.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009721/0.1484, allocations: 313.2 kB / 475.2 MB, free: 9.926 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.1485, allocations: 59.34 kB / 475.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.1486, allocations: 158 kB / 475.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.1486, allocations: 25.7 kB / 475.4 MB, free: 9.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.765e-05/0.1487, allocations: 100.1 kB / 475.5 MB, free: 9.559 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.287e-05/0.1487, allocations: 43.3 kB / 475.6 MB, free: 9.516 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-06/0.1487, allocations: 0 / 475.6 MB, free: 9.516 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.1488, allocations: 322.8 kB / 475.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.256e-05/0.1489, allocations: 47.97 kB / 475.9 MB, free: 9.145 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.52e-05/0.149, allocations: 35.98 kB / 476 MB, free: 9.109 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.99e-05/0.1491, allocations: 43.98 kB / 476 MB, free: 9.066 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.1491, allocations: 0 / 476 MB, free: 9.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000254/0.1494, allocations: 141.6 kB / 476.1 MB, free: 8.922 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.1494, allocations: 6.031 kB / 476.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1494, allocations: 0.7031 kB / 476.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.228e-06/0.1494, allocations: 0 / 476.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.1496, allocations: 32.03 kB / 476.2 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.1496, allocations: 7.938 kB / 476.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.542e-05/0.1496, allocations: 19.94 kB / 476.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.1496, allocations: 4 kB / 476.2 MB, free: 8.855 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.257e-05/0.1497, allocations: 122.4 kB / 476.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.238e-05/0.1498, allocations: 11.81 kB / 476.3 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003325/0.1501, allocations: 174.4 kB / 476.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.1501, allocations: 0 / 476.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.1501, allocations: 4 kB / 476.5 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.1501, allocations: 3.984 kB / 476.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000565/0.1507, allocations: 471.1 kB / 477 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.1507, allocations: 4 kB / 477 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.593e-05/0.1508, allocations: 27.92 kB / 477 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1508, allocations: 0 / 477 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.1508, allocations: 7.953 kB / 477 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.1508, allocations: 0 / 477 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1509, allocations: 0 / 477 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002721/0.1511, allocations: 247.3 kB / 477.3 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.371e-05/0.1512, allocations: 93 kB / 477.4 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.1512, allocations: 0 / 477.4 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.451e-05/0.1513, allocations: 19.94 kB / 477.4 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-05/0.1513, allocations: 11.98 kB / 477.4 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.1514, allocations: 4 kB / 477.4 MB, free: 7.566 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.039e-05/0.1514, allocations: 115.2 kB / 477.5 MB, free: 7.453 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.693e-06/0.1515, allocations: 0 / 477.5 MB, free: 7.453 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002611/0.1517, allocations: 39.84 kB / 477.5 MB, free: 7.414 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001014/0.1527, allocations: 455.9 kB / 478 MB, free: 7.145 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000246/0.153, allocations: 107.8 kB / 478.1 MB, free: 7.039 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.153, allocations: 0 / 478.1 MB, free: 7.039 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.1531, allocations: 55.97 kB / 478.1 MB, free: 6.984 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.1535, allocations: 19.98 kB / 478.2 MB, free: 6.965 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004977/0.154, allocations: 262.2 kB / 478.4 MB, free: 6.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002825/0.1543, allocations: 0.7043 MB / 479.1 MB, free: 5.949 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.114e-05/0.1544, allocations: 28.39 kB / 479.2 MB, free: 5.922 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.837e-05/0.1544, allocations: 15.44 kB / 479.2 MB, free: 5.906 MB / 350.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1544, allocations: 0 / 479.2 MB, free: 5.906 MB / 350.1 MB Notification: Performance of Templates: time 0.003908/0.1583, allocations: 1.384 MB / 480.6 MB, free: 4.531 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches