Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.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.CombiTable2Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001369/0.001369, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.306/1.306, allocations: 222.9 MB / 242.2 MB, free: 15.2 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.2068/0.2068, allocations: 44.18 MB / 336.6 MB, free: 2.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 60.39 kB / 408.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1118, allocations: 60.83 MB / 469.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test26): time 0.004568/0.1164, allocations: 1.638 MB / 470.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.1175, allocations: 451.1 kB / 471.3 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.742e-05/0.1176, allocations: 0 / 471.3 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000265/0.1178, allocations: 51.81 kB / 471.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002604/0.1181, allocations: 59.75 kB / 471.4 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005449/0.1187, allocations: 174.4 kB / 471.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001792/0.1189, allocations: 83.75 kB / 471.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.119, allocations: 23.98 kB / 471.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.559e-05/0.1191, allocations: 31.91 kB / 471.7 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.908e-05/0.1192, allocations: 43.78 kB / 471.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.1192, allocations: 4 kB / 471.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.1194, allocations: 43.98 kB / 471.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.024e-05/0.1194, allocations: 31.91 kB / 471.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.677e-05/0.1195, allocations: 27.8 kB / 471.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.1197, allocations: 104 kB / 472 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1198, allocations: 11.88 kB / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1198, allocations: 0 / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.1198, allocations: 0 / 472 MB, free: 11.59 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.0005787/0.1204, allocations: 411 kB / 472.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.1204, allocations: 8.031 kB / 472.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.074e-05/0.1205, allocations: 8.844 kB / 472.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.1207, allocations: 200.6 kB / 472.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.1207, allocations: 384 / 472.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.1208, allocations: 7.938 kB / 472.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002165/0.121, allocations: 77.59 kB / 472.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.121, allocations: 0 / 472.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.121, allocations: 0 / 472.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.121, allocations: 0 / 472.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002083/0.1213, allocations: 47.95 kB / 472.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005615/0.1218, allocations: 320.6 kB / 473.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002709/0.1221, allocations: 58.55 kB / 473.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.1222, allocations: 28.97 kB / 473.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.1223, allocations: 0 / 473.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.1223, allocations: 38.55 kB / 473.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.1223, allocations: 4 kB / 473.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001998/0.1243, allocations: 417.3 kB / 473.6 MB, free: 9.824 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.1244, allocations: 51.41 kB / 473.6 MB, free: 9.762 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002237/0.1246, allocations: 176.1 kB / 473.8 MB, free: 9.578 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.1246, allocations: 25.7 kB / 473.8 MB, free: 9.547 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.966e-05/0.1247, allocations: 112 kB / 474 MB, free: 9.434 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.799e-05/0.1248, allocations: 39.55 kB / 474 MB, free: 9.395 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.134e-05/0.1249, allocations: 21.72 kB / 474 MB, free: 9.367 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.125, allocations: 322.8 kB / 474.3 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/0.1252, allocations: 59.95 kB / 474.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001865/0.1254, allocations: 51.95 kB / 474.4 MB, free: 8.934 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004065/0.1258, allocations: 124.9 kB / 474.6 MB, free: 8.809 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1259, allocations: 4 kB / 474.6 MB, free: 8.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005275/0.1264, allocations: 169.6 kB / 474.7 MB, free: 8.633 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.1264, allocations: 4 kB / 474.7 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.1265, allocations: 7.938 kB / 474.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.1265, allocations: 4 kB / 474.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/0.1267, allocations: 27.92 kB / 474.8 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.1267, allocations: 0 / 474.8 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.965e-05/0.1268, allocations: 7.984 kB / 474.8 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.1268, allocations: 4 kB / 474.8 MB, free: 8.578 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 0.0001357/0.1269, allocations: 133.8 kB / 474.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.668e-05/0.127, allocations: 7.906 kB / 474.9 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000582/0.1276, allocations: 194.3 kB / 475.1 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.1276, allocations: 3.984 kB / 475.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1276, allocations: 0 / 475.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.1276, allocations: 0 / 475.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009842/0.1286, allocations: 0.4998 MB / 475.6 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1286, allocations: 0 / 475.6 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000141/0.1288, allocations: 27.98 kB / 475.6 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.1288, allocations: 0 / 475.6 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.1288, allocations: 4 kB / 475.6 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.052e-06/0.1288, allocations: 4 kB / 475.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1289, allocations: 4 kB / 475.7 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000508/0.1294, allocations: 269 kB / 475.9 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.038e-05/0.1294, allocations: 81.02 kB / 476 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.738e-05/0.1295, allocations: 4 kB / 476 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.1296, allocations: 15.98 kB / 476 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.166e-05/0.1297, allocations: 11.98 kB / 476 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.031e-05/0.1297, allocations: 4 kB / 476 MB, free: 7.211 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001326/0.1299, allocations: 142.8 kB / 476.2 MB, free: 7.074 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1299, allocations: 0 / 476.2 MB, free: 7.074 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004607/0.1303, allocations: 31.89 kB / 476.2 MB, free: 7.043 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.00148/0.1318, allocations: 476.4 kB / 476.7 MB, free: 6.758 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000508/0.1324, allocations: 131.9 kB / 476.8 MB, free: 6.629 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/0.1324, allocations: 4 kB / 476.8 MB, free: 6.625 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002452/0.1326, allocations: 67.89 kB / 476.9 MB, free: 6.559 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005354/0.1332, allocations: 19.98 kB / 476.9 MB, free: 6.539 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006823/0.1339, allocations: 299.8 kB / 477.2 MB, free: 6.211 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/0.1343, allocations: 0.7158 MB / 477.9 MB, free: 5.469 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001414/0.1344, allocations: 36.45 kB / 477.9 MB, free: 5.434 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.677e-05/0.1345, allocations: 15.44 kB / 477.9 MB, free: 5.418 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1345, allocations: 0 / 477.9 MB, free: 5.418 MB / 350.1 MB Notification: Performance of Templates: time 0.005828/0.1403, allocations: 1.596 MB / 479.5 MB, free: 3.836 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test26/Test26.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches