Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24.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.CombiTable1D.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24") translateModel(ModelicaTest.Tables.CombiTable1D.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 112.3 kB / 16.41 MB, free: 6.027 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.001191/0.001191, allocations: 185.1 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.401/1.401, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.2032/0.2032, allocations: 43.53 MB / 314.1 MB, free: 464 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.001342/0.001342, allocations: 67.89 kB / 441.8 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1185, allocations: 57.79 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test24): time 0.002783/0.1214, allocations: 1.554 MB / 0.4894 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.1226, allocations: 0.9494 MB / 0.4903 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.036e-05/0.1227, allocations: 8 kB / 0.4903 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002434/0.123, allocations: 15.86 kB / 0.4904 GB, free: 9.262 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001837/0.1232, allocations: 43.83 kB / 0.4904 GB, free: 9.219 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002732/0.1234, allocations: 99.73 kB / 0.4905 GB, free: 9.121 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001359/0.1236, allocations: 55.84 kB / 0.4905 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.1237, allocations: 15.98 kB / 0.4906 GB, free: 9.051 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.893e-05/0.1237, allocations: 19.92 kB / 0.4906 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/0.1239, allocations: 35.78 kB / 0.4906 GB, free: 8.996 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.1239, allocations: 4 kB / 0.4906 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.995e-05/0.124, allocations: 43.98 kB / 0.4907 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.531e-05/0.1241, allocations: 15.97 kB / 0.4907 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.456e-05/0.1241, allocations: 15.88 kB / 0.4907 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000173/0.1243, allocations: 87.78 kB / 0.4908 GB, free: 8.832 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.1243, allocations: 0 / 0.4908 GB, free: 8.832 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1243, allocations: 0 / 0.4908 GB, free: 8.832 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.1243, allocations: 0 / 0.4908 GB, free: 8.832 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004665/0.1248, allocations: 395.1 kB / 0.4911 GB, free: 8.398 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.1248, allocations: 15.89 kB / 0.4912 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.593e-05/0.1249, allocations: 0.9375 kB / 0.4912 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001997/0.1251, allocations: 188.2 kB / 0.4913 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.188e-06/0.1251, allocations: 8.375 kB / 0.4913 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.1251, allocations: 384 / 0.4913 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.1253, allocations: 59.53 kB / 0.4914 GB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.1253, allocations: 4 kB / 0.4914 GB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.1253, allocations: 8 kB / 0.4914 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1253, allocations: 0 / 0.4914 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.951e-05/0.1254, allocations: 27.91 kB / 0.4914 GB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003701/0.1258, allocations: 276.9 kB / 0.4917 GB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.126, allocations: 42.64 kB / 0.4917 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.302e-05/0.1261, allocations: 24.84 kB / 0.4918 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.1261, allocations: 0 / 0.4918 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.1261, allocations: 34.5 kB / 0.4918 GB, free: 7.602 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.1261, allocations: 0 / 0.4918 GB, free: 7.602 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005538/0.1267, allocations: 145.4 kB / 0.4919 GB, free: 7.453 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.1267, allocations: 85.05 kB / 0.492 GB, free: 7.352 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.1269, allocations: 137.8 kB / 0.4922 GB, free: 7.207 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.1269, allocations: 25.7 kB / 0.4922 GB, free: 7.176 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.127, allocations: 92.05 kB / 0.4923 GB, free: 7.082 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.143e-05/0.127, allocations: 15.8 kB / 0.4923 GB, free: 7.066 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.571e-05/0.1271, allocations: 17.72 kB / 0.4923 GB, free: 7.043 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.1272, allocations: 326.7 kB / 0.4926 GB, free: 6.715 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.026e-05/0.1272, allocations: 23.98 kB / 0.4926 GB, free: 6.691 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.659e-05/0.1273, allocations: 37.77 kB / 0.4927 GB, free: 6.648 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.1275, allocations: 52.83 kB / 0.4927 GB, free: 6.594 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1275, allocations: 0 / 0.4927 GB, free: 6.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001683/0.1276, allocations: 85.5 kB / 0.4928 GB, free: 6.504 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.1277, allocations: 8 kB / 0.4928 GB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1277, allocations: 4.031 kB / 0.4928 GB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.1277, allocations: 0 / 0.4928 GB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.4e-05/0.1277, allocations: 11.98 kB / 0.4928 GB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.1278, allocations: 4 kB / 0.4928 GB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.677e-05/0.1278, allocations: 4 kB / 0.4928 GB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.1278, allocations: 4 kB / 0.4928 GB, free: 6.469 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 (5): * Single equations (assignments): 5 * 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.659e-05/0.1279, allocations: 129.6 kB / 0.493 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.784e-05/0.1279, allocations: 4 kB / 0.493 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002217/0.1282, allocations: 105.5 kB / 0.4931 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1282, allocations: 0 / 0.4931 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1282, allocations: 0 / 0.4931 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.1282, allocations: 0 / 0.4931 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003964/0.1286, allocations: 354.5 kB / 0.4934 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1286, allocations: 320 / 0.4934 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.346e-05/0.1287, allocations: 19.98 kB / 0.4934 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1287, allocations: 4 kB / 0.4934 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.1287, allocations: 0 / 0.4934 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.1287, allocations: 7.875 kB / 0.4934 GB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1287, allocations: 0 / 0.4934 GB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002275/0.1289, allocations: 175.5 kB / 0.4936 GB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.325e-05/0.129, allocations: 81.02 kB / 0.4937 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.129, allocations: 8 kB / 0.4937 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.555e-05/0.1291, allocations: 11.92 kB / 0.4937 GB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.932e-05/0.1291, allocations: 4 kB / 0.4937 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.1291, allocations: 0 / 0.4937 GB, free: 5.473 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001011/0.1292, allocations: 111.2 kB / 0.4938 GB, free: 5.363 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1293, allocations: 0 / 0.4938 GB, free: 5.363 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002439/0.1295, allocations: 20 kB / 0.4938 GB, free: 5.344 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 (5): * Single equations (assignments): 5 * 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.001039/0.1305, allocations: 451.6 kB / 0.4943 GB, free: 4.941 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002361/0.1308, allocations: 59.89 kB / 0.4943 GB, free: 4.883 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1308, allocations: 0 / 0.4943 GB, free: 4.883 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.531e-05/0.1309, allocations: 23.98 kB / 0.4943 GB, free: 4.859 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003334/0.1312, allocations: 19.84 kB / 0.4944 GB, free: 4.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004324/0.1317, allocations: 165.4 kB / 0.4945 GB, free: 4.652 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/0.132, allocations: 0.6923 MB / 0.4952 GB, free: 3.934 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.871e-05/0.1321, allocations: 11.98 kB / 0.4952 GB, free: 3.922 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.676e-05/0.1322, allocations: 15.44 kB / 0.4952 GB, free: 3.906 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1322, allocations: 0 / 0.4952 GB, free: 3.906 MB / 382.1 MB Notification: Performance of Templates: time 0.004081/0.1362, allocations: 1.377 MB / 0.4966 GB, free: 2.531 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches