Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable2Ds.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 93.61 kB / 18.01 MB, free: 5.738 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.001032/0.001032, allocations: 180.8 kB / 18.91 MB, free: 4.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 223.3 MB / 243 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1889/0.1889, allocations: 44.25 MB / 338.3 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003468/0.0003467, allocations: 8 kB / 411 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1048, allocations: 61.92 MB / 472.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.001961/0.1068, allocations: 1.357 MB / 474.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007336/0.1075, allocations: 407.3 kB / 474.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.007e-05/0.1076, allocations: 8 kB / 474.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000218/0.1079, allocations: 43.88 kB / 474.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000155/0.108, allocations: 43.83 kB / 474.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003479/0.1084, allocations: 114.7 kB / 474.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.1085, allocations: 67.83 kB / 474.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.677e-05/0.1086, allocations: 19.97 kB / 475 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.654e-05/0.1087, allocations: 27.86 kB / 475 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.463e-05/0.1088, allocations: 39.83 kB / 475 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.1088, allocations: 4 kB / 475 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.1089, allocations: 43.98 kB / 475.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.674e-05/0.109, allocations: 19.92 kB / 475.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.272e-05/0.1091, allocations: 45.52 kB / 475.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.1092, allocations: 79.81 kB / 475.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1092, allocations: 0 / 475.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1092, allocations: 0 / 475.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.331e-06/0.1092, allocations: 3.938 kB / 475.2 MB, free: 11.02 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004447/0.1097, allocations: 401.9 kB / 475.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.1097, allocations: 8.031 kB / 475.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.565e-05/0.1098, allocations: 12.75 kB / 475.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.1099, allocations: 196.2 kB / 475.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.11, allocations: 384 / 475.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.358e-05/0.11, allocations: 8.375 kB / 475.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.1102, allocations: 73.72 kB / 475.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/0.1102, allocations: 0 / 475.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.557e-06/0.1102, allocations: 0 / 475.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1102, allocations: 4 kB / 475.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001445/0.1104, allocations: 47.97 kB / 475.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003779/0.1107, allocations: 304.7 kB / 476.2 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002289/0.111, allocations: 62.55 kB / 476.3 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.91e-05/0.1111, allocations: 28.97 kB / 476.3 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.1111, allocations: 0 / 476.3 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/0.1111, allocations: 30.56 kB / 476.4 MB, free: 9.703 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.1111, allocations: 0 / 476.4 MB, free: 9.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001486/0.1126, allocations: 473 kB / 476.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.1127, allocations: 63.34 kB / 476.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.1128, allocations: 164.4 kB / 477.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.1129, allocations: 25.7 kB / 477.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.391e-05/0.1129, allocations: 100 kB / 477.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.405e-05/0.113, allocations: 31.55 kB / 477.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-05/0.113, allocations: 17.72 kB / 477.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.556e-05/0.1131, allocations: 318.8 kB / 477.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.1132, allocations: 51.97 kB / 477.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.1134, allocations: 56.02 kB / 477.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000258/0.1136, allocations: 116.7 kB / 477.8 MB, free: 8.262 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1137, allocations: 0 / 477.8 MB, free: 8.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003334/0.114, allocations: 165.4 kB / 477.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.114, allocations: 4 kB / 477.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.114, allocations: 0 / 477.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.1141, allocations: 4 kB / 477.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.1142, allocations: 39.91 kB / 478 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.1142, allocations: 0 / 478 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.638e-05/0.1143, allocations: 15.88 kB / 478 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-06/0.1143, allocations: 4 kB / 478 MB, free: 8.027 MB / 350.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 (11): * Single equations (assignments): 11 * 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.401e-05/0.1144, allocations: 126.4 kB / 478.1 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.29e-05/0.1144, allocations: 7.906 kB / 478.1 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004044/0.1148, allocations: 186.2 kB / 478.3 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.1148, allocations: 7.938 kB / 478.3 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1149, allocations: 4 kB / 478.3 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1149, allocations: 0 / 478.3 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006633/0.1155, allocations: 487.9 kB / 478.8 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1155, allocations: 0 / 478.8 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.1157, allocations: 27.98 kB / 478.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1157, allocations: 0 / 478.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.1157, allocations: 4.375 kB / 478.8 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.1157, allocations: 0 / 478.8 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.1157, allocations: 4.062 kB / 478.8 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003616/0.1161, allocations: 276.9 kB / 479.1 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.79e-05/0.1161, allocations: 89 kB / 479.2 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.1161, allocations: 4 kB / 479.2 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.846e-05/0.1163, allocations: 12 kB / 479.2 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.584e-05/0.1163, allocations: 11.98 kB / 479.2 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.1163, allocations: 4 kB / 479.2 MB, free: 6.684 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.094e-05/0.1164, allocations: 131.2 kB / 479.3 MB, free: 6.555 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1164, allocations: 0 / 479.3 MB, free: 6.555 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002689/0.1167, allocations: 24 kB / 479.4 MB, free: 6.531 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001036/0.1177, allocations: 469.6 kB / 479.8 MB, free: 6.254 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003365/0.1181, allocations: 119.9 kB / 479.9 MB, free: 6.137 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1181, allocations: 0 / 479.9 MB, free: 6.137 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001574/0.1183, allocations: 71.89 kB / 480 MB, free: 6.066 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.1186, allocations: 23.92 kB / 480 MB, free: 6.043 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005039/0.1191, allocations: 309 kB / 480.3 MB, free: 5.699 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.1194, allocations: 0.7082 MB / 481 MB, free: 4.965 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.649e-05/0.1194, allocations: 15.44 kB / 481.1 MB, free: 4.949 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1195, allocations: 0 / 481.1 MB, free: 4.949 MB / 350.1 MB Notification: Performance of Templates: time 0.003692/0.1232, allocations: 1.823 MB / 482.9 MB, free: 3.129 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches