Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,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.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 94.25 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.001276/0.001276, allocations: 170.9 kB / 18.25 MB, free: 5.508 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.409/1.409, allocations: 223.3 MB / 242.3 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2329/0.2329, allocations: 44.25 MB / 337.7 MB, free: 2.422 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003397/0.0003399, allocations: 12.22 kB / 410.3 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1397, allocations: 61.93 MB / 472.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.002231/0.142, allocations: 1.286 MB / 473.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007433/0.1428, allocations: 395.4 kB / 473.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.241e-05/0.1428, allocations: 0 / 473.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000289/0.1431, allocations: 103.8 kB / 474 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001681/0.1433, allocations: 75.78 kB / 474.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002466/0.1436, allocations: 71.86 kB / 474.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001613/0.1437, allocations: 87.8 kB / 474.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.1439, allocations: 8.188 kB / 474.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.996e-05/0.144, allocations: 43.77 kB / 474.3 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.1441, allocations: 55.88 kB / 474.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.1441, allocations: 4 kB / 474.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.86e-05/0.1442, allocations: 35.98 kB / 474.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.479e-05/0.1443, allocations: 23.86 kB / 474.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.667e-05/0.1444, allocations: 57.45 kB / 474.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.1445, allocations: 104 kB / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.1446, allocations: 3.984 kB / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.229e-05/0.1446, allocations: 0 / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.1446, allocations: 0 / 474.6 MB, free: 10.96 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.0005227/0.1451, allocations: 410.9 kB / 475 MB, free: 10.51 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.1452, allocations: 8.031 kB / 475 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.679e-05/0.1452, allocations: 8.844 kB / 475 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/0.1454, allocations: 216.4 kB / 475.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.1455, allocations: 8.375 kB / 475.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.335e-05/0.1455, allocations: 384 / 475.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.1457, allocations: 61.61 kB / 475.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.1457, allocations: 3.984 kB / 475.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.1457, allocations: 0 / 475.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.1457, allocations: 0 / 475.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.1458, allocations: 31.92 kB / 475.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004592/0.1463, allocations: 304.7 kB / 475.6 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.1464, allocations: 42.56 kB / 475.7 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.417e-05/0.1465, allocations: 20.94 kB / 475.7 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.894e-05/0.1465, allocations: 4 kB / 475.7 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.1466, allocations: 34.5 kB / 475.7 MB, free: 9.664 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.1466, allocations: 4 kB / 475.7 MB, free: 9.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009785/0.1475, allocations: 245.1 kB / 476 MB, free: 9.414 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/0.1476, allocations: 55.41 kB / 476 MB, free: 9.348 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002813/0.1479, allocations: 246.5 kB / 476.3 MB, free: 9.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.148, allocations: 25.7 kB / 476.3 MB, free: 9.059 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.39e-05/0.148, allocations: 112.1 kB / 476.4 MB, free: 8.945 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.318e-05/0.1481, allocations: 27.64 kB / 476.4 MB, free: 8.918 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.164e-05/0.1481, allocations: 13.72 kB / 476.4 MB, free: 8.898 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.1483, allocations: 322.8 kB / 476.8 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.977e-05/0.1484, allocations: 35.98 kB / 476.8 MB, free: 8.539 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.066e-05/0.1485, allocations: 27.97 kB / 476.8 MB, free: 8.512 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000206/0.1487, allocations: 64.92 kB / 476.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1487, allocations: 3.938 kB / 476.9 MB, free: 8.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002165/0.1489, allocations: 117.5 kB / 477 MB, free: 8.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.149, allocations: 10.34 kB / 477 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.149, allocations: 0 / 477 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.149, allocations: 0 / 477 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.1491, allocations: 19.98 kB / 477 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.1491, allocations: 3.938 kB / 477 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.398e-05/0.1492, allocations: 12 kB / 477 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.1492, allocations: 4 kB / 477 MB, free: 8.273 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.0001007/0.1493, allocations: 133.8 kB / 477.2 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.54e-05/0.1493, allocations: 15.81 kB / 477.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002757/0.1496, allocations: 127.3 kB / 477.3 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.1496, allocations: 0 / 477.3 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.1496, allocations: 3.938 kB / 477.3 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.1497, allocations: 4 kB / 477.3 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005158/0.1502, allocations: 415.3 kB / 477.7 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1502, allocations: 0 / 477.7 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.99e-05/0.1503, allocations: 27.86 kB / 477.8 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1503, allocations: 0 / 477.8 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.1503, allocations: 0 / 477.8 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.1503, allocations: 7.938 kB / 477.8 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1503, allocations: 0 / 477.8 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003286/0.1506, allocations: 220.2 kB / 478 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.603e-05/0.1507, allocations: 97.27 kB / 478.1 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.1507, allocations: 0 / 478.1 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.731e-05/0.1508, allocations: 12 kB / 478.1 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.866e-05/0.1509, allocations: 7.984 kB / 478.1 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.1509, allocations: 4 kB / 478.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001542/0.151, allocations: 188.2 kB / 478.3 MB, free: 6.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.151, allocations: 0 / 478.3 MB, free: 6.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002567/0.1513, allocations: 24 kB / 478.3 MB, free: 6.906 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.001165/0.1525, allocations: 451.6 kB / 478.7 MB, free: 6.637 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002669/0.1528, allocations: 63.97 kB / 478.8 MB, free: 6.574 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1528, allocations: 8 kB / 478.8 MB, free: 6.566 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.63e-05/0.1529, allocations: 43.89 kB / 478.9 MB, free: 6.523 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.1533, allocations: 26.89 kB / 478.9 MB, free: 6.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005965/0.1539, allocations: 310.3 kB / 479.2 MB, free: 6.168 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003649/0.1542, allocations: 0.716 MB / 479.9 MB, free: 5.426 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.256e-05/0.1543, allocations: 16.97 kB / 479.9 MB, free: 5.406 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.404e-05/0.1544, allocations: 15.44 kB / 479.9 MB, free: 5.391 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1544, allocations: 0 / 479.9 MB, free: 5.391 MB / 350.1 MB Notification: Performance of Templates: time 0.004618/0.159, allocations: 1.276 MB / 481.2 MB, free: 4.125 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches