Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.CombiTable1Dv.Test3,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.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,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.CombiTable1Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008258/0.0008259, allocations: 93.33 kB / 17.35 MB, free: 6.371 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.0008854/0.0008855, allocations: 179.4 kB / 18.26 MB, free: 5.52 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.431/1.431, allocations: 223.2 MB / 242.3 MB, free: 204 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.2112/0.2112, allocations: 44.25 MB / 337.7 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004828/0.000483, allocations: 16 kB / 410.3 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1452, allocations: 61.92 MB / 472.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.002494/0.1478, allocations: 1.294 MB / 473.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007914/0.1486, allocations: 411.4 kB / 473.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.707e-05/0.1487, allocations: 0 / 473.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002878/0.149, allocations: 67.77 kB / 474 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000146/0.1491, allocations: 59.88 kB / 474.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002997/0.1494, allocations: 98.69 kB / 474.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001457/0.1496, allocations: 67.83 kB / 474.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.1497, allocations: 16.17 kB / 474.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.668e-05/0.1498, allocations: 35.8 kB / 474.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.48e-05/0.1499, allocations: 35.89 kB / 474.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.1499, allocations: 4 kB / 474.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.991e-05/0.15, allocations: 39.98 kB / 474.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.855e-05/0.1501, allocations: 19.92 kB / 474.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.241e-05/0.1501, allocations: 49.45 kB / 474.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.1503, allocations: 95.97 kB / 474.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1503, allocations: 0 / 474.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1503, allocations: 0 / 474.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.1503, allocations: 0 / 474.5 MB, free: 11.04 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.0005243/0.1509, allocations: 393.3 kB / 474.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.1509, allocations: 8.031 kB / 474.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.845e-05/0.151, allocations: 8.844 kB / 474.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.1512, allocations: 200.1 kB / 475.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.1512, allocations: 4.375 kB / 475.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.1512, allocations: 4.375 kB / 475.1 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.1514, allocations: 61.61 kB / 475.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1514, allocations: 0 / 475.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.1514, allocations: 4 kB / 475.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.1514, allocations: 3.984 kB / 475.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.1515, allocations: 31.92 kB / 475.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004371/0.152, allocations: 300.7 kB / 475.5 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.1521, allocations: 50.56 kB / 475.6 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.804e-05/0.1522, allocations: 24.88 kB / 475.6 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.1522, allocations: 0 / 475.6 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.1522, allocations: 34.56 kB / 475.6 MB, free: 9.773 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 3.527e-06/0.1523, allocations: 0 / 475.6 MB, free: 9.773 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009466/0.1532, allocations: 273 kB / 475.9 MB, free: 9.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.1533, allocations: 51.41 kB / 475.9 MB, free: 9.438 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002047/0.1535, allocations: 192.4 kB / 476.1 MB, free: 9.242 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.1535, allocations: 29.7 kB / 476.2 MB, free: 9.207 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.258e-05/0.1536, allocations: 104.1 kB / 476.3 MB, free: 9.102 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.122e-05/0.1536, allocations: 31.55 kB / 476.3 MB, free: 9.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.594e-05/0.1536, allocations: 13.72 kB / 476.3 MB, free: 9.051 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.1538, allocations: 322.8 kB / 476.6 MB, free: 8.727 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.905e-05/0.1539, allocations: 35.92 kB / 476.7 MB, free: 8.691 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.804e-05/0.154, allocations: 40.03 kB / 476.7 MB, free: 8.652 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001681/0.1541, allocations: 84.77 kB / 476.8 MB, free: 8.566 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.1541, allocations: 0 / 476.8 MB, free: 8.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002338/0.1544, allocations: 121.5 kB / 476.9 MB, free: 8.441 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.1544, allocations: 10.34 kB / 476.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.1544, allocations: 0 / 476.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.1544, allocations: 0 / 476.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.1546, allocations: 19.98 kB / 476.9 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.1546, allocations: 3.938 kB / 476.9 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.37e-05/0.1546, allocations: 8 kB / 476.9 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.1546, allocations: 4 kB / 476.9 MB, free: 8.398 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.0001001/0.1547, allocations: 134.3 kB / 477.1 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.086e-05/0.1548, allocations: 7.906 kB / 477.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002977/0.1551, allocations: 130.4 kB / 477.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1551, allocations: 0 / 477.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.1551, allocations: 7.938 kB / 477.2 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.1551, allocations: 3.984 kB / 477.2 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005365/0.1557, allocations: 423.2 kB / 477.6 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.1557, allocations: 0 / 477.6 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.229e-05/0.1557, allocations: 27.86 kB / 477.7 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.1558, allocations: 4.031 kB / 477.7 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.1558, allocations: 8 kB / 477.7 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1558, allocations: 3.938 kB / 477.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1558, allocations: 0 / 477.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002786/0.1561, allocations: 220.7 kB / 477.9 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.012e-05/0.1561, allocations: 88.95 kB / 478 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.1562, allocations: 0 / 478 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.529e-05/0.1562, allocations: 11.98 kB / 478 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.384e-05/0.1563, allocations: 4.422 kB / 478 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.1563, allocations: 4 kB / 478 MB, free: 7.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001224/0.1564, allocations: 150.9 kB / 478.1 MB, free: 7.086 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1564, allocations: 4 kB / 478.1 MB, free: 7.082 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000264/0.1567, allocations: 20 kB / 478.2 MB, free: 7.062 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.001175/0.1579, allocations: 463.9 kB / 478.6 MB, free: 6.785 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002408/0.1582, allocations: 75.95 kB / 478.7 MB, free: 6.711 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1582, allocations: 0 / 478.7 MB, free: 6.711 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.1583, allocations: 47.91 kB / 478.7 MB, free: 6.664 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003662/0.1586, allocations: 35.91 kB / 478.8 MB, free: 6.629 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005492/0.1592, allocations: 273.8 kB / 479 MB, free: 6.328 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.1596, allocations: 0.7083 MB / 479.8 MB, free: 5.594 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.383e-05/0.1596, allocations: 16.97 kB / 479.8 MB, free: 5.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.215e-05/0.1597, allocations: 15.44 kB / 479.8 MB, free: 5.559 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1597, allocations: 0 / 479.8 MB, free: 5.559 MB / 350.1 MB Notification: Performance of Templates: time 0.003807/0.1635, allocations: 1.271 MB / 481.1 MB, free: 4.289 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches