Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 109.5 kB / 16.41 MB, free: 6.023 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.001343/0.001343, allocations: 189.3 kB / 17.34 MB, free: 5.633 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.492/1.492, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2126/0.2126, allocations: 43.53 MB / 314.1 MB, free: 472 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.001802/0.001802, allocations: 72.47 kB / 441.8 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1189, allocations: 57.8 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.003402/0.1224, allocations: 1.6 MB / 0.4895 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007591/0.1232, allocations: 343.5 kB / 0.4898 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.764e-05/0.1233, allocations: 0 / 0.4898 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003261/0.1236, allocations: 59.81 kB / 0.4898 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002692/0.1239, allocations: 55.75 kB / 0.4899 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005168/0.1245, allocations: 159.6 kB / 0.4901 GB, free: 9.559 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002/0.1247, allocations: 71.83 kB / 0.4901 GB, free: 9.488 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.1248, allocations: 23.95 kB / 0.4901 GB, free: 9.465 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.81e-05/0.1249, allocations: 31.92 kB / 0.4902 GB, free: 9.434 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.1251, allocations: 51.81 kB / 0.4902 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.1251, allocations: 7.938 kB / 0.4902 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.1252, allocations: 28 kB / 0.4903 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.42e-05/0.1253, allocations: 23.91 kB / 0.4903 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.013e-05/0.1254, allocations: 31.75 kB / 0.4903 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002139/0.1256, allocations: 91.7 kB / 0.4904 GB, free: 9.203 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1256, allocations: 4 kB / 0.4904 GB, free: 9.199 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1256, allocations: 0 / 0.4904 GB, free: 9.199 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.1256, allocations: 0 / 0.4904 GB, free: 9.199 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005765/0.1262, allocations: 407 kB / 0.4908 GB, free: 8.754 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.1262, allocations: 11.89 kB / 0.4908 GB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.917e-05/0.1263, allocations: 16.75 kB / 0.4908 GB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.1265, allocations: 192.1 kB / 0.491 GB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.1266, allocations: 4.375 kB / 0.491 GB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/0.1266, allocations: 8.281 kB / 0.491 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.1268, allocations: 65.78 kB / 0.4911 GB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.1268, allocations: 4 kB / 0.4911 GB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.1268, allocations: 0 / 0.4911 GB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.1268, allocations: 4 kB / 0.4911 GB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001411/0.127, allocations: 39.91 kB / 0.4911 GB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004607/0.1275, allocations: 304.8 kB / 0.4914 GB, free: 8.023 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.1276, allocations: 50.55 kB / 0.4915 GB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.127e-05/0.1277, allocations: 28.94 kB / 0.4915 GB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3e-05/0.1277, allocations: 4 kB / 0.4915 GB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.1278, allocations: 30.56 kB / 0.4915 GB, free: 7.891 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1278, allocations: 7.875 kB / 0.4915 GB, free: 7.883 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007825/0.1286, allocations: 233.2 kB / 0.4918 GB, free: 7.648 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.1286, allocations: 55.34 kB / 0.4918 GB, free: 7.582 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.1288, allocations: 186.2 kB / 0.492 GB, free: 7.391 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.1288, allocations: 25.7 kB / 0.492 GB, free: 7.359 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.121e-05/0.1289, allocations: 108 kB / 0.4921 GB, free: 7.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.392e-05/0.129, allocations: 23.62 kB / 0.4921 GB, free: 7.227 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/0.129, allocations: 21.72 kB / 0.4922 GB, free: 7.199 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.1291, allocations: 326.8 kB / 0.4925 GB, free: 6.871 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.1293, allocations: 35.97 kB / 0.4925 GB, free: 6.836 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.1294, allocations: 43.95 kB / 0.4925 GB, free: 6.793 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002011/0.1296, allocations: 88.8 kB / 0.4926 GB, free: 6.703 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1296, allocations: 0 / 0.4926 GB, free: 6.703 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002776/0.1299, allocations: 121.5 kB / 0.4927 GB, free: 6.578 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.1299, allocations: 4 kB / 0.4927 GB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.1299, allocations: 0 / 0.4927 GB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.394e-05/0.13, allocations: 7.984 kB / 0.4928 GB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.1301, allocations: 19.98 kB / 0.4928 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.1301, allocations: 0 / 0.4928 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.177e-05/0.1302, allocations: 19.92 kB / 0.4928 GB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.1302, allocations: 0 / 0.4928 GB, free: 6.527 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 (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 0.0001458/0.1304, allocations: 125.8 kB / 0.4929 GB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.954e-05/0.1304, allocations: 7.906 kB / 0.4929 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003659/0.1308, allocations: 146.2 kB / 0.4931 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.1308, allocations: 4 kB / 0.4931 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.1308, allocations: 0 / 0.4931 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.1308, allocations: 7.922 kB / 0.4931 GB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006213/0.1315, allocations: 406.4 kB / 0.4935 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.1315, allocations: 0 / 0.4935 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.99e-05/0.1316, allocations: 27.92 kB / 0.4935 GB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.1316, allocations: 0 / 0.4935 GB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.1316, allocations: 7.938 kB / 0.4935 GB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.1316, allocations: 0 / 0.4935 GB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.1316, allocations: 4 kB / 0.4935 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003382/0.132, allocations: 223.7 kB / 0.4937 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.836e-05/0.132, allocations: 85.02 kB / 0.4938 GB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.1321, allocations: 7.938 kB / 0.4938 GB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.662e-05/0.1321, allocations: 7.984 kB / 0.4938 GB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.243e-05/0.1322, allocations: 11.98 kB / 0.4938 GB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.1322, allocations: 0 / 0.4938 GB, free: 5.367 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001049/0.1323, allocations: 140.1 kB / 0.494 GB, free: 5.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1323, allocations: 0 / 0.494 GB, free: 5.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002407/0.1326, allocations: 16 kB / 0.494 GB, free: 5.215 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 (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.0009153/0.1335, allocations: 416.5 kB / 0.4944 GB, free: 4.848 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000279/0.1338, allocations: 95.91 kB / 0.4945 GB, free: 4.754 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1338, allocations: 0 / 0.4945 GB, free: 4.754 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001712/0.134, allocations: 47.91 kB / 0.4945 GB, free: 4.707 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.1344, allocations: 16.59 kB / 0.4945 GB, free: 4.691 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004532/0.1348, allocations: 246.3 kB / 0.4948 GB, free: 4.426 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.1351, allocations: 0.7041 MB / 0.4954 GB, free: 3.695 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.537e-05/0.1352, allocations: 23.91 kB / 0.4955 GB, free: 3.672 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.178e-05/0.1352, allocations: 15.44 kB / 0.4955 GB, free: 3.656 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1352, allocations: 0 / 0.4955 GB, free: 3.656 MB / 382.1 MB Notification: Performance of Templates: time 0.003659/0.1389, allocations: 1.299 MB / 0.4967 GB, free: 2.359 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches