Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.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.CombiTable2Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 94.55 kB / 18 MB, free: 5.602 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.001453/0.001453, allocations: 177.6 kB / 18.91 MB, free: 4.738 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.399/1.399, allocations: 223.3 MB / 243 MB, free: 16 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1997/0.1997, allocations: 44.24 MB / 338.3 MB, free: 2.617 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003287/0.0003286, allocations: 8 kB / 411 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1076, allocations: 61.93 MB / 472.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.002312/0.11, allocations: 1.649 MB / 474.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001545/0.1116, allocations: 0.8263 MB / 475.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.1117, allocations: 7.938 kB / 475.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004402/0.1122, allocations: 239.5 kB / 475.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003491/0.1125, allocations: 171.5 kB / 475.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.1136, allocations: 457.8 kB / 476.2 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003815/0.114, allocations: 263.3 kB / 476.5 MB, free: 9.711 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001725/0.1142, allocations: 76.48 kB / 476.6 MB, free: 9.633 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001747/0.1144, allocations: 107.5 kB / 476.7 MB, free: 9.527 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002492/0.1146, allocations: 175.3 kB / 476.9 MB, free: 9.355 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.176e-05/0.1147, allocations: 4 kB / 476.9 MB, free: 9.352 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001616/0.1148, allocations: 55.97 kB / 476.9 MB, free: 9.297 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001379/0.115, allocations: 91.67 kB / 477 MB, free: 9.207 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.1151, allocations: 120.8 kB / 477.1 MB, free: 9.082 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002779/0.1154, allocations: 211.8 kB / 477.3 MB, free: 8.875 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1154, allocations: 0 / 477.3 MB, free: 8.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1154, allocations: 0 / 477.3 MB, free: 8.875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.1154, allocations: 0 / 477.3 MB, free: 8.875 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006606/0.1161, allocations: 0.5566 MB / 477.9 MB, free: 8.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.1161, allocations: 12.03 kB / 477.9 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.764e-05/0.1162, allocations: 36.47 kB / 477.9 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003083/0.1165, allocations: 314.2 kB / 478.2 MB, free: 7.875 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.1165, allocations: 8.375 kB / 478.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.1166, allocations: 12.38 kB / 478.3 MB, free: 7.855 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002295/0.1168, allocations: 105.8 kB / 478.4 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.1168, allocations: 11.84 kB / 478.4 MB, free: 7.734 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.1169, allocations: 7.938 kB / 478.4 MB, free: 7.727 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.1169, allocations: 4 kB / 478.4 MB, free: 7.723 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001683/0.117, allocations: 79.89 kB / 478.5 MB, free: 7.645 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006144/0.1177, allocations: 484.2 kB / 478.9 MB, free: 7.121 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.1179, allocations: 98.48 kB / 479 MB, free: 7.016 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.108e-05/0.1179, allocations: 32.84 kB / 479.1 MB, free: 6.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.131e-05/0.118, allocations: 4 kB / 479.1 MB, free: 6.977 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.118, allocations: 38.55 kB / 479.1 MB, free: 6.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.122e-06/0.118, allocations: 0 / 479.1 MB, free: 6.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009061/0.1189, allocations: 402.4 kB / 479.5 MB, free: 6.531 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.119, allocations: 55.41 kB / 479.5 MB, free: 6.465 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004995/0.1195, allocations: 0.5132 MB / 480.1 MB, free: 5.941 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.1195, allocations: 37.69 kB / 480.1 MB, free: 5.898 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.1196, allocations: 192.3 kB / 480.3 MB, free: 5.707 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.748e-05/0.1197, allocations: 51.27 kB / 480.3 MB, free: 5.656 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/0.1197, allocations: 17.72 kB / 480.4 MB, free: 5.633 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.1199, allocations: 346.8 kB / 480.7 MB, free: 5.285 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.12, allocations: 55.97 kB / 480.7 MB, free: 5.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.1201, allocations: 55.97 kB / 480.8 MB, free: 5.176 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002402/0.1203, allocations: 135.2 kB / 480.9 MB, free: 5.043 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.1204, allocations: 3.938 kB / 480.9 MB, free: 5.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000332/0.1207, allocations: 201.2 kB / 481.1 MB, free: 4.836 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.1207, allocations: 4 kB / 481.1 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1207, allocations: 0 / 481.1 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.1208, allocations: 4 kB / 481.1 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.1209, allocations: 35.92 kB / 481.2 MB, free: 4.793 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.1209, allocations: 0 / 481.2 MB, free: 4.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.319e-05/0.121, allocations: 19.92 kB / 481.2 MB, free: 4.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.121, allocations: 8 kB / 481.2 MB, free: 4.766 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 (17): * Single equations (assignments): 17 * 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.0001601/0.1212, allocations: 173.8 kB / 481.4 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.934e-05/0.1212, allocations: 35.53 kB / 481.4 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004556/0.1217, allocations: 241.3 kB / 481.6 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.1217, allocations: 4 kB / 481.6 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1217, allocations: 0 / 481.6 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.1217, allocations: 3.984 kB / 481.7 MB, free: 4.297 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007408/0.1225, allocations: 0.6169 MB / 482.3 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1225, allocations: 0 / 482.3 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.1226, allocations: 35.97 kB / 482.3 MB, free: 3.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.1226, allocations: 11.88 kB / 482.3 MB, free: 3.578 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.1227, allocations: 4 kB / 482.3 MB, free: 3.574 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1227, allocations: 0 / 482.3 MB, free: 3.574 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.1227, allocations: 3.938 kB / 482.3 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003799/0.1231, allocations: 305.5 kB / 482.6 MB, free: 3.258 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.035e-05/0.1231, allocations: 116.7 kB / 482.7 MB, free: 3.125 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.788e-05/0.1232, allocations: 3.984 kB / 482.7 MB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.348e-05/0.1233, allocations: 8 kB / 482.7 MB, free: 3.113 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.435e-05/0.1233, allocations: 19.92 kB / 482.8 MB, free: 3.094 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.1233, allocations: 4 kB / 482.8 MB, free: 3.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003621/0.1237, allocations: 391.1 kB / 483.2 MB, free: 2.711 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1237, allocations: 0 / 483.2 MB, free: 2.711 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003057/0.124, allocations: 51.91 kB / 483.2 MB, free: 2.66 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 (17): * Single equations (assignments): 17 * 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.001644/0.1257, allocations: 0.6911 MB / 483.9 MB, free: 2.277 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003205/0.126, allocations: 139.9 kB / 484 MB, free: 2.141 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.126, allocations: 0 / 484 MB, free: 2.141 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.1262, allocations: 75.91 kB / 484.1 MB, free: 2.066 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005372/0.1267, allocations: 69.5 kB / 484.2 MB, free: 2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.1279, allocations: 0.7537 MB / 484.9 MB, free: 1.219 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004973/0.1284, allocations: 0.7908 MB / 485.7 MB, free: 412 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.966e-05/0.1285, allocations: 31.42 kB / 485.7 MB, free: 380 kB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1285, allocations: 0 / 485.7 MB, free: 380 kB / 350.1 MB Notification: Performance of Templates: time 0.008137/0.1367, allocations: 4.208 MB / 490 MB, free: 12.18 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches