Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1D.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 113 kB / 17.08 MB, free: 6.016 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.001404/0.001404, allocations: 190.4 kB / 18.01 MB, free: 5.098 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.393/1.393, 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.2044/0.2044, allocations: 43.52 MB / 314.8 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.00141/0.00141, allocations: 71.89 kB / 442.5 MB, free: 5.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1199, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test1): time 0.003511/0.1235, allocations: 1.555 MB / 0.4901 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007386/0.1242, allocations: 323.5 kB / 0.4904 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.532e-05/0.1243, allocations: 4 kB / 0.4904 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002607/0.1246, allocations: 27.86 kB / 0.4904 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002383/0.1249, allocations: 39.77 kB / 0.4904 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003148/0.1252, allocations: 87.83 kB / 0.4905 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.1254, allocations: 59.81 kB / 0.4906 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.1255, allocations: 19.98 kB / 0.4906 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.718e-05/0.1256, allocations: 27.8 kB / 0.4906 GB, free: 9.664 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.627e-05/0.1256, allocations: 11.92 kB / 0.4906 GB, free: 9.652 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.1257, allocations: 4 kB / 0.4906 GB, free: 9.648 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.871e-05/0.1258, allocations: 35.98 kB / 0.4907 GB, free: 9.613 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.636e-05/0.1258, allocations: 11.92 kB / 0.4907 GB, free: 9.602 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.904e-05/0.1259, allocations: 19.88 kB / 0.4907 GB, free: 9.582 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.1261, allocations: 71.73 kB / 0.4908 GB, free: 9.512 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1261, allocations: 0 / 0.4908 GB, free: 9.512 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1261, allocations: 0 / 0.4908 GB, free: 9.512 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.1261, allocations: 0 / 0.4908 GB, free: 9.512 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.0005245/0.1266, allocations: 383.1 kB / 0.4911 GB, free: 9.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.1267, allocations: 11.89 kB / 0.4912 GB, free: 9.078 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.966e-05/0.1267, allocations: 8.844 kB / 0.4912 GB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002009/0.127, allocations: 184.3 kB / 0.4913 GB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.127, allocations: 384 / 0.4913 GB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/0.127, allocations: 4.375 kB / 0.4913 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.1272, allocations: 53.8 kB / 0.4914 GB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.1272, allocations: 0 / 0.4914 GB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.1272, allocations: 8 kB / 0.4914 GB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.1272, allocations: 0 / 0.4914 GB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.1273, allocations: 23.92 kB / 0.4914 GB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004198/0.1277, allocations: 288.7 kB / 0.4917 GB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002084/0.128, allocations: 38.56 kB / 0.4917 GB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.121e-05/0.128, allocations: 20.86 kB / 0.4918 GB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.1281, allocations: 4.078 kB / 0.4918 GB, free: 8.352 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.1281, allocations: 34.56 kB / 0.4918 GB, free: 8.309 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.303e-06/0.1281, allocations: 3.938 kB / 0.4918 GB, free: 8.305 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005816/0.1287, allocations: 137.4 kB / 0.4919 GB, free: 8.164 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.1287, allocations: 59.41 kB / 0.492 GB, free: 8.094 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.1289, allocations: 146 kB / 0.4921 GB, free: 7.938 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.1289, allocations: 25.7 kB / 0.4921 GB, free: 7.906 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.297e-05/0.129, allocations: 96.08 kB / 0.4922 GB, free: 7.809 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.129, allocations: 15.66 kB / 0.4923 GB, free: 7.793 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.726e-05/0.1291, allocations: 21.7 kB / 0.4923 GB, free: 7.766 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.1292, allocations: 322.8 kB / 0.4926 GB, free: 7.441 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.653e-05/0.1293, allocations: 23.97 kB / 0.4926 GB, free: 7.418 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.267e-05/0.1294, allocations: 23.98 kB / 0.4926 GB, free: 7.395 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.1295, allocations: 52.83 kB / 0.4927 GB, free: 7.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.1295, allocations: 0 / 0.4927 GB, free: 7.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001893/0.1297, allocations: 73.92 kB / 0.4927 GB, free: 7.262 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.1297, allocations: 11.92 kB / 0.4928 GB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.1297, allocations: 0 / 0.4928 GB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.1298, allocations: 3.938 kB / 0.4928 GB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.758e-05/0.1298, allocations: 20 kB / 0.4928 GB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.1298, allocations: 0 / 0.4928 GB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.503e-05/0.1299, allocations: 11.98 kB / 0.4928 GB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.1299, allocations: 0 / 0.4928 GB, free: 7.215 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 9.608e-05/0.13, allocations: 121.7 kB / 0.4929 GB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.187e-05/0.13, allocations: 7.906 kB / 0.4929 GB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002567/0.1303, allocations: 105.9 kB / 0.493 GB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1303, allocations: 0 / 0.493 GB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.1303, allocations: 0 / 0.493 GB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1303, allocations: 3.938 kB / 0.493 GB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004446/0.1308, allocations: 358.4 kB / 0.4934 GB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1308, allocations: 0 / 0.4934 GB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.531e-05/0.1309, allocations: 8 kB / 0.4934 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.1309, allocations: 4 kB / 0.4934 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.1309, allocations: 0 / 0.4934 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.726e-06/0.1309, allocations: 7.938 kB / 0.4934 GB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1309, allocations: 3.984 kB / 0.4934 GB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000234/0.1311, allocations: 175.5 kB / 0.4936 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.258e-05/0.1312, allocations: 85 kB / 0.4936 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/0.1312, allocations: 0 / 0.4936 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.043e-05/0.1313, allocations: 12.12 kB / 0.4936 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.348e-05/0.1314, allocations: 12 kB / 0.4937 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.1314, allocations: 3.984 kB / 0.4937 GB, free: 6.215 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.756e-05/0.1315, allocations: 107.3 kB / 0.4938 GB, free: 6.109 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1315, allocations: 3.938 kB / 0.4938 GB, free: 6.105 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002468/0.1317, allocations: 20 kB / 0.4938 GB, free: 6.086 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.0009096/0.1326, allocations: 393.7 kB / 0.4942 GB, free: 5.734 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002151/0.1329, allocations: 59.89 kB / 0.4942 GB, free: 5.676 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.1329, allocations: 0 / 0.4942 GB, free: 5.676 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.986e-05/0.133, allocations: 27.98 kB / 0.4942 GB, free: 5.648 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.1333, allocations: 23.59 kB / 0.4943 GB, free: 5.629 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004226/0.1338, allocations: 203 kB / 0.4945 GB, free: 5.398 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.1341, allocations: 0.6924 MB / 0.4951 GB, free: 4.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.817e-05/0.1341, allocations: 15.44 kB / 0.4952 GB, free: 4.664 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1342, allocations: 0 / 0.4952 GB, free: 4.664 MB / 382.1 MB Notification: Performance of Templates: time 0.003353/0.1375, allocations: 1.391 MB / 0.4965 GB, free: 3.277 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches