Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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.CombiTable2D.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_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20") translateModel(ModelicaTest.Tables.CombiTable2D.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_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001075, allocations: 119.3 kB / 17.09 MB, free: 5.938 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.001064/0.001064, allocations: 197.2 kB / 18.01 MB, free: 5.027 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.433/1.433, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.2277/0.2277, allocations: 43.52 MB / 314.8 MB, free: 452 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.001619/0.001619, allocations: 71.89 kB / 442.5 MB, free: 5.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1236, allocations: 57.79 MB / 0.4885 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test20): time 0.003963/0.1276, allocations: 1.958 MB / 0.4905 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001395/0.1291, allocations: 0.6627 MB / 0.4911 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002247/0.1293, allocations: 8 kB / 0.4911 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005686/0.1299, allocations: 255.2 kB / 0.4914 GB, free: 8.887 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005469/0.1305, allocations: 195.3 kB / 0.4915 GB, free: 8.695 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001159/0.1317, allocations: 447 kB / 0.492 GB, free: 8.258 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005453/0.1322, allocations: 271.3 kB / 0.4922 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002361/0.1325, allocations: 64.69 kB / 0.4923 GB, free: 7.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002664/0.1327, allocations: 135.5 kB / 0.4924 GB, free: 7.797 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003158/0.1331, allocations: 195.3 kB / 0.4926 GB, free: 7.605 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.469e-05/0.1331, allocations: 8 kB / 0.4926 GB, free: 7.598 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001959/0.1333, allocations: 67.97 kB / 0.4927 GB, free: 7.531 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001545/0.1335, allocations: 91.67 kB / 0.4928 GB, free: 7.441 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000126/0.1336, allocations: 107.1 kB / 0.4929 GB, free: 7.336 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004984/0.1341, allocations: 290.9 kB / 0.4931 GB, free: 7.051 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.1341, allocations: 12 kB / 0.4932 GB, free: 7.039 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1341, allocations: 0 / 0.4932 GB, free: 7.039 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.42e-05/0.1342, allocations: 0 / 0.4932 GB, free: 7.039 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.0008417/0.135, allocations: 0.6107 MB / 0.4938 GB, free: 6.379 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.1351, allocations: 11.89 kB / 0.4938 GB, free: 6.367 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.853e-05/0.1352, allocations: 36.47 kB / 0.4938 GB, free: 6.332 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003631/0.1355, allocations: 306.2 kB / 0.4941 GB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.1356, allocations: 12.31 kB / 0.4941 GB, free: 5.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.169e-05/0.1356, allocations: 8.375 kB / 0.4941 GB, free: 5.973 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000247/0.1359, allocations: 113.7 kB / 0.4942 GB, free: 5.855 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.1359, allocations: 4 kB / 0.4942 GB, free: 5.852 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.1359, allocations: 4 kB / 0.4942 GB, free: 5.848 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.1359, allocations: 3.984 kB / 0.4942 GB, free: 5.844 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000163/0.1361, allocations: 71.89 kB / 0.4943 GB, free: 5.773 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006186/0.1367, allocations: 480.2 kB / 0.4948 GB, free: 5.254 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.1369, allocations: 90.55 kB / 0.4948 GB, free: 5.156 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.648e-05/0.137, allocations: 36.84 kB / 0.4949 GB, free: 5.117 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.961e-05/0.137, allocations: 0 / 0.4949 GB, free: 5.117 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.137, allocations: 34.5 kB / 0.4949 GB, free: 5.074 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.137, allocations: 4 kB / 0.4949 GB, free: 5.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008687/0.1379, allocations: 388.3 kB / 0.4953 GB, free: 4.684 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.138, allocations: 55.41 kB / 0.4953 GB, free: 4.617 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004895/0.1385, allocations: 0.5094 MB / 0.4958 GB, free: 4.098 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.1385, allocations: 29.7 kB / 0.4959 GB, free: 4.062 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.1386, allocations: 196.3 kB / 0.4961 GB, free: 3.867 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.902e-05/0.1387, allocations: 63.08 kB / 0.4961 GB, free: 3.805 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.74e-05/0.1387, allocations: 29.72 kB / 0.4961 GB, free: 3.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.1389, allocations: 354.8 kB / 0.4965 GB, free: 3.414 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.139, allocations: 47.97 kB / 0.4965 GB, free: 3.367 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.808e-05/0.1391, allocations: 54.62 kB / 0.4966 GB, free: 3.316 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002116/0.1393, allocations: 120.8 kB / 0.4967 GB, free: 3.195 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1393, allocations: 3.938 kB / 0.4967 GB, free: 3.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003157/0.1396, allocations: 199.8 kB / 0.4969 GB, free: 2.992 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.1397, allocations: 8 kB / 0.4969 GB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1397, allocations: 0 / 0.4969 GB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.1397, allocations: 4 kB / 0.4969 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.1398, allocations: 27.98 kB / 0.4969 GB, free: 2.953 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1399, allocations: 0 / 0.4969 GB, free: 2.953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.736e-05/0.1399, allocations: 7.984 kB / 0.4969 GB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.1399, allocations: 12 kB / 0.4969 GB, free: 2.934 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.0001601/0.1401, allocations: 177.6 kB / 0.4971 GB, free: 2.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.965e-05/0.1402, allocations: 39.53 kB / 0.4972 GB, free: 2.711 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004154/0.1406, allocations: 221.3 kB / 0.4974 GB, free: 2.492 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.1406, allocations: 4 kB / 0.4974 GB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.1406, allocations: 0 / 0.4974 GB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.1406, allocations: 7.922 kB / 0.4974 GB, free: 2.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006701/0.1413, allocations: 0.6036 MB / 0.498 GB, free: 1.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1413, allocations: 4 kB / 0.498 GB, free: 1.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.1414, allocations: 39.91 kB / 0.498 GB, free: 1.777 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.1414, allocations: 0 / 0.498 GB, free: 1.777 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.1415, allocations: 11.94 kB / 0.498 GB, free: 1.766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/0.1415, allocations: 4 kB / 0.498 GB, free: 1.762 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.1415, allocations: 3.938 kB / 0.498 GB, free: 1.758 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003383/0.1418, allocations: 292.8 kB / 0.4983 GB, free: 1.457 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.529e-05/0.1419, allocations: 104.7 kB / 0.4984 GB, free: 1.336 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.953e-05/0.1419, allocations: 4 kB / 0.4984 GB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.369e-05/0.142, allocations: 7.984 kB / 0.4984 GB, free: 1.324 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.1e-05/0.1421, allocations: 15.92 kB / 0.4984 GB, free: 1.309 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-06/0.1421, allocations: 8 kB / 0.4984 GB, free: 1.301 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003475/0.1424, allocations: 391.1 kB / 0.4988 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1424, allocations: 0 / 0.4988 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002809/0.1427, allocations: 44 kB / 0.4989 GB, free: 0.8789 MB / 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.001572/0.1443, allocations: 0.6814 MB / 0.4995 GB, free: 240 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003105/0.1446, allocations: 143.7 kB / 0.4997 GB, free: 96 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1446, allocations: 0 / 0.4997 GB, free: 96 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.1448, allocations: 71.91 kB / 0.4997 GB, free: 24 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005508/0.1453, allocations: 69.36 kB / 0.4998 GB, free: 15.96 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009598/0.1463, allocations: 0.6684 MB / 0.5004 GB, free: 15.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.1466, allocations: 0.7905 MB / 0.5012 GB, free: 14.44 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.711e-05/0.1467, allocations: 35.42 kB / 0.5012 GB, free: 14.4 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1467, allocations: 4 kB / 0.5013 GB, free: 14.4 MB / 398.1 MB Notification: Performance of Templates: time 0.006106/0.1528, allocations: 4.281 MB / 0.5054 GB, free: 10.11 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches