Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001799/0.0018, allocations: 107.6 kB / 17.21 MB, free: 6.289 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.001952/0.001952, allocations: 194 kB / 18.12 MB, free: 5.383 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.483/1.483, allocations: 222.9 MB / 241.8 MB, free: 15.5 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.2367/0.2367, allocations: 44.19 MB / 336.1 MB, free: 3.016 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001612/0.001612, allocations: 65.03 kB / 407.7 MB, free: 27.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1296, allocations: 60.83 MB / 468.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.004058/0.1338, allocations: 1.719 MB / 470.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009993/0.1348, allocations: 487 kB / 470.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.345e-05/0.1349, allocations: 0 / 470.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002527/0.1352, allocations: 15.92 kB / 470.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002275/0.1354, allocations: 35.84 kB / 470.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005253/0.136, allocations: 157.9 kB / 470.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002129/0.1362, allocations: 91.69 kB / 471 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.1364, allocations: 20.22 kB / 471 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.211e-05/0.1365, allocations: 27.86 kB / 471.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.282e-05/0.1366, allocations: 39.78 kB / 471.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.1366, allocations: 7.984 kB / 471.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/0.1367, allocations: 47.98 kB / 471.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.843e-05/0.1368, allocations: 23.91 kB / 471.2 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.886e-05/0.1369, allocations: 31.8 kB / 471.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002409/0.1371, allocations: 111.9 kB / 471.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/0.1371, allocations: 7.984 kB / 471.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1371, allocations: 0 / 471.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1372, allocations: 0 / 471.3 MB, free: 12.04 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.0007546/0.1379, allocations: 415.2 kB / 471.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.138, allocations: 8.031 kB / 471.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.298e-05/0.138, allocations: 12.78 kB / 471.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002365/0.1383, allocations: 199 kB / 471.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.1383, allocations: 8.375 kB / 472 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.1383, allocations: 384 / 472 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003092/0.1386, allocations: 95.48 kB / 472 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.1387, allocations: 0 / 472 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.1387, allocations: 4 kB / 472 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.1387, allocations: 0 / 472 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003296/0.1391, allocations: 79.86 kB / 472.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007467/0.1398, allocations: 332.7 kB / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002891/0.1401, allocations: 74.53 kB / 472.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001829/0.1403, allocations: 52.94 kB / 472.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.274e-05/0.1404, allocations: 3.938 kB / 472.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.1404, allocations: 38.5 kB / 472.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.1404, allocations: 4 kB / 472.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001818/0.1422, allocations: 408.8 kB / 473 MB, free: 10.17 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.149e-05/0.1423, allocations: 81.09 kB / 473.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/0.1425, allocations: 141.8 kB / 473.2 MB, free: 9.926 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.1425, allocations: 29.7 kB / 473.3 MB, free: 9.891 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.895e-05/0.1426, allocations: 104.1 kB / 473.4 MB, free: 9.785 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4e-05/0.1427, allocations: 27.56 kB / 473.4 MB, free: 9.758 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.89e-05/0.1428, allocations: 25.7 kB / 473.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.1429, allocations: 318.8 kB / 473.7 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003282/0.1433, allocations: 79.92 kB / 473.8 MB, free: 9.328 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003314/0.1436, allocations: 97.56 kB / 473.9 MB, free: 9.227 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006207/0.1442, allocations: 172.7 kB / 474.1 MB, free: 9.055 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1443, allocations: 0 / 474.1 MB, free: 9.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0007816/0.145, allocations: 209.4 kB / 474.3 MB, free: 8.844 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.1451, allocations: 6.344 kB / 474.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.1451, allocations: 0 / 474.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.77e-05/0.1451, allocations: 4 kB / 474.3 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002653/0.1454, allocations: 36.33 kB / 474.3 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.1454, allocations: 0 / 474.3 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/0.1456, allocations: 31.91 kB / 474.4 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.1457, allocations: 0 / 474.4 MB, free: 8.77 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 (10): * Single equations (assignments): 10 * 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.0001494/0.1458, allocations: 134.2 kB / 474.5 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.882e-05/0.1459, allocations: 7.906 kB / 474.5 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007349/0.1466, allocations: 226.1 kB / 474.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.1466, allocations: 4.375 kB / 474.7 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.1466, allocations: 0 / 474.7 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.1466, allocations: 3.938 kB / 474.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.1477, allocations: 0.5101 MB / 475.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.1477, allocations: 0 / 475.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/0.1479, allocations: 35.95 kB / 475.3 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.1479, allocations: 7.938 kB / 475.3 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.1479, allocations: 0 / 475.3 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.1479, allocations: 7.938 kB / 475.3 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.1479, allocations: 3.938 kB / 475.3 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006406/0.1486, allocations: 299.3 kB / 475.6 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.719e-05/0.1486, allocations: 88.94 kB / 475.7 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.807e-05/0.1487, allocations: 0 / 475.7 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.1488, allocations: 35.89 kB / 475.7 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.872e-05/0.1489, allocations: 7.984 kB / 475.7 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.1489, allocations: 0 / 475.7 MB, free: 7.309 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001162/0.149, allocations: 117.7 kB / 475.8 MB, free: 7.195 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1491, allocations: 0 / 475.8 MB, free: 7.195 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003066/0.1494, allocations: 36 kB / 475.9 MB, free: 7.16 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 (9): * Single equations (assignments): 9 * 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.00122/0.1506, allocations: 444.2 kB / 476.3 MB, free: 6.895 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007113/0.1513, allocations: 179.7 kB / 476.5 MB, free: 6.719 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.1513, allocations: 0 / 476.5 MB, free: 6.719 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003002/0.1516, allocations: 95.84 kB / 476.6 MB, free: 6.625 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004096/0.1521, allocations: 27.97 kB / 476.6 MB, free: 6.598 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005691/0.1526, allocations: 267.5 kB / 476.9 MB, free: 6.305 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.153, allocations: 0.7082 MB / 477.6 MB, free: 5.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001264/0.1531, allocations: 20.41 kB / 477.6 MB, free: 5.551 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.948e-05/0.1532, allocations: 19.44 kB / 477.6 MB, free: 5.531 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1532, allocations: 0 / 477.6 MB, free: 5.531 MB / 350.1 MB Notification: Performance of Templates: time 0.005831/0.159, allocations: 1.984 MB / 479.6 MB, free: 3.562 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches