Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 115.2 kB / 17.08 MB, free: 6.012 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.001459/0.00146, allocations: 195 kB / 18.01 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.576/1.576, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2117/0.2117, allocations: 43.53 MB / 314.8 MB, free: 448 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 71.89 kB / 442.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.114, allocations: 57.79 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.004149/0.1182, allocations: 1.966 MB / 0.4905 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001501/0.1198, allocations: 0.7564 MB / 0.4912 GB, free: 9.051 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001969/0.12, allocations: 7.938 kB / 0.4912 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005488/0.1205, allocations: 263.2 kB / 0.4915 GB, free: 8.785 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000472/0.1211, allocations: 191.3 kB / 0.4916 GB, free: 8.598 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00143/0.1225, allocations: 0.6043 MB / 0.4922 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005601/0.1231, allocations: 291.3 kB / 0.4925 GB, free: 7.707 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002305/0.1233, allocations: 80.69 kB / 0.4926 GB, free: 7.629 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002207/0.1235, allocations: 135.4 kB / 0.4927 GB, free: 7.496 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002975/0.1239, allocations: 203.3 kB / 0.4929 GB, free: 7.297 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.926e-05/0.1239, allocations: 8 kB / 0.4929 GB, free: 7.289 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000185/0.1241, allocations: 63.98 kB / 0.493 GB, free: 7.227 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001417/0.1243, allocations: 111.6 kB / 0.4931 GB, free: 7.117 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.1244, allocations: 115.1 kB / 0.4932 GB, free: 7.004 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004973/0.1249, allocations: 298.9 kB / 0.4935 GB, free: 6.711 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1249, allocations: 0 / 0.4935 GB, free: 6.711 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1249, allocations: 0 / 0.4935 GB, free: 6.711 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.136e-06/0.1249, allocations: 0 / 0.4935 GB, free: 6.711 MB / 382.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.0007113/0.1256, allocations: 0.6301 MB / 0.4941 GB, free: 6.031 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.1257, allocations: 15.89 kB / 0.4941 GB, free: 6.016 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.083e-05/0.1257, allocations: 40.38 kB / 0.4942 GB, free: 5.977 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003264/0.1261, allocations: 322.2 kB / 0.4945 GB, free: 5.621 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.1261, allocations: 12.38 kB / 0.4945 GB, free: 5.609 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.303e-05/0.1261, allocations: 8.375 kB / 0.4945 GB, free: 5.602 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000278/0.1264, allocations: 133.7 kB / 0.4946 GB, free: 5.465 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.1265, allocations: 0 / 0.4946 GB, free: 5.465 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.1265, allocations: 3.938 kB / 0.4946 GB, free: 5.461 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.1265, allocations: 4 kB / 0.4946 GB, free: 5.457 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001804/0.1267, allocations: 91.94 kB / 0.4947 GB, free: 5.367 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006606/0.1273, allocations: 0.4925 MB / 0.4952 GB, free: 4.824 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.1275, allocations: 102.5 kB / 0.4953 GB, free: 4.715 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.779e-05/0.1276, allocations: 40.83 kB / 0.4953 GB, free: 4.672 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.955e-05/0.1277, allocations: 4 kB / 0.4953 GB, free: 4.668 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.1277, allocations: 34.56 kB / 0.4954 GB, free: 4.625 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.1277, allocations: 4 kB / 0.4954 GB, free: 4.621 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009498/0.1286, allocations: 444.4 kB / 0.4958 GB, free: 4.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.1287, allocations: 51.41 kB / 0.4958 GB, free: 4.117 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005323/0.1292, allocations: 0.5211 MB / 0.4963 GB, free: 3.586 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.1293, allocations: 33.7 kB / 0.4964 GB, free: 3.547 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.1294, allocations: 196.3 kB / 0.4966 GB, free: 3.352 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.914e-05/0.1295, allocations: 51.2 kB / 0.4966 GB, free: 3.301 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.34e-05/0.1296, allocations: 41.7 kB / 0.4966 GB, free: 3.254 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.1297, allocations: 346.8 kB / 0.497 GB, free: 2.906 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.1298, allocations: 63.95 kB / 0.497 GB, free: 2.844 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.13, allocations: 70.61 kB / 0.4971 GB, free: 2.777 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002861/0.1303, allocations: 156.7 kB / 0.4973 GB, free: 2.621 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.1303, allocations: 7.938 kB / 0.4973 GB, free: 2.613 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003766/0.1307, allocations: 225.9 kB / 0.4975 GB, free: 2.387 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.1307, allocations: 4 kB / 0.4975 GB, free: 2.383 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.1307, allocations: 0 / 0.4975 GB, free: 2.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.1307, allocations: 4 kB / 0.4975 GB, free: 2.379 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/0.1309, allocations: 27.98 kB / 0.4975 GB, free: 2.352 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.1309, allocations: 4 kB / 0.4975 GB, free: 2.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.271e-05/0.131, allocations: 11.89 kB / 0.4975 GB, free: 2.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.131, allocations: 12 kB / 0.4975 GB, free: 2.324 MB / 382.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.0001611/0.1312, allocations: 181.6 kB / 0.4977 GB, free: 2.137 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.918e-05/0.1313, allocations: 47.44 kB / 0.4978 GB, free: 2.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004827/0.1318, allocations: 276.1 kB / 0.498 GB, free: 1.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1318, allocations: 0 / 0.498 GB, free: 1.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.1318, allocations: 0 / 0.498 GB, free: 1.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1318, allocations: 0 / 0.498 GB, free: 1.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008117/0.1326, allocations: 0.666 MB / 0.4987 GB, free: 1.098 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.1326, allocations: 0 / 0.4987 GB, free: 1.098 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.1327, allocations: 39.91 kB / 0.4987 GB, free: 1.059 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.1327, allocations: 0 / 0.4987 GB, free: 1.059 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.1328, allocations: 4 kB / 0.4987 GB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.1328, allocations: 0 / 0.4987 GB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.1328, allocations: 3.938 kB / 0.4987 GB, free: 1.051 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004816/0.1333, allocations: 330.7 kB / 0.499 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.112e-05/0.1333, allocations: 100.7 kB / 0.4991 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.953e-05/0.1334, allocations: 7.984 kB / 0.4991 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.582e-05/0.1335, allocations: 4 kB / 0.4991 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.253e-05/0.1335, allocations: 19.92 kB / 0.4992 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.1336, allocations: 4 kB / 0.4992 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003681/0.1339, allocations: 399 kB / 0.4995 GB, free: 180 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1339, allocations: 4 kB / 0.4995 GB, free: 176 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003246/0.1343, allocations: 51.91 kB / 0.4996 GB, free: 124 kB / 382.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.001617/0.1359, allocations: 0.6868 MB / 0.5003 GB, free: 15.46 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003634/0.1363, allocations: 163.8 kB / 0.5004 GB, free: 15.3 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1363, allocations: 0 / 0.5004 GB, free: 15.3 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001559/0.1364, allocations: 99.83 kB / 0.5005 GB, free: 15.2 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005362/0.137, allocations: 77.22 kB / 0.5006 GB, free: 15.13 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000998/0.138, allocations: 0.6993 MB / 0.5013 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004262/0.1384, allocations: 0.8065 MB / 0.5021 GB, free: 13.56 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.139e-05/0.1385, allocations: 35.42 kB / 0.5021 GB, free: 13.53 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1385, allocations: 0 / 0.5021 GB, free: 13.53 MB / 398.1 MB Notification: Performance of Templates: time 0.007921/0.1465, allocations: 4.558 MB / 0.5065 GB, free: 8.961 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches