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.001097/0.001097, allocations: 108.3 kB / 17.33 MB, free: 5.996 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.001214/0.001215, allocations: 193.3 kB / 18.25 MB, free: 5.086 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.403/1.403, allocations: 222.9 MB / 241.9 MB, free: 15.37 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.2175/0.2175, allocations: 44.18 MB / 336.2 MB, free: 2.934 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001928, allocations: 66.36 kB / 407.9 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1349, allocations: 60.81 MB / 468.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.002946/0.1379, allocations: 1.711 MB / 470.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000719/0.1386, allocations: 447.1 kB / 470.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.884e-05/0.1387, allocations: 0 / 470.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005437/0.1392, allocations: 455.2 kB / 471.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000298/0.1396, allocations: 239.6 kB / 471.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003853/0.1399, allocations: 167.3 kB / 471.7 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002114/0.1402, allocations: 167.6 kB / 471.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.893e-05/0.1403, allocations: 19.98 kB / 471.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.1404, allocations: 115.8 kB / 472 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002024/0.1406, allocations: 219.5 kB / 472.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.1406, allocations: 4 kB / 472.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.108e-05/0.1407, allocations: 43.98 kB / 472.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.1409, allocations: 91.56 kB / 472.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.704e-05/0.1409, allocations: 99.05 kB / 472.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002624/0.1412, allocations: 271.2 kB / 472.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1412, allocations: 0 / 472.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1412, allocations: 4 kB / 472.7 MB, free: 10.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.186e-06/0.1412, allocations: 0 / 472.7 MB, free: 10.72 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.0006453/0.1419, allocations: 0.6298 MB / 473.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1419, allocations: 12.03 kB / 473.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.137e-05/0.142, allocations: 40.38 kB / 473.4 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002418/0.1423, allocations: 304.1 kB / 473.7 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.1423, allocations: 4.312 kB / 473.7 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.1423, allocations: 8.375 kB / 473.7 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.1424, allocations: 65.8 kB / 473.8 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.1425, allocations: 0 / 473.8 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.1425, allocations: 0 / 473.8 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.1425, allocations: 4 kB / 473.8 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001/0.1426, allocations: 27.98 kB / 473.8 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004722/0.1431, allocations: 408.6 kB / 474.2 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001/0.1432, allocations: 46.56 kB / 474.2 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.069e-05/0.1432, allocations: 21.03 kB / 474.3 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.1433, allocations: 3.938 kB / 474.3 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.1433, allocations: 30.56 kB / 474.3 MB, free: 8.973 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.153e-06/0.1433, allocations: 0 / 474.3 MB, free: 8.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009152/0.1442, allocations: 316.2 kB / 474.6 MB, free: 8.656 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.1443, allocations: 71.22 kB / 474.7 MB, free: 8.574 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008092/0.1451, allocations: 0.8535 MB / 475.5 MB, free: 7.711 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.1451, allocations: 25.7 kB / 475.5 MB, free: 7.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.1453, allocations: 224 kB / 475.8 MB, free: 7.457 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.1453, allocations: 27.66 kB / 475.8 MB, free: 7.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.324e-05/0.1453, allocations: 29.7 kB / 475.8 MB, free: 7.395 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002075/0.1456, allocations: 358.8 kB / 476.2 MB, free: 7.035 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.896e-05/0.1457, allocations: 35.97 kB / 476.2 MB, free: 7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.661e-05/0.1457, allocations: 31.98 kB / 476.2 MB, free: 6.969 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.1459, allocations: 76.75 kB / 476.3 MB, free: 6.891 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1459, allocations: 4 kB / 476.3 MB, free: 6.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000246/0.1462, allocations: 141.3 kB / 476.4 MB, free: 6.742 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.1462, allocations: 8 kB / 476.5 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1462, allocations: 0 / 476.5 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.1462, allocations: 0 / 476.5 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.773e-05/0.1463, allocations: 23.98 kB / 476.5 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.1463, allocations: 8 kB / 476.5 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.407e-05/0.1464, allocations: 4 kB / 476.5 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.1464, allocations: 3.984 kB / 476.5 MB, free: 6.695 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.0001997/0.1466, allocations: 218.2 kB / 476.7 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.683e-05/0.1467, allocations: 47.42 kB / 476.8 MB, free: 6.426 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003301/0.147, allocations: 165.4 kB / 476.9 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.147, allocations: 4 kB / 476.9 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.1471, allocations: 3.938 kB / 476.9 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.1471, allocations: 4 kB / 476.9 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007177/0.1478, allocations: 0.511 MB / 477.4 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.1478, allocations: 3.938 kB / 477.4 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.652e-05/0.1479, allocations: 15.98 kB / 477.5 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.625e-06/0.1479, allocations: 4 kB / 477.5 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.1479, allocations: 3.938 kB / 477.5 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1479, allocations: 4.031 kB / 477.5 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1479, allocations: 0 / 477.5 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002893/0.1482, allocations: 243.8 kB / 477.7 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.103e-05/0.1483, allocations: 112.5 kB / 477.8 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.06e-05/0.1483, allocations: 8 kB / 477.8 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.1484, allocations: 11.92 kB / 477.8 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.831e-05/0.1485, allocations: 8 kB / 477.8 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.1485, allocations: 0 / 477.8 MB, free: 5.227 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005967/0.1491, allocations: 0.6511 MB / 478.5 MB, free: 4.578 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1491, allocations: 0 / 478.5 MB, free: 4.578 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000276/0.1494, allocations: 32 kB / 478.5 MB, free: 4.547 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.001066/0.1505, allocations: 467.7 kB / 479 MB, free: 4.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002357/0.1507, allocations: 79.94 kB / 479.1 MB, free: 4.191 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1507, allocations: 0 / 479.1 MB, free: 4.191 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.742e-05/0.1508, allocations: 44.06 kB / 479.1 MB, free: 4.148 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/0.1512, allocations: 37.77 kB / 479.1 MB, free: 4.117 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.1526, allocations: 0.9134 MB / 480.1 MB, free: 3.168 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00044/0.153, allocations: 0.8299 MB / 480.9 MB, free: 2.309 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.45e-05/0.1531, allocations: 28.34 kB / 480.9 MB, free: 2.281 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.779e-05/0.1531, allocations: 15.38 kB / 480.9 MB, free: 2.266 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1532, allocations: 0 / 480.9 MB, free: 2.266 MB / 350.1 MB Notification: Performance of Templates: time 0.005248/0.1584, allocations: 1.711 MB / 482.6 MB, free: 0.5664 MB / 350.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins/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