Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.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.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 112.7 kB / 17.04 MB, free: 6.074 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.001353/0.001353, allocations: 195 kB / 17.97 MB, free: 5.16 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.424/1.424, allocations: 205.1 MB / 223.8 MB, free: 12.23 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.2208/0.2208, allocations: 43.51 MB / 314.7 MB, free: 484 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.00154/0.00154, allocations: 71.52 kB / 384.2 MB, free: 56.42 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1167, allocations: 57.79 MB / 442 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.002844/0.1195, allocations: 1.594 MB / 443.6 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005534/0.1201, allocations: 347.5 kB / 443.9 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.057e-05/0.1202, allocations: 0 / 443.9 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000411/0.1206, allocations: 455.1 kB / 444.4 MB, free: 3.758 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002582/0.1209, allocations: 255.4 kB / 444.6 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003177/0.1212, allocations: 151.3 kB / 444.7 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000164/0.1214, allocations: 163.7 kB / 444.9 MB, free: 3.203 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.1215, allocations: 20.11 kB / 444.9 MB, free: 3.184 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.567e-05/0.1215, allocations: 111.8 kB / 445 MB, free: 3.074 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001548/0.1217, allocations: 211.6 kB / 445.2 MB, free: 2.867 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.1217, allocations: 0 / 445.2 MB, free: 2.867 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.134e-05/0.1218, allocations: 35.98 kB / 445.3 MB, free: 2.832 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.532e-05/0.1219, allocations: 79.69 kB / 445.4 MB, free: 2.754 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.242e-05/0.122, allocations: 103 kB / 445.5 MB, free: 2.652 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.1222, allocations: 255 kB / 445.7 MB, free: 2.402 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1222, allocations: 0 / 445.7 MB, free: 2.402 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1222, allocations: 8 kB / 445.7 MB, free: 2.395 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.034e-06/0.1222, allocations: 0 / 445.7 MB, free: 2.395 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000522/0.1227, allocations: 0.6219 MB / 446.3 MB, free: 1.723 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.1228, allocations: 19.83 kB / 446.4 MB, free: 1.703 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.917e-05/0.1228, allocations: 44.38 kB / 446.4 MB, free: 1.66 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.123, allocations: 296.2 kB / 446.7 MB, free: 1.332 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.1231, allocations: 4.375 kB / 446.7 MB, free: 1.328 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.1231, allocations: 4.375 kB / 446.7 MB, free: 1.324 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.1232, allocations: 61.61 kB / 446.8 MB, free: 1.258 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.1232, allocations: 0 / 446.8 MB, free: 1.258 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.1232, allocations: 0 / 446.8 MB, free: 1.258 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.1233, allocations: 4 kB / 446.8 MB, free: 1.254 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.237e-05/0.1233, allocations: 35.84 kB / 446.8 MB, free: 1.219 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003593/0.1237, allocations: 388.7 kB / 447.2 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.1239, allocations: 50.55 kB / 447.2 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.167e-05/0.1239, allocations: 16.86 kB / 447.2 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.124, allocations: 3.938 kB / 447.2 MB, free: 0.707 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.371e-05/0.124, allocations: 34.64 kB / 447.3 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.124, allocations: 0 / 447.3 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004817/0.1245, allocations: 235.9 kB / 447.5 MB, free: 436 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/0.1245, allocations: 51.41 kB / 447.6 MB, free: 372 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007174/0.1252, allocations: 0.8613 MB / 448.4 MB, free: 15.49 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.1253, allocations: 25.7 kB / 448.4 MB, free: 15.46 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.1254, allocations: 220.1 kB / 448.7 MB, free: 15.24 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.1255, allocations: 27.7 kB / 448.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.55e-05/0.1255, allocations: 17.72 kB / 448.7 MB, free: 15.19 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.1257, allocations: 358.8 kB / 449.1 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.058e-05/0.1257, allocations: 31.97 kB / 449.1 MB, free: 14.8 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.9e-05/0.1258, allocations: 19.98 kB / 449.1 MB, free: 14.78 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/0.1259, allocations: 52.83 kB / 449.2 MB, free: 14.73 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1259, allocations: 0 / 449.2 MB, free: 14.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002276/0.1262, allocations: 117.1 kB / 449.3 MB, free: 14.61 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.1262, allocations: 7.984 kB / 449.3 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.1262, allocations: 4.281 kB / 449.3 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.1262, allocations: 0 / 449.3 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.898e-05/0.1263, allocations: 12 kB / 449.3 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.1263, allocations: 0 / 449.3 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.491e-05/0.1264, allocations: 19.86 kB / 449.3 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.1264, allocations: 256 / 449.3 MB, free: 14.56 MB / 334.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 0.0001685/0.1266, allocations: 209.7 kB / 449.5 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.518e-05/0.1266, allocations: 51.41 kB / 449.6 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002683/0.1269, allocations: 145 kB / 449.7 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.1269, allocations: 3.984 kB / 449.7 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.1269, allocations: 0 / 449.7 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1269, allocations: 7.938 kB / 449.7 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005078/0.1274, allocations: 458.5 kB / 450.2 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1274, allocations: 0 / 450.2 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.13e-05/0.1275, allocations: 15.98 kB / 450.2 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1275, allocations: 0 / 450.2 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.1275, allocations: 3.938 kB / 450.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.1275, allocations: 7.938 kB / 450.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1275, allocations: 0 / 450.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002399/0.1278, allocations: 215 kB / 450.4 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.369e-05/0.1279, allocations: 108.6 kB / 450.5 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.1279, allocations: 11.88 kB / 450.5 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.039e-05/0.128, allocations: 7.984 kB / 450.5 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.053e-05/0.128, allocations: 0 / 450.5 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.1281, allocations: 4 kB / 450.5 MB, free: 13.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005775/0.1286, allocations: 0.6472 MB / 451.2 MB, free: 12.59 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1286, allocations: 4 kB / 451.2 MB, free: 12.58 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002549/0.1289, allocations: 23.98 kB / 451.2 MB, free: 12.56 MB / 334.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.0009687/0.1299, allocations: 410.8 kB / 451.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002053/0.1301, allocations: 55.91 kB / 451.7 MB, free: 12.18 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1301, allocations: 0 / 451.7 MB, free: 12.18 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.197e-05/0.1302, allocations: 23.98 kB / 451.7 MB, free: 12.16 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004142/0.1306, allocations: 33.88 kB / 451.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.1316, allocations: 0.7796 MB / 452.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004778/0.1321, allocations: 0.8357 MB / 453.3 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.189e-05/0.1322, allocations: 11.98 kB / 453.4 MB, free: 10.45 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.865e-05/0.1322, allocations: 11.44 kB / 453.4 MB, free: 10.43 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1322, allocations: 0 / 453.4 MB, free: 10.43 MB / 334.1 MB Notification: Performance of Templates: time 0.004775/0.137, allocations: 1.474 MB / 454.8 MB, free: 8.969 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches