Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6") translateModel(ModelicaTest.Tables.CombiTable1D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001058/0.001058, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.34/1.34, allocations: 205.1 MB / 222.5 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00104/0.00104, allocations: 89.56 kB / 269.9 MB, free: 8.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3814/0.3814, allocations: 43.49 MB / 360.7 MB, free: 51.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001044/0.001044, allocations: 47.92 kB / 429.2 MB, free: 6.395 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1379, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test6): time 0.003406/0.1414, allocations: 1.633 MB / 488.6 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007267/0.1422, allocations: 343.5 kB / 489 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.869e-05/0.1423, allocations: 0 / 489 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003206/0.1426, allocations: 83.8 kB / 489.1 MB, free: 10.47 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001875/0.1428, allocations: 63.86 kB / 489.1 MB, free: 10.41 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003055/0.1431, allocations: 87.84 kB / 489.2 MB, free: 10.32 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002001/0.1433, allocations: 79.8 kB / 489.3 MB, free: 10.25 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.1435, allocations: 20.45 kB / 489.3 MB, free: 10.23 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.46e-05/0.1435, allocations: 35.84 kB / 489.3 MB, free: 10.19 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.1437, allocations: 55.81 kB / 489.4 MB, free: 10.14 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.1437, allocations: 4 kB / 489.4 MB, free: 10.13 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.609e-05/0.1438, allocations: 27.98 kB / 489.4 MB, free: 10.11 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.114e-05/0.1439, allocations: 23.91 kB / 489.4 MB, free: 10.08 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.327e-05/0.1439, allocations: 31.75 kB / 489.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001916/0.1441, allocations: 111.6 kB / 489.6 MB, free: 9.941 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1441, allocations: 0 / 489.6 MB, free: 9.941 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.1441, allocations: 0 / 489.6 MB, free: 9.941 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.1441, allocations: 0 / 489.6 MB, free: 9.941 MB / 378.7 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.0005496/0.1447, allocations: 410.9 kB / 490 MB, free: 9.492 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.1447, allocations: 20.02 kB / 490 MB, free: 9.473 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/0.1448, allocations: 12.75 kB / 490 MB, free: 9.461 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.145, allocations: 196.1 kB / 490.2 MB, free: 9.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.145, allocations: 4.375 kB / 490.2 MB, free: 9.227 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.772e-05/0.1451, allocations: 8.375 kB / 490.2 MB, free: 9.219 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.1453, allocations: 79.2 kB / 490.3 MB, free: 9.129 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.1453, allocations: 3.984 kB / 490.3 MB, free: 9.125 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.1453, allocations: 8 kB / 490.3 MB, free: 9.117 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.83e-06/0.1453, allocations: 0 / 490.3 MB, free: 9.117 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.1454, allocations: 39.91 kB / 490.4 MB, free: 9.078 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005238/0.146, allocations: 404.9 kB / 490.7 MB, free: 8.629 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003083/0.1463, allocations: 89.22 kB / 490.8 MB, free: 8.523 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.589e-05/0.1464, allocations: 33.73 kB / 490.9 MB, free: 8.484 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.1464, allocations: 0 / 490.9 MB, free: 8.484 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.1464, allocations: 30.56 kB / 490.9 MB, free: 8.445 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.1465, allocations: 0 / 490.9 MB, free: 8.445 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007994/0.1473, allocations: 240.7 kB / 491.1 MB, free: 8.203 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.1473, allocations: 85.11 kB / 491.2 MB, free: 8.102 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002251/0.1476, allocations: 238.2 kB / 491.5 MB, free: 7.859 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.1476, allocations: 29.7 kB / 491.5 MB, free: 7.824 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.543e-05/0.1477, allocations: 108 kB / 491.6 MB, free: 7.715 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.714e-05/0.1477, allocations: 27.56 kB / 491.6 MB, free: 7.688 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.256e-05/0.1478, allocations: 29.7 kB / 491.6 MB, free: 7.652 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.1479, allocations: 326.8 kB / 492 MB, free: 7.324 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.533e-05/0.148, allocations: 27.97 kB / 492 MB, free: 7.297 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.768e-05/0.1481, allocations: 49.7 kB / 492 MB, free: 7.242 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.1483, allocations: 89.73 kB / 492.1 MB, free: 7.148 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1483, allocations: 4 kB / 492.1 MB, free: 7.145 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002718/0.1486, allocations: 125.5 kB / 492.3 MB, free: 7.016 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.1486, allocations: 11.94 kB / 492.3 MB, free: 7.004 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1486, allocations: 0 / 492.3 MB, free: 7.004 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.1486, allocations: 0 / 492.3 MB, free: 7.004 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.285e-05/0.1487, allocations: 19.98 kB / 492.3 MB, free: 6.984 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.1487, allocations: 3.938 kB / 492.3 MB, free: 6.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.416e-05/0.1488, allocations: 4 kB / 492.3 MB, free: 6.977 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.1488, allocations: 8 kB / 492.3 MB, free: 6.969 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 10 * 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.0001024/0.1489, allocations: 133.8 kB / 492.4 MB, free: 6.828 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.108e-05/0.1489, allocations: 15.81 kB / 492.4 MB, free: 6.812 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003115/0.1493, allocations: 150.7 kB / 492.6 MB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1493, allocations: 0 / 492.6 MB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.1493, allocations: 8.125 kB / 492.6 MB, free: 6.641 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1493, allocations: 0 / 492.6 MB, free: 6.641 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006487/0.15, allocations: 0.5141 MB / 493.1 MB, free: 6.066 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.15, allocations: 0.6094 kB / 493.1 MB, free: 6.066 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.654e-05/0.1501, allocations: 23.92 kB / 493.1 MB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1501, allocations: 3.938 kB / 493.1 MB, free: 6.039 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.1501, allocations: 8 kB / 493.1 MB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1501, allocations: 4.031 kB / 493.2 MB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1501, allocations: 0 / 493.2 MB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006746/0.1508, allocations: 0.8995 MB / 494.1 MB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.054e-05/0.1508, allocations: 92.91 kB / 494.1 MB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.1509, allocations: 8 kB / 494.1 MB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.151, allocations: 4 kB / 494.2 MB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.219e-05/0.151, allocations: 7.984 kB / 494.2 MB, free: 4.938 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.151, allocations: 8 kB / 494.2 MB, free: 4.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001671/0.1512, allocations: 172.2 kB / 494.3 MB, free: 4.762 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1512, allocations: 0 / 494.3 MB, free: 4.762 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004152/0.1516, allocations: 28 kB / 494.4 MB, free: 4.734 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.0009923/0.1526, allocations: 406.4 kB / 494.8 MB, free: 4.383 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002488/0.1529, allocations: 79.89 kB / 494.8 MB, free: 4.305 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1529, allocations: 0 / 494.8 MB, free: 4.305 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.923e-05/0.153, allocations: 47.91 kB / 494.9 MB, free: 4.258 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004374/0.1535, allocations: 24.58 kB / 494.9 MB, free: 4.234 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006502/0.1541, allocations: 460.9 kB / 495.4 MB, free: 3.738 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/0.1545, allocations: 0.716 MB / 496.1 MB, free: 2.996 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.558e-05/0.1546, allocations: 20.41 kB / 496.1 MB, free: 2.977 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.327e-05/0.1546, allocations: 15.44 kB / 496.1 MB, free: 2.961 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.1547, allocations: 0 / 496.1 MB, free: 2.961 MB / 378.7 MB Notification: Performance of Templates: time 0.003828/0.1585, allocations: 1.261 MB / 497.4 MB, free: 1.699 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test6/Test6.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches