Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, 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.001308/0.001308, 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.423/1.423, allocations: 222.9 MB / 242.2 MB, free: 15.21 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.2057/0.2057, allocations: 44.19 MB / 336.6 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001352, allocations: 60.59 kB / 408.4 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1215, allocations: 60.83 MB / 469.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003695/0.1252, allocations: 1.611 MB / 470.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009273/0.1262, allocations: 459.1 kB / 471.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.489e-05/0.1263, allocations: 0 / 471.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006288/0.1269, allocations: 447.1 kB / 471.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000411/0.1274, allocations: 251.5 kB / 472 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004759/0.1279, allocations: 170.8 kB / 472.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002674/0.1281, allocations: 167.6 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.1283, allocations: 24.17 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001578/0.1284, allocations: 103.8 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002591/0.1287, allocations: 207.6 kB / 472.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.398e-05/0.1287, allocations: 4 kB / 472.7 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.1289, allocations: 35.98 kB / 472.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.129, allocations: 95.55 kB / 472.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.756e-05/0.1291, allocations: 99 kB / 472.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000306/0.1294, allocations: 251.3 kB / 473.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1294, allocations: 0 / 473.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1294, allocations: 0 / 473.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.1294, allocations: 0 / 473.1 MB, free: 10.5 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007297/0.1302, allocations: 0.6297 MB / 473.8 MB, free: 9.816 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.1302, allocations: 8.031 kB / 473.8 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.843e-05/0.1303, allocations: 44.38 kB / 473.8 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002795/0.1306, allocations: 292.2 kB / 474.1 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-06/0.1306, allocations: 4.375 kB / 474.1 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.1306, allocations: 4.375 kB / 474.1 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.1308, allocations: 61.55 kB / 474.2 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.1308, allocations: 4 kB / 474.2 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.1308, allocations: 0 / 474.2 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.1308, allocations: 0 / 474.2 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.1309, allocations: 27.98 kB / 474.2 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005466/0.1315, allocations: 396.7 kB / 474.6 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/0.1317, allocations: 42.5 kB / 474.6 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.24e-05/0.1318, allocations: 20.94 kB / 474.6 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.1318, allocations: 4 kB / 474.6 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.1318, allocations: 30.56 kB / 474.7 MB, free: 8.777 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.412e-06/0.1318, allocations: 4 kB / 474.7 MB, free: 8.773 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006309/0.1325, allocations: 231.9 kB / 474.9 MB, free: 8.539 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.1325, allocations: 59.34 kB / 475 MB, free: 8.469 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008241/0.1334, allocations: 0.8651 MB / 475.8 MB, free: 7.594 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.1334, allocations: 25.7 kB / 475.9 MB, free: 7.562 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.1336, allocations: 220.1 kB / 476.1 MB, free: 7.344 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.432e-05/0.1336, allocations: 15.81 kB / 476.1 MB, free: 7.328 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.819e-05/0.1337, allocations: 21.7 kB / 476.1 MB, free: 7.301 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1338, allocations: 354.8 kB / 476.4 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.219e-05/0.1339, allocations: 19.98 kB / 476.5 MB, free: 6.926 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.588e-05/0.1339, allocations: 23.98 kB / 476.5 MB, free: 6.902 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.1341, allocations: 60.75 kB / 476.6 MB, free: 6.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1341, allocations: 4 kB / 476.6 MB, free: 6.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002094/0.1343, allocations: 113.1 kB / 476.7 MB, free: 6.719 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.1343, allocations: 4 kB / 476.7 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.1344, allocations: 256 / 476.7 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.1344, allocations: 4 kB / 476.7 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.738e-05/0.1345, allocations: 19.98 kB / 476.7 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.1345, allocations: 0 / 476.7 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.884e-05/0.1345, allocations: 7.938 kB / 476.7 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.1346, allocations: 7.922 kB / 476.7 MB, free: 6.676 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 (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.0001908/0.1347, allocations: 221.7 kB / 476.9 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.21e-05/0.1348, allocations: 35.53 kB / 477 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002826/0.1351, allocations: 137 kB / 477.1 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-06/0.1351, allocations: 4 kB / 477.1 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1351, allocations: 0 / 477.1 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.1351, allocations: 4.219 kB / 477.1 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005088/0.1356, allocations: 474.2 kB / 477.6 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1357, allocations: 0 / 477.6 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.03e-05/0.1357, allocations: 8 kB / 477.6 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.1357, allocations: 7.984 kB / 477.6 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.1357, allocations: 7.922 kB / 477.6 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1357, allocations: 0 / 477.6 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1358, allocations: 0 / 477.6 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.136, allocations: 223 kB / 477.8 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.523e-05/0.1361, allocations: 108.5 kB / 477.9 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/0.1361, allocations: 3.938 kB / 477.9 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.708e-05/0.1362, allocations: 7.938 kB / 477.9 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.12e-05/0.1363, allocations: 7.984 kB / 477.9 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.1363, allocations: 4 kB / 477.9 MB, free: 5.336 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005954/0.1369, allocations: 0.6472 MB / 478.6 MB, free: 4.691 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1369, allocations: 4 kB / 478.6 MB, free: 4.688 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000249/0.1371, allocations: 20 kB / 478.6 MB, free: 4.668 MB / 350.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.0009219/0.1381, allocations: 407.6 kB / 479 MB, free: 4.418 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002157/0.1383, allocations: 55.95 kB / 479.1 MB, free: 4.363 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1383, allocations: 0 / 479.1 MB, free: 4.363 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.386e-05/0.1384, allocations: 39.92 kB / 479.1 MB, free: 4.324 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004245/0.1388, allocations: 17.95 kB / 479.1 MB, free: 4.309 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.1399, allocations: 0.799 MB / 479.9 MB, free: 3.484 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004575/0.1404, allocations: 0.826 MB / 480.7 MB, free: 2.633 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.386e-05/0.1404, allocations: 19.97 kB / 480.8 MB, free: 2.613 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.051e-05/0.1405, allocations: 11.44 kB / 480.8 MB, free: 2.602 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1405, allocations: 0 / 480.8 MB, free: 2.602 MB / 350.1 MB Notification: Performance of Templates: time 0.005022/0.1455, allocations: 1.48 MB / 482.3 MB, free: 1.137 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches