Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 94.55 kB / 17.35 MB, free: 6.344 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.001429/0.001429, allocations: 170.7 kB / 18.25 MB, free: 5.504 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.422/1.422, allocations: 223.3 MB / 242.3 MB, free: 192 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.2206/0.2206, allocations: 44.25 MB / 337.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003758/0.0003759, allocations: 8 kB / 410.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1423, allocations: 61.92 MB / 472.2 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test11): time 0.002115/0.1445, allocations: 1.274 MB / 473.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008094/0.1453, allocations: 395.4 kB / 473.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.724e-05/0.1454, allocations: 0 / 473.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002483/0.1457, allocations: 19.92 kB / 473.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001462/0.1458, allocations: 35.91 kB / 474 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002481/0.1461, allocations: 83.2 kB / 474 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000149/0.1462, allocations: 47.84 kB / 474.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.1464, allocations: 19.94 kB / 474.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.382e-05/0.1464, allocations: 19.92 kB / 474.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.816e-05/0.1465, allocations: 15.86 kB / 474.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.1465, allocations: 0 / 474.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.734e-05/0.1466, allocations: 27.98 kB / 474.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.421e-05/0.1466, allocations: 15.92 kB / 474.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.218e-05/0.1467, allocations: 45.52 kB / 474.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.1469, allocations: 75.77 kB / 474.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.1469, allocations: 4 kB / 474.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1469, allocations: 0 / 474.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.553e-06/0.1469, allocations: 4 kB / 474.3 MB, free: 11.27 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005246/0.1474, allocations: 371.5 kB / 474.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.1475, allocations: 12.03 kB / 474.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.146e-05/0.1475, allocations: 8.844 kB / 474.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002286/0.1478, allocations: 198.3 kB / 474.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.1478, allocations: 384 / 474.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.1478, allocations: 4.375 kB / 474.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.148, allocations: 57.81 kB / 474.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.148, allocations: 0 / 474.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.148, allocations: 0 / 474.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.1481, allocations: 0 / 474.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.736e-05/0.1482, allocations: 35.84 kB / 475 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003853/0.1486, allocations: 280.8 kB / 475.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.1488, allocations: 46.56 kB / 475.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.207e-05/0.1488, allocations: 12.86 kB / 475.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.1489, allocations: 0 / 475.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/0.1489, allocations: 42.58 kB / 475.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.913e-06/0.1489, allocations: 0 / 475.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006504/0.1496, allocations: 157.3 kB / 475.5 MB, free: 9.898 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.913e-05/0.1497, allocations: 55.41 kB / 475.6 MB, free: 9.832 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.1498, allocations: 161.8 kB / 475.7 MB, free: 9.664 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.1499, allocations: 25.7 kB / 475.7 MB, free: 9.633 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.298e-05/0.1499, allocations: 100 kB / 475.8 MB, free: 9.531 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.428e-05/0.15, allocations: 23.72 kB / 475.9 MB, free: 9.508 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.622e-05/0.15, allocations: 9.719 kB / 475.9 MB, free: 9.492 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.1502, allocations: 322.8 kB / 476.2 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.16e-05/0.1502, allocations: 23.98 kB / 476.2 MB, free: 9.145 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.653e-05/0.1503, allocations: 23.98 kB / 476.2 MB, free: 9.121 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.1504, allocations: 52.83 kB / 476.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.1505, allocations: 0 / 476.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00018/0.1506, allocations: 93.52 kB / 476.4 MB, free: 8.969 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.1507, allocations: 11.98 kB / 476.4 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1507, allocations: 0 / 476.4 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.1507, allocations: 0 / 476.4 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.4e-05/0.1508, allocations: 12 kB / 476.4 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.1508, allocations: 0 / 476.4 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.098e-05/0.1508, allocations: 11.98 kB / 476.4 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.1508, allocations: 0 / 476.4 MB, free: 8.934 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 (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 0.0001284/0.151, allocations: 122.3 kB / 476.5 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.738e-05/0.151, allocations: 7.906 kB / 476.5 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000234/0.1512, allocations: 105.9 kB / 476.6 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.1513, allocations: 3.984 kB / 476.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.1513, allocations: 0 / 476.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1513, allocations: 0 / 476.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006385/0.1519, allocations: 354.8 kB / 477 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.1519, allocations: 4 kB / 477 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.412e-05/0.152, allocations: 23.86 kB / 477 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.152, allocations: 0 / 477 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.152, allocations: 4 kB / 477 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.152, allocations: 7.875 kB / 477 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.152, allocations: 3.984 kB / 477 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002332/0.1523, allocations: 183.4 kB / 477.2 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.053e-05/0.1523, allocations: 85 kB / 477.3 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.1524, allocations: 0 / 477.3 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.025e-05/0.1524, allocations: 16.22 kB / 477.3 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.1525, allocations: 3.984 kB / 477.3 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.1525, allocations: 4 kB / 477.3 MB, free: 7.918 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.4e-05/0.1526, allocations: 130.2 kB / 477.5 MB, free: 7.793 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1526, allocations: 4 kB / 477.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002342/0.1529, allocations: 16 kB / 477.5 MB, free: 7.773 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 (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.001016/0.1539, allocations: 404 kB / 477.9 MB, free: 7.527 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002206/0.1541, allocations: 59.91 kB / 477.9 MB, free: 7.469 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1541, allocations: 0 / 477.9 MB, free: 7.469 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.846e-05/0.1542, allocations: 23.98 kB / 478 MB, free: 7.445 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.1546, allocations: 19.92 kB / 478 MB, free: 7.426 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005011/0.1551, allocations: 205.5 kB / 478.2 MB, free: 7.195 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.1554, allocations: 0.6965 MB / 478.9 MB, free: 6.473 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.929e-05/0.1555, allocations: 7.938 kB / 478.9 MB, free: 6.465 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.898e-05/0.1555, allocations: 11.44 kB / 478.9 MB, free: 6.453 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1555, allocations: 0 / 478.9 MB, free: 6.453 MB / 350.1 MB Notification: Performance of Templates: time 0.00347/0.159, allocations: 1.037 MB / 479.9 MB, free: 5.422 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches