Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001186, allocations: 100.1 kB / 16.99 MB, free: 5.941 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.001263/0.001263, allocations: 183 kB / 17.87 MB, free: 5.609 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.458/1.458, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2353/0.2353, allocations: 44.22 MB / 337.1 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000291/0.000291, allocations: 11.98 kB / 409.5 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1142, allocations: 61.92 MB / 471.5 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.001777/0.1161, allocations: 1.33 MB / 472.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000591/0.1167, allocations: 371.5 kB / 473.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.316e-05/0.1168, allocations: 4 kB / 473.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002554/0.117, allocations: 67.83 kB / 473.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000147/0.1172, allocations: 47.88 kB / 473.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002961/0.1175, allocations: 119.2 kB / 473.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.1176, allocations: 51.88 kB / 473.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.606e-05/0.1177, allocations: 12 kB / 473.4 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.745e-05/0.1178, allocations: 31.83 kB / 473.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.1179, allocations: 35.91 kB / 473.5 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.1179, allocations: 4 kB / 473.5 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.63e-05/0.118, allocations: 35.91 kB / 473.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.676e-05/0.1181, allocations: 23.92 kB / 473.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.321e-05/0.1181, allocations: 33.7 kB / 473.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001359/0.1183, allocations: 92.02 kB / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.1183, allocations: 0 / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1183, allocations: 0 / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.1183, allocations: 0 / 473.7 MB, free: 11.46 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.0005305/0.1188, allocations: 410.9 kB / 474.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.1189, allocations: 8.562 kB / 474.1 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.087e-05/0.1189, allocations: 15.81 kB / 474.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/0.1191, allocations: 191.6 kB / 474.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.685e-06/0.1192, allocations: 0 / 474.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.687e-05/0.1192, allocations: 8 kB / 474.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.1194, allocations: 73.56 kB / 474.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.1194, allocations: 0 / 474.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.1194, allocations: 0 / 474.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.1194, allocations: 4 kB / 474.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.1196, allocations: 43.95 kB / 474.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003719/0.1199, allocations: 320.6 kB / 474.7 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00023/0.1202, allocations: 58.55 kB / 474.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.1202, allocations: 7.969 kB / 474.8 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.1203, allocations: 34.56 kB / 474.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.402e-06/0.1203, allocations: 0 / 474.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001428/0.1217, allocations: 477.3 kB / 475.3 MB, free: 9.672 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.1217, allocations: 55.41 kB / 475.4 MB, free: 9.605 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.1219, allocations: 211.3 kB / 475.6 MB, free: 9.387 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.122, allocations: 25.7 kB / 475.6 MB, free: 9.355 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.988e-05/0.122, allocations: 100.1 kB / 475.7 MB, free: 9.254 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.048e-05/0.1221, allocations: 39.45 kB / 475.7 MB, free: 9.215 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.821e-06/0.1221, allocations: 4 kB / 475.7 MB, free: 9.211 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.893e-05/0.1222, allocations: 326.8 kB / 476.1 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.1223, allocations: 47.97 kB / 476.1 MB, free: 8.836 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.1224, allocations: 55.95 kB / 476.2 MB, free: 8.781 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.1226, allocations: 56.25 kB / 476.2 MB, free: 8.727 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1226, allocations: 0 / 476.2 MB, free: 8.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003142/0.1229, allocations: 165.3 kB / 476.4 MB, free: 8.559 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.1229, allocations: 4 kB / 476.4 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1229, allocations: 0 / 476.4 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.123, allocations: 3.984 kB / 476.4 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.1231, allocations: 31.98 kB / 476.4 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.1231, allocations: 0 / 476.4 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.715e-05/0.1232, allocations: 19.98 kB / 476.4 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.1232, allocations: 4 kB / 476.4 MB, free: 8.496 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001002/0.1233, allocations: 129.7 kB / 476.6 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.107e-05/0.1233, allocations: 15.89 kB / 476.6 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003992/0.1237, allocations: 182.8 kB / 476.8 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.1237, allocations: 4 kB / 476.8 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.1238, allocations: 3.984 kB / 476.8 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1238, allocations: 0 / 476.8 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006807/0.1245, allocations: 492 kB / 477.2 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1245, allocations: 0 / 477.2 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.1246, allocations: 35.97 kB / 477.3 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.1246, allocations: 0 / 477.3 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.1246, allocations: 4 kB / 477.3 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.1246, allocations: 96 / 477.3 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1246, allocations: 7.891 kB / 477.3 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003917/0.125, allocations: 296.4 kB / 477.6 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.1251, allocations: 92.95 kB / 477.7 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/0.1252, allocations: 4 kB / 477.7 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.884e-05/0.1253, allocations: 15.98 kB / 477.7 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.238e-05/0.1253, allocations: 11.98 kB / 477.7 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.1253, allocations: 8 kB / 477.7 MB, free: 7.094 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001211/0.1254, allocations: 156.9 kB / 477.9 MB, free: 6.941 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1255, allocations: 0 / 477.9 MB, free: 6.941 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002524/0.1257, allocations: 23.98 kB / 477.9 MB, free: 6.918 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009014/0.1266, allocations: 464.7 kB / 478.3 MB, free: 6.637 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003125/0.1269, allocations: 127.8 kB / 478.5 MB, free: 6.512 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.127, allocations: 0 / 478.5 MB, free: 6.512 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.1271, allocations: 67.91 kB / 478.5 MB, free: 6.445 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/0.1273, allocations: 15.98 kB / 478.6 MB, free: 6.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004392/0.1278, allocations: 311.4 kB / 478.9 MB, free: 6.098 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.1281, allocations: 0.72 MB / 479.6 MB, free: 5.352 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.211e-05/0.1282, allocations: 16.41 kB / 479.6 MB, free: 5.336 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.684e-05/0.1282, allocations: 15.62 kB / 479.6 MB, free: 5.32 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1282, allocations: 0 / 479.6 MB, free: 5.32 MB / 350.1 MB Notification: Performance of Templates: time 0.003758/0.132, allocations: 1.455 MB / 481.1 MB, free: 3.879 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches