Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008384/0.0008386, allocations: 96.02 kB / 17.35 MB, free: 6.367 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.001218/0.001218, allocations: 176.1 kB / 18.25 MB, free: 5.523 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.464/1.464, allocations: 223.3 MB / 242.3 MB, free: 196 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.2295/0.2295, allocations: 44.25 MB / 337.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003454/0.0003454, allocations: 12 kB / 410.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1441, allocations: 61.92 MB / 472.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.002202/0.1463, allocations: 1.29 MB / 473.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008303/0.1472, allocations: 395.4 kB / 473.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.64e-05/0.1472, allocations: 0 / 473.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000347/0.1476, allocations: 115.8 kB / 474 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001748/0.1478, allocations: 83.77 kB / 474.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002546/0.1481, allocations: 90.47 kB / 474.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001652/0.1482, allocations: 83.86 kB / 474.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.1484, allocations: 12.17 kB / 474.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.272e-05/0.1484, allocations: 43.77 kB / 474.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.1486, allocations: 79.84 kB / 474.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.1486, allocations: 4 kB / 474.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.968e-05/0.1487, allocations: 39.94 kB / 474.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.407e-05/0.1488, allocations: 23.91 kB / 474.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.1489, allocations: 61.33 kB / 474.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001687/0.1491, allocations: 104 kB / 474.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1491, allocations: 0 / 474.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.529e-06/0.1491, allocations: 3.984 kB / 474.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.1491, allocations: 3.938 kB / 474.7 MB, free: 10.91 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004816/0.1496, allocations: 415 kB / 475.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.1496, allocations: 12.03 kB / 475.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.02e-05/0.1497, allocations: 12.75 kB / 475.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002335/0.1499, allocations: 207.9 kB / 475.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.15, allocations: 4.375 kB / 475.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.15, allocations: 384 / 475.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.1501, allocations: 61.61 kB / 475.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1502, allocations: 4 kB / 475.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.1502, allocations: 0 / 475.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.1502, allocations: 0 / 475.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.1503, allocations: 31.92 kB / 475.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004212/0.1507, allocations: 312.6 kB / 475.7 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.1508, allocations: 46.56 kB / 475.7 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.208e-05/0.1509, allocations: 12.86 kB / 475.8 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.09e-05/0.1509, allocations: 8.078 kB / 475.8 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.151, allocations: 38.5 kB / 475.8 MB, free: 9.605 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.151, allocations: 0 / 475.8 MB, free: 9.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009486/0.1519, allocations: 249 kB / 476.1 MB, free: 9.355 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.152, allocations: 55.39 kB / 476.1 MB, free: 9.289 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002722/0.1523, allocations: 278.2 kB / 476.4 MB, free: 9.008 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.1523, allocations: 29.64 kB / 476.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.847e-05/0.1524, allocations: 112.1 kB / 476.5 MB, free: 8.859 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/0.1524, allocations: 27.56 kB / 476.5 MB, free: 8.832 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.531e-05/0.1524, allocations: 13.72 kB / 476.6 MB, free: 8.812 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1526, allocations: 330.8 kB / 476.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.453e-05/0.1527, allocations: 27.98 kB / 476.9 MB, free: 8.453 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.838e-05/0.1528, allocations: 28.05 kB / 476.9 MB, free: 8.426 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.1529, allocations: 72.83 kB / 477 MB, free: 8.352 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.1529, allocations: 0 / 477 MB, free: 8.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002224/0.1532, allocations: 109.4 kB / 477.1 MB, free: 8.238 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.1532, allocations: 12 kB / 477.1 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.1532, allocations: 0 / 477.1 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.1532, allocations: 432 / 477.1 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.1533, allocations: 19.98 kB / 477.1 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.1534, allocations: 3.938 kB / 477.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.862e-05/0.1534, allocations: 11.98 kB / 477.2 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.1534, allocations: 4 kB / 477.2 MB, free: 8.188 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 (8): * Single equations (assignments): 8 * 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.0001136/0.1536, allocations: 142.3 kB / 477.3 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.286e-05/0.1536, allocations: 11.84 kB / 477.3 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002802/0.1539, allocations: 130.9 kB / 477.4 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.1539, allocations: 0 / 477.4 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.1539, allocations: 3.938 kB / 477.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.1539, allocations: 0 / 477.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005778/0.1545, allocations: 423.3 kB / 477.9 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1545, allocations: 0 / 477.9 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.251e-05/0.1546, allocations: 23.92 kB / 477.9 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.1546, allocations: 4.031 kB / 477.9 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.1546, allocations: 4 kB / 477.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.1546, allocations: 4.406 kB / 477.9 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1546, allocations: 0 / 477.9 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003094/0.1549, allocations: 224.2 kB / 478.1 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.1551, allocations: 92.86 kB / 478.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.1551, allocations: 3.984 kB / 478.2 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.968e-05/0.1552, allocations: 12 kB / 478.2 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.655e-05/0.1553, allocations: 7.984 kB / 478.2 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-06/0.1553, allocations: 3.938 kB / 478.2 MB, free: 7.012 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001697/0.1554, allocations: 199.2 kB / 478.4 MB, free: 6.816 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1555, allocations: 4 kB / 478.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002632/0.1557, allocations: 16 kB / 478.4 MB, free: 6.797 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 (8): * Single equations (assignments): 8 * 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.001155/0.1569, allocations: 453.3 kB / 478.9 MB, free: 6.531 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002195/0.1571, allocations: 79.94 kB / 479 MB, free: 6.453 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1571, allocations: 0 / 479 MB, free: 6.453 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.884e-05/0.1572, allocations: 35.92 kB / 479 MB, free: 6.418 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.1576, allocations: 27.98 kB / 479 MB, free: 6.391 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005835/0.1582, allocations: 338.5 kB / 479.4 MB, free: 6.031 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.1585, allocations: 0.716 MB / 480.1 MB, free: 5.289 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.096e-05/0.1586, allocations: 8.969 kB / 480.1 MB, free: 5.273 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.808e-05/0.1586, allocations: 15.44 kB / 480.1 MB, free: 5.262 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1586, allocations: 4 kB / 480.1 MB, free: 5.258 MB / 350.1 MB Notification: Performance of Templates: time 0.004204/0.1628, allocations: 1.27 MB / 481.4 MB, free: 3.992 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches