Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000985/0.000985, allocations: 97.69 kB / 18.01 MB, free: 5.734 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.001284/0.001284, allocations: 176.7 kB / 18.91 MB, free: 4.871 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.419/1.419, allocations: 223.3 MB / 242.9 MB, free: 14.49 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.1953/0.1953, allocations: 44.25 MB / 338.3 MB, free: 2.434 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003673/0.0003673, allocations: 12.28 kB / 411 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1332, allocations: 61.93 MB / 472.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.002673/0.1359, allocations: 1.344 MB / 474.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.137, allocations: 447.2 kB / 474.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.506e-05/0.1371, allocations: 0 / 474.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006703/0.1378, allocations: 451.2 kB / 475.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004059/0.1382, allocations: 243.5 kB / 475.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005512/0.1388, allocations: 158.7 kB / 475.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003086/0.1391, allocations: 171.7 kB / 475.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.1392, allocations: 15.98 kB / 475.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001877/0.1394, allocations: 107.7 kB / 475.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002572/0.1397, allocations: 199.6 kB / 476 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.1397, allocations: 0 / 476 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.1399, allocations: 43.92 kB / 476.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.14, allocations: 83.69 kB / 476.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.1401, allocations: 128.7 kB / 476.3 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002894/0.1404, allocations: 196 kB / 476.5 MB, free: 9.773 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1404, allocations: 0 / 476.5 MB, free: 9.773 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1404, allocations: 0 / 476.5 MB, free: 9.773 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.1405, allocations: 0 / 476.5 MB, free: 9.773 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007905/0.1412, allocations: 0.5951 MB / 477 MB, free: 9.129 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.1413, allocations: 8.031 kB / 477.1 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.744e-05/0.1414, allocations: 48.31 kB / 477.1 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003109/0.1417, allocations: 292.2 kB / 477.4 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.1417, allocations: 4.375 kB / 477.4 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.676e-05/0.1418, allocations: 16.2 kB / 477.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.142, allocations: 65.8 kB / 477.5 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.142, allocations: 0 / 477.5 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.142, allocations: 4 kB / 477.5 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.142, allocations: 4 kB / 477.5 MB, free: 8.652 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001853/0.1422, allocations: 35.92 kB / 477.5 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000627/0.1428, allocations: 404.6 kB / 477.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.143, allocations: 54.59 kB / 478 MB, free: 8.109 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.198e-05/0.143, allocations: 24.94 kB / 478 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.1431, allocations: 0 / 478 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.1431, allocations: 34.56 kB / 478 MB, free: 8.039 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 2.945e-06/0.1431, allocations: 0 / 478 MB, free: 8.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001087/0.1442, allocations: 351.8 kB / 478.4 MB, free: 7.688 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.1443, allocations: 59.34 kB / 478.4 MB, free: 7.617 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009001/0.1452, allocations: 0.8574 MB / 479.3 MB, free: 6.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.1452, allocations: 25.7 kB / 479.3 MB, free: 6.719 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/0.1454, allocations: 224.1 kB / 479.5 MB, free: 6.496 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.283e-05/0.1454, allocations: 27.56 kB / 479.6 MB, free: 6.469 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.531e-05/0.1455, allocations: 21.7 kB / 479.6 MB, free: 6.441 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002712/0.1457, allocations: 354.8 kB / 479.9 MB, free: 6.086 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.873e-05/0.1458, allocations: 39.91 kB / 480 MB, free: 6.047 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.987e-05/0.1459, allocations: 35.98 kB / 480 MB, free: 6.012 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001958/0.1461, allocations: 89.03 kB / 480.1 MB, free: 5.922 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1461, allocations: 0 / 480.1 MB, free: 5.922 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002895/0.1464, allocations: 153.1 kB / 480.2 MB, free: 5.766 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.1465, allocations: 12 kB / 480.2 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1465, allocations: 0 / 480.2 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.1465, allocations: 0 / 480.2 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.1466, allocations: 23.92 kB / 480.3 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.1466, allocations: 3.938 kB / 480.3 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.293e-05/0.1467, allocations: 4 kB / 480.3 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.587e-06/0.1467, allocations: 4 kB / 480.3 MB, free: 5.719 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.000303/0.147, allocations: 218.3 kB / 480.5 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/0.1471, allocations: 43.44 kB / 480.5 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003609/0.1475, allocations: 177.4 kB / 480.7 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.1475, allocations: 0 / 480.7 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.1475, allocations: 7.875 kB / 480.7 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.1475, allocations: 4 kB / 480.7 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006682/0.1482, allocations: 0.5187 MB / 481.2 MB, free: 4.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.1482, allocations: 3.938 kB / 481.2 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.174e-05/0.1483, allocations: 24.02 kB / 481.3 MB, free: 4.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.1483, allocations: 4 kB / 481.3 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.1483, allocations: 0 / 481.3 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.1483, allocations: 0 / 481.3 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1483, allocations: 432 / 481.3 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000328/0.1486, allocations: 259.8 kB / 481.5 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.919e-05/0.1487, allocations: 116.4 kB / 481.6 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.1488, allocations: 7.938 kB / 481.6 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.98e-05/0.1489, allocations: 7.984 kB / 481.7 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.311e-05/0.1489, allocations: 15.98 kB / 481.7 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.149, allocations: 4 kB / 481.7 MB, free: 4.207 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007849/0.1497, allocations: 0.655 MB / 482.3 MB, free: 3.555 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1498, allocations: 0 / 482.3 MB, free: 3.555 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002775/0.15, allocations: 28 kB / 482.4 MB, free: 3.527 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.001199/0.1512, allocations: 459.4 kB / 482.8 MB, free: 3.258 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002593/0.1515, allocations: 87.88 kB / 482.9 MB, free: 3.172 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1515, allocations: 0 / 482.9 MB, free: 3.172 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.1516, allocations: 44.03 kB / 482.9 MB, free: 3.129 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000421/0.1521, allocations: 36.86 kB / 483 MB, free: 3.098 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.1534, allocations: 0.9416 MB / 483.9 MB, free: 2.117 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005543/0.1539, allocations: 0.8262 MB / 484.7 MB, free: 1.262 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.333e-05/0.154, allocations: 15.44 kB / 484.8 MB, free: 1.246 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.154, allocations: 7.938 kB / 484.8 MB, free: 1.238 MB / 350.1 MB Notification: Performance of Templates: time 0.008884/0.1629, allocations: 3.897 MB / 488.7 MB, free: 13.34 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches