Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 105.9 kB / 18.3 MB, free: 4.887 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.001773/0.001773, allocations: 195.5 kB / 19.23 MB, free: 3.961 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.386/1.386, allocations: 222.9 MB / 242.9 MB, free: 15.22 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.2076/0.2076, allocations: 44.19 MB / 337.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 60.55 kB / 409.1 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1118, allocations: 60.82 MB / 469.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.003155/0.115, allocations: 1.61 MB / 471.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008241/0.1158, allocations: 459.1 kB / 472 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.945e-05/0.1159, allocations: 0 / 472 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000544/0.1164, allocations: 443.2 kB / 472.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004064/0.1169, allocations: 255.5 kB / 472.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004351/0.1173, allocations: 169.1 kB / 472.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002869/0.1176, allocations: 171.6 kB / 473 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.1177, allocations: 24.17 kB / 473 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.1179, allocations: 103.8 kB / 473.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002181/0.1181, allocations: 207.6 kB / 473.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.332e-05/0.1181, allocations: 8 kB / 473.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.95e-05/0.1182, allocations: 35.97 kB / 473.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.1183, allocations: 87.62 kB / 473.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.023e-05/0.1184, allocations: 99 kB / 473.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002713/0.1187, allocations: 251.3 kB / 473.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1187, allocations: 0 / 473.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1187, allocations: 0 / 473.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.1187, allocations: 0 / 473.8 MB, free: 10.51 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.0006739/0.1194, allocations: 0.6258 MB / 474.4 MB, free: 9.832 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.1194, allocations: 12.03 kB / 474.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.242e-05/0.1195, allocations: 44.38 kB / 474.5 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002666/0.1198, allocations: 292.2 kB / 474.8 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.1198, allocations: 8.359 kB / 474.8 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/0.1198, allocations: 8.312 kB / 474.8 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.12, allocations: 61.61 kB / 474.8 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.12, allocations: 3.984 kB / 474.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.12, allocations: 0 / 474.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.12, allocations: 0 / 474.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.1202, allocations: 27.98 kB / 474.9 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005085/0.1207, allocations: 388.7 kB / 475.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002387/0.1209, allocations: 50.5 kB / 475.3 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.314e-05/0.121, allocations: 12.94 kB / 475.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/0.121, allocations: 12 kB / 475.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.121, allocations: 30.56 kB / 475.4 MB, free: 8.781 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.1211, allocations: 0 / 475.4 MB, free: 8.781 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006541/0.1217, allocations: 231.9 kB / 475.6 MB, free: 8.547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.1218, allocations: 55.41 kB / 475.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008598/0.1226, allocations: 0.865 MB / 476.5 MB, free: 7.605 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.1227, allocations: 33.69 kB / 476.5 MB, free: 7.566 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.1228, allocations: 216.1 kB / 476.7 MB, free: 7.352 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/0.1229, allocations: 15.81 kB / 476.8 MB, free: 7.336 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.861e-05/0.1229, allocations: 17.72 kB / 476.8 MB, free: 7.312 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.1231, allocations: 358.8 kB / 477.1 MB, free: 6.953 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.149e-05/0.1232, allocations: 19.98 kB / 477.1 MB, free: 6.934 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.149e-05/0.1232, allocations: 23.92 kB / 477.2 MB, free: 6.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.1234, allocations: 56.83 kB / 477.2 MB, free: 6.852 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1234, allocations: 192 / 477.2 MB, free: 6.852 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002371/0.1236, allocations: 125.1 kB / 477.3 MB, free: 6.723 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.1237, allocations: 7.938 kB / 477.4 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.1237, allocations: 4 kB / 477.4 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.1237, allocations: 0 / 477.4 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.903e-05/0.1238, allocations: 11.98 kB / 477.4 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1238, allocations: 4 kB / 477.4 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.69e-05/0.1238, allocations: 11.94 kB / 477.4 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.1239, allocations: 0 / 477.4 MB, free: 6.684 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 (5): * Single equations (assignments): 5 * 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.0002086/0.1241, allocations: 217.7 kB / 477.6 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.67e-05/0.1241, allocations: 35.53 kB / 477.6 MB, free: 6.426 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003073/0.1244, allocations: 137 kB / 477.8 MB, free: 6.281 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1245, allocations: 8 kB / 477.8 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.1245, allocations: 0 / 477.8 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.1245, allocations: 3.938 kB / 477.8 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005803/0.1251, allocations: 478.3 kB / 478.2 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1251, allocations: 0 / 478.2 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.397e-05/0.1251, allocations: 8 kB / 478.3 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.1252, allocations: 4 kB / 478.3 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.1252, allocations: 3.938 kB / 478.3 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1252, allocations: 7.984 kB / 478.3 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1252, allocations: 0 / 478.3 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002677/0.1255, allocations: 215 kB / 478.5 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.808e-05/0.1256, allocations: 112.8 kB / 478.6 MB, free: 5.367 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/0.1256, allocations: 3.938 kB / 478.6 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.525e-05/0.1257, allocations: 8 kB / 478.6 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.1257, allocations: 11.92 kB / 478.6 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.1258, allocations: 8 kB / 478.6 MB, free: 5.336 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006213/0.1264, allocations: 0.6472 MB / 479.3 MB, free: 4.691 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1264, allocations: 0 / 479.3 MB, free: 4.691 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000264/0.1267, allocations: 20 kB / 479.3 MB, free: 4.672 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0009449/0.1276, allocations: 400.2 kB / 479.7 MB, free: 4.426 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002167/0.1278, allocations: 63.95 kB / 479.7 MB, free: 4.363 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.1279, allocations: 0 / 479.7 MB, free: 4.363 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.99e-05/0.1279, allocations: 31.92 kB / 479.8 MB, free: 4.332 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004066/0.1284, allocations: 28.28 kB / 479.8 MB, free: 4.312 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.1294, allocations: 0.8283 MB / 480.6 MB, free: 3.453 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003865/0.1298, allocations: 0.8299 MB / 481.5 MB, free: 2.598 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.579e-05/0.1299, allocations: 11.44 kB / 481.5 MB, free: 2.586 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1299, allocations: 0 / 481.5 MB, free: 2.586 MB / 350.1 MB Notification: Performance of Templates: time 0.006741/0.1366, allocations: 3.721 MB / 485.2 MB, free: 14.86 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches