Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 106.1 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.001833/0.001833, allocations: 195.3 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.433/1.433, 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.2073/0.2073, allocations: 44.18 MB / 337.3 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001267, allocations: 56.81 kB / 409.1 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.119, allocations: 60.82 MB / 469.9 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.003749/0.1228, allocations: 1.639 MB / 471.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009675/0.1238, allocations: 451 kB / 472 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.89e-05/0.1239, allocations: 4 kB / 472 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002984/0.1242, allocations: 71.77 kB / 472.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002728/0.1245, allocations: 63.73 kB / 472.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000523/0.1251, allocations: 173.1 kB / 472.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002083/0.1253, allocations: 87.73 kB / 472.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.1254, allocations: 23.94 kB / 472.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.331e-05/0.1255, allocations: 35.91 kB / 472.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.1257, allocations: 55.75 kB / 472.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.438e-05/0.1257, allocations: 4 kB / 472.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.1258, allocations: 51.92 kB / 472.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001389/0.126, allocations: 31.91 kB / 472.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.393e-05/0.1261, allocations: 31.73 kB / 472.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002492/0.1263, allocations: 108 kB / 472.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.1263, allocations: 4 kB / 472.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1263, allocations: 0 / 472.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.1264, allocations: 0 / 472.7 MB, free: 11.57 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.0006519/0.127, allocations: 415 kB / 473.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.1271, allocations: 8.031 kB / 473.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.019e-05/0.1271, allocations: 16.75 kB / 473.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002369/0.1274, allocations: 200 kB / 473.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.779e-06/0.1274, allocations: 8.375 kB / 473.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.43e-05/0.1274, allocations: 4.375 kB / 473.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.1277, allocations: 69.73 kB / 473.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.1277, allocations: 4 kB / 473.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.1277, allocations: 4 kB / 473.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1277, allocations: 0 / 473.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001698/0.1279, allocations: 43.89 kB / 473.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005206/0.1284, allocations: 328.7 kB / 473.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002712/0.1287, allocations: 62.58 kB / 473.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.806e-05/0.1288, allocations: 24.97 kB / 473.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.1288, allocations: 0 / 473.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.1289, allocations: 38.56 kB / 473.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.663e-06/0.1289, allocations: 0 / 473.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001636/0.1305, allocations: 417.3 kB / 474.3 MB, free: 9.797 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.1306, allocations: 55.34 kB / 474.4 MB, free: 9.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/0.1308, allocations: 205.2 kB / 474.6 MB, free: 9.512 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.1308, allocations: 25.7 kB / 474.6 MB, free: 9.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.048e-05/0.1309, allocations: 108.1 kB / 474.7 MB, free: 9.371 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.327e-05/0.1309, allocations: 35.45 kB / 474.8 MB, free: 9.336 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-05/0.131, allocations: 29.7 kB / 474.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.1312, allocations: 322.8 kB / 475.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/0.1313, allocations: 55.97 kB / 475.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001437/0.1315, allocations: 63.83 kB / 475.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003035/0.1318, allocations: 124.8 kB / 475.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.1318, allocations: 0 / 475.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003817/0.1322, allocations: 161.8 kB / 475.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.1322, allocations: 8 kB / 475.5 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1322, allocations: 3.938 kB / 475.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.1323, allocations: 4 kB / 475.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.1324, allocations: 35.86 kB / 475.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.1324, allocations: 0 / 475.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.861e-05/0.1325, allocations: 15.89 kB / 475.6 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.1325, allocations: 0 / 475.6 MB, free: 8.504 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 0.0001262/0.1326, allocations: 133.8 kB / 475.7 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.024e-05/0.1327, allocations: 7.906 kB / 475.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004489/0.1331, allocations: 187 kB / 475.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.1331, allocations: 11.86 kB / 475.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.1332, allocations: 4 kB / 475.9 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.1332, allocations: 3.984 kB / 475.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007607/0.1339, allocations: 0.496 MB / 476.4 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.134, allocations: 0 / 476.4 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.1341, allocations: 27.92 kB / 476.4 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.1341, allocations: 7.938 kB / 476.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.1341, allocations: 0 / 476.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.1341, allocations: 0 / 476.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.1341, allocations: 4 kB / 476.4 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004339/0.1346, allocations: 269 kB / 476.7 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.363e-05/0.1346, allocations: 88.92 kB / 476.8 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/0.1347, allocations: 8 kB / 476.8 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.864e-05/0.1348, allocations: 11.98 kB / 476.8 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.019e-05/0.1348, allocations: 11.98 kB / 476.8 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.816e-06/0.1349, allocations: 4 kB / 476.8 MB, free: 7.129 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001376/0.135, allocations: 156.9 kB / 477 MB, free: 6.977 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.135, allocations: 4 kB / 477 MB, free: 6.973 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002847/0.1353, allocations: 24 kB / 477 MB, free: 6.949 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.001127/0.1364, allocations: 475.9 kB / 477.5 MB, free: 6.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004057/0.1369, allocations: 131.8 kB / 477.6 MB, free: 6.531 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1369, allocations: 7.938 kB / 477.6 MB, free: 6.523 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001711/0.137, allocations: 67.89 kB / 477.7 MB, free: 6.457 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/0.1375, allocations: 31.8 kB / 477.7 MB, free: 6.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006535/0.1381, allocations: 334 kB / 478 MB, free: 6.066 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003573/0.1385, allocations: 0.7158 MB / 478.7 MB, free: 5.324 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.267e-05/0.1386, allocations: 15.44 kB / 478.8 MB, free: 5.309 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1386, allocations: 0 / 478.8 MB, free: 5.309 MB / 350.1 MB Notification: Performance of Templates: time 0.004725/0.1433, allocations: 2.055 MB / 480.8 MB, free: 3.258 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches