Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001347/0.001348, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.314/1.314, allocations: 222.9 MB / 242.3 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.2146/0.2146, allocations: 44.17 MB / 336.6 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 64.12 kB / 408.4 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1186, allocations: 60.82 MB / 469.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.003398/0.1221, allocations: 1.619 MB / 470.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001586/0.1237, allocations: 1.051 MB / 471.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.495e-05/0.1238, allocations: 4 kB / 471.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002061/0.124, allocations: 23.86 kB / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002144/0.1242, allocations: 43.77 kB / 472 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006064/0.1248, allocations: 174.5 kB / 472.2 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001969/0.1251, allocations: 71.77 kB / 472.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.1252, allocations: 19.98 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.276e-05/0.1253, allocations: 23.92 kB / 472.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.1254, allocations: 31.84 kB / 472.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.1254, allocations: 4 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.1256, allocations: 55.97 kB / 472.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.613e-05/0.1256, allocations: 23.91 kB / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.5e-05/0.1257, allocations: 23.81 kB / 472.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001889/0.1259, allocations: 95.98 kB / 472.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1259, allocations: 7.938 kB / 472.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1259, allocations: 0 / 472.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.1259, allocations: 0 / 472.5 MB, free: 11.12 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.0004569/0.1264, allocations: 387.2 kB / 472.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.1264, allocations: 8.031 kB / 472.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.964e-05/0.1265, allocations: 8.844 kB / 472.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.1266, allocations: 192.3 kB / 473.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.1267, allocations: 4.375 kB / 473.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.1267, allocations: 384 / 473.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.1269, allocations: 79.45 kB / 473.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.1269, allocations: 0 / 473.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.1269, allocations: 4 kB / 473.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.1269, allocations: 4 kB / 473.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001468/0.1271, allocations: 39.95 kB / 473.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004173/0.1275, allocations: 300.7 kB / 473.5 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.1276, allocations: 58.48 kB / 473.6 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.027e-05/0.1277, allocations: 28.94 kB / 473.6 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.1278, allocations: 80 / 473.6 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.1278, allocations: 34.55 kB / 473.6 MB, free: 9.828 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.443e-06/0.1278, allocations: 0 / 473.6 MB, free: 9.828 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009066/0.1287, allocations: 225.1 kB / 473.9 MB, free: 9.602 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.04e-05/0.1288, allocations: 85.09 kB / 473.9 MB, free: 9.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.129, allocations: 133.8 kB / 474.1 MB, free: 9.359 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.129, allocations: 29.7 kB / 474.1 MB, free: 9.324 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.829e-05/0.1291, allocations: 92.12 kB / 474.2 MB, free: 9.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.709e-05/0.1291, allocations: 27.64 kB / 474.2 MB, free: 9.203 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.233e-05/0.1291, allocations: 21.72 kB / 474.2 MB, free: 9.176 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.1293, allocations: 318.8 kB / 474.5 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.1294, allocations: 43.95 kB / 474.6 MB, free: 8.812 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.1295, allocations: 53.75 kB / 474.6 MB, free: 8.754 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002267/0.1297, allocations: 88.73 kB / 474.7 MB, free: 8.664 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1298, allocations: 4.031 kB / 474.7 MB, free: 8.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000279/0.13, allocations: 125.5 kB / 474.9 MB, free: 8.531 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.1301, allocations: 8 kB / 474.9 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.1301, allocations: 0 / 474.9 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.1301, allocations: 0 / 474.9 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.1302, allocations: 23.98 kB / 474.9 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.1302, allocations: 0 / 474.9 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.935e-05/0.1303, allocations: 15.92 kB / 474.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.1303, allocations: 4 kB / 474.9 MB, free: 8.48 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 (7): * Single equations (assignments): 7 * 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.768e-05/0.1304, allocations: 121.7 kB / 475 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.1304, allocations: 11.89 kB / 475 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003315/0.1308, allocations: 130 kB / 475.2 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1308, allocations: 4 kB / 475.2 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.1308, allocations: 0 / 475.2 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.1308, allocations: 7.922 kB / 475.2 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005309/0.1313, allocations: 406.4 kB / 475.6 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1314, allocations: 0 / 475.6 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.158e-05/0.1314, allocations: 19.98 kB / 475.6 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1315, allocations: 4 kB / 475.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.1315, allocations: 7.938 kB / 475.6 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1315, allocations: 0 / 475.6 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1315, allocations: 0 / 475.6 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003249/0.1318, allocations: 219.7 kB / 475.8 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.118e-05/0.1319, allocations: 85.02 kB / 475.9 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.1319, allocations: 7.938 kB / 475.9 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.654e-05/0.132, allocations: 7.984 kB / 475.9 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.25e-05/0.132, allocations: 11.92 kB / 475.9 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.241e-06/0.132, allocations: 4 kB / 475.9 MB, free: 7.348 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.362e-05/0.1321, allocations: 105.9 kB / 476 MB, free: 7.246 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1321, allocations: 0 / 476 MB, free: 7.246 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002593/0.1324, allocations: 23.98 kB / 476.1 MB, free: 7.223 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 (7): * Single equations (assignments): 7 * 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.0009567/0.1334, allocations: 455.4 kB / 476.5 MB, free: 6.949 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003052/0.1337, allocations: 95.88 kB / 476.6 MB, free: 6.855 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.1337, allocations: 4 kB / 476.6 MB, free: 6.852 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.1338, allocations: 47.95 kB / 476.6 MB, free: 6.805 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.1342, allocations: 15.66 kB / 476.7 MB, free: 6.793 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004346/0.1346, allocations: 206.3 kB / 476.9 MB, free: 6.559 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.1349, allocations: 0.7041 MB / 477.6 MB, free: 5.828 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.811e-05/0.135, allocations: 24.23 kB / 477.6 MB, free: 5.805 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.136e-05/0.135, allocations: 31.23 kB / 477.6 MB, free: 5.773 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.135, allocations: 0 / 477.6 MB, free: 5.773 MB / 350.1 MB Notification: Performance of Templates: time 0.004128/0.1392, allocations: 1.522 MB / 479.1 MB, free: 4.258 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches