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.001271/0.00127, allocations: 110 kB / 17.86 MB, free: 5.504 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.001096/0.001096, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.325/1.325, allocations: 222.9 MB / 242.4 MB, free: 15.36 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.1998/0.1998, allocations: 44.17 MB / 336.8 MB, free: 2.988 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 59.84 kB / 408.3 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1041, allocations: 60.83 MB / 469.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.002794/0.107, allocations: 1.692 MB / 470.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007075/0.1077, allocations: 427.2 kB / 471.3 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.653e-05/0.1077, allocations: 3.938 kB / 471.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002195/0.108, allocations: 63.84 kB / 471.4 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001408/0.1081, allocations: 63.81 kB / 471.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002948/0.1084, allocations: 119.4 kB / 471.5 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.1086, allocations: 71.77 kB / 471.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.958e-05/0.1087, allocations: 23.97 kB / 471.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.146e-05/0.1087, allocations: 39.83 kB / 471.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.443e-05/0.1088, allocations: 51.83 kB / 471.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.1088, allocations: 4 kB / 471.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.76e-05/0.1089, allocations: 43.97 kB / 471.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.013e-05/0.109, allocations: 19.92 kB / 471.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.684e-05/0.109, allocations: 35.73 kB / 471.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.1092, allocations: 79.83 kB / 471.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1092, allocations: 0 / 471.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.1092, allocations: 0 / 471.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.566e-06/0.1092, allocations: 4 kB / 471.9 MB, free: 12.11 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.0004627/0.1097, allocations: 415.3 kB / 472.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.1097, allocations: 8.031 kB / 472.3 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.275e-05/0.1097, allocations: 12.75 kB / 472.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.1099, allocations: 204.1 kB / 472.5 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.1099, allocations: 384 / 472.5 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.11, allocations: 8.375 kB / 472.5 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.1101, allocations: 69.73 kB / 472.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.1102, allocations: 4 kB / 472.6 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.1102, allocations: 0 / 472.6 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1102, allocations: 0 / 472.6 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.1103, allocations: 43.95 kB / 472.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003627/0.1107, allocations: 300.7 kB / 472.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/0.1109, allocations: 58.55 kB / 473 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.676e-05/0.111, allocations: 24.97 kB / 473 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.1111, allocations: 3.938 kB / 473 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.1111, allocations: 30.56 kB / 473.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.1111, allocations: 0 / 473.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001375/0.1125, allocations: 388.8 kB / 473.4 MB, free: 10.4 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/0.1125, allocations: 59.33 kB / 473.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.1127, allocations: 202.2 kB / 473.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.1127, allocations: 33.64 kB / 473.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.127e-05/0.1128, allocations: 100 kB / 473.8 MB, free: 9.984 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.281e-05/0.1128, allocations: 43.44 kB / 473.9 MB, free: 9.941 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-05/0.1129, allocations: 29.7 kB / 473.9 MB, free: 9.906 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.113, allocations: 322.8 kB / 474.2 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.1131, allocations: 43.97 kB / 474.2 MB, free: 9.539 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.1132, allocations: 39.97 kB / 474.3 MB, free: 9.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002389/0.1135, allocations: 104.8 kB / 474.4 MB, free: 9.395 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1135, allocations: 0 / 474.4 MB, free: 9.395 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002965/0.1138, allocations: 141.5 kB / 474.5 MB, free: 9.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.1138, allocations: 4 kB / 474.5 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1138, allocations: 0.5625 kB / 474.5 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.1138, allocations: 0 / 474.5 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.114, allocations: 31.92 kB / 474.6 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.114, allocations: 0 / 474.6 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.257e-05/0.114, allocations: 19.98 kB / 474.6 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.1141, allocations: 4 kB / 474.6 MB, free: 9.191 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.345e-05/0.1141, allocations: 130.3 kB / 474.7 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.758e-05/0.1142, allocations: 15.81 kB / 474.7 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003607/0.1146, allocations: 170.6 kB / 474.9 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.1146, allocations: 3.938 kB / 474.9 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1146, allocations: 0 / 474.9 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.1146, allocations: 0 / 474.9 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006349/0.1152, allocations: 472 kB / 475.4 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.1152, allocations: 0 / 475.4 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.945e-05/0.1153, allocations: 23.98 kB / 475.4 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.1154, allocations: 4 kB / 475.4 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.1154, allocations: 0 / 475.4 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-05/0.1154, allocations: 7.938 kB / 475.4 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1154, allocations: 0 / 475.4 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003383/0.1157, allocations: 257 kB / 475.6 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.846e-05/0.1158, allocations: 85.02 kB / 475.7 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.1158, allocations: 7.984 kB / 475.7 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.499e-05/0.1159, allocations: 11.98 kB / 475.7 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/0.116, allocations: 16.02 kB / 475.8 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.116, allocations: 7.938 kB / 475.8 MB, free: 7.887 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001209/0.1161, allocations: 155.2 kB / 475.9 MB, free: 7.734 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1161, allocations: 0 / 475.9 MB, free: 7.734 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002627/0.1164, allocations: 27.98 kB / 476 MB, free: 7.707 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.0009909/0.1174, allocations: 453.9 kB / 476.4 MB, free: 7.441 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003125/0.1177, allocations: 111.8 kB / 476.5 MB, free: 7.332 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1177, allocations: 0 / 476.5 MB, free: 7.332 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.1179, allocations: 59.97 kB / 476.6 MB, free: 7.273 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.1182, allocations: 27.58 kB / 476.6 MB, free: 7.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005275/0.1188, allocations: 347.7 kB / 476.9 MB, free: 6.867 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.1191, allocations: 0.7082 MB / 477.6 MB, free: 6.133 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.565e-05/0.1191, allocations: 23.38 kB / 477.7 MB, free: 6.113 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1191, allocations: 0 / 477.7 MB, free: 6.113 MB / 350.1 MB Notification: Performance of Templates: time 0.003388/0.1225, allocations: 1.906 MB / 479.6 MB, free: 4.211 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches