Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.001326, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.001261/0.001261, allocations: 187 kB / 19.34 MB, free: 3.641 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.35/1.35, allocations: 222.9 MB / 243 MB, free: 15.07 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.2086/0.2086, allocations: 44.18 MB / 337.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 68.09 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1148, allocations: 60.82 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.003233/0.1181, allocations: 1.641 MB / 472.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007922/0.1189, allocations: 451 kB / 472.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.421e-05/0.119, allocations: 0 / 472.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002581/0.1192, allocations: 67.72 kB / 472.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002053/0.1195, allocations: 55.81 kB / 472.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004683/0.1199, allocations: 170.3 kB / 473.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.1201, allocations: 87.75 kB / 473.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.1202, allocations: 27.97 kB / 473.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.259e-05/0.1203, allocations: 31.86 kB / 473.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.1204, allocations: 51.81 kB / 473.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.1204, allocations: 4 kB / 473.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.1206, allocations: 47.98 kB / 473.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.727e-05/0.1206, allocations: 27.86 kB / 473.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.128e-05/0.1207, allocations: 27.8 kB / 473.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002001/0.1209, allocations: 103.6 kB / 473.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1209, allocations: 4 kB / 473.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1209, allocations: 0 / 473.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.1209, allocations: 0 / 473.5 MB, free: 10.87 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.0004881/0.1214, allocations: 411 kB / 473.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.1215, allocations: 15.97 kB / 473.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.982e-05/0.1215, allocations: 8.844 kB / 473.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.1217, allocations: 200.6 kB / 474.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.255e-06/0.1217, allocations: 4.375 kB / 474.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.1218, allocations: 3.938 kB / 474.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.1219, allocations: 65.67 kB / 474.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.122, allocations: 4 kB / 474.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.122, allocations: 4 kB / 474.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.122, allocations: 0 / 474.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001447/0.1221, allocations: 47.89 kB / 474.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004409/0.1226, allocations: 312.7 kB / 474.5 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000223/0.1228, allocations: 70.56 kB / 474.6 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.521e-05/0.1229, allocations: 24.97 kB / 474.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.1229, allocations: 0 / 474.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.123, allocations: 38.56 kB / 474.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.11e-07/0.123, allocations: 0 / 474.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001399/0.1244, allocations: 421.2 kB / 475.1 MB, free: 9.102 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.1244, allocations: 51.41 kB / 475.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.1246, allocations: 182.1 kB / 475.3 MB, free: 8.852 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.1246, allocations: 29.7 kB / 475.3 MB, free: 8.816 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.061e-05/0.1247, allocations: 108 kB / 475.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/0.1247, allocations: 31.55 kB / 475.5 MB, free: 8.676 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.734e-05/0.1248, allocations: 29.72 kB / 475.5 MB, free: 8.641 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.1249, allocations: 322.8 kB / 475.8 MB, free: 8.316 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.125, allocations: 55.89 kB / 475.9 MB, free: 8.262 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.1252, allocations: 60 kB / 475.9 MB, free: 8.203 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000261/0.1254, allocations: 128.7 kB / 476.1 MB, free: 8.074 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1255, allocations: 64 / 476.1 MB, free: 8.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003138/0.1258, allocations: 161.4 kB / 476.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.1258, allocations: 8 kB / 476.2 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.1258, allocations: 3.938 kB / 476.2 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.1258, allocations: 0 / 476.2 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.126, allocations: 35.91 kB / 476.3 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/0.126, allocations: 0 / 476.3 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.925e-05/0.126, allocations: 15.98 kB / 476.3 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.607e-06/0.126, allocations: 0 / 476.3 MB, free: 7.848 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 (11): * Single equations (assignments): 11 * 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 8.89e-05/0.1261, allocations: 129.8 kB / 476.4 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.713e-05/0.1262, allocations: 11.89 kB / 476.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003954/0.1266, allocations: 194.1 kB / 476.6 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.1266, allocations: 8 kB / 476.6 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.1266, allocations: 0 / 476.6 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1266, allocations: 0 / 476.6 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006432/0.1273, allocations: 496 kB / 477.1 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1273, allocations: 0 / 477.1 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.1274, allocations: 31.98 kB / 477.1 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.1274, allocations: 0 / 477.1 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.1274, allocations: 8 kB / 477.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1274, allocations: 0 / 477.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1274, allocations: 0 / 477.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003547/0.1278, allocations: 276.9 kB / 477.4 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.055e-05/0.1278, allocations: 85.02 kB / 477.5 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.1279, allocations: 3.984 kB / 477.5 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.234e-05/0.128, allocations: 12 kB / 477.5 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.338e-05/0.128, allocations: 7.984 kB / 477.5 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.128, allocations: 4 kB / 477.5 MB, free: 6.488 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001038/0.1281, allocations: 143.2 kB / 477.7 MB, free: 6.348 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1281, allocations: 0 / 477.7 MB, free: 6.348 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002658/0.1284, allocations: 31.91 kB / 477.7 MB, free: 6.316 MB / 350.1 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 (11): * Single equations (assignments): 11 * 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.001003/0.1294, allocations: 465.5 kB / 478.1 MB, free: 6.039 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003316/0.1298, allocations: 135.8 kB / 478.3 MB, free: 5.906 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1298, allocations: 0 / 478.3 MB, free: 5.906 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001486/0.1299, allocations: 63.89 kB / 478.3 MB, free: 5.844 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.1303, allocations: 20.75 kB / 478.4 MB, free: 5.828 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005013/0.1308, allocations: 299.8 kB / 478.6 MB, free: 5.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.1311, allocations: 0.7119 MB / 479.4 MB, free: 4.762 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001098/0.1312, allocations: 32.52 kB / 479.4 MB, free: 4.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.411e-05/0.1312, allocations: 19.44 kB / 479.4 MB, free: 4.711 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1313, allocations: 0 / 479.4 MB, free: 4.711 MB / 350.1 MB Notification: Performance of Templates: time 0.004267/0.1355, allocations: 1.593 MB / 481 MB, free: 3.125 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches