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.0008514/0.0008514, allocations: 97.19 kB / 18.01 MB, free: 5.602 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.0009044/0.0009045, allocations: 180.5 kB / 18.91 MB, free: 4.734 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.394/1.394, allocations: 223.3 MB / 243 MB, free: 14.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.2127/0.2127, allocations: 44.24 MB / 338.3 MB, free: 2.457 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003669/0.0003668, allocations: 11.98 kB / 411 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1151, allocations: 61.92 MB / 472.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.002276/0.1174, allocations: 1.379 MB / 474.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.1185, allocations: 459.2 kB / 474.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.577e-05/0.1186, allocations: 0 / 474.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002276/0.1188, allocations: 23.91 kB / 474.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002/0.119, allocations: 35.84 kB / 474.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005565/0.1196, allocations: 163.1 kB / 475 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001962/0.1198, allocations: 79.7 kB / 475 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.1199, allocations: 20.22 kB / 475.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.668e-05/0.12, allocations: 35.84 kB / 475.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.509e-05/0.1201, allocations: 31.84 kB / 475.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.1202, allocations: 7.938 kB / 475.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001726/0.1203, allocations: 51.91 kB / 475.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.777e-05/0.1204, allocations: 19.92 kB / 475.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.386e-05/0.1205, allocations: 53.5 kB / 475.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.1207, allocations: 88.08 kB / 475.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1207, allocations: 0 / 475.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1207, allocations: 0 / 475.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.1207, allocations: 0 / 475.3 MB, free: 10.86 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.0006487/0.1214, allocations: 415.2 kB / 475.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.1214, allocations: 8.031 kB / 475.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.451e-05/0.1215, allocations: 8.844 kB / 475.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.1217, allocations: 198.2 kB / 476 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.1217, allocations: 4.375 kB / 476 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.1217, allocations: 8.375 kB / 476 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003092/0.1221, allocations: 111.4 kB / 476.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.1221, allocations: 0 / 476.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.1221, allocations: 0 / 476.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1221, allocations: 4 kB / 476.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003413/0.1225, allocations: 99.91 kB / 476.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000614/0.1231, allocations: 348.7 kB / 476.5 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002646/0.1234, allocations: 86.52 kB / 476.6 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001897/0.1236, allocations: 60.95 kB / 476.7 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.1236, allocations: 0 / 476.7 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.1236, allocations: 34.55 kB / 476.7 MB, free: 9.332 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.62e-07/0.1236, allocations: 0 / 476.7 MB, free: 9.332 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001846/0.1255, allocations: 0.5007 MB / 477.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.1255, allocations: 81.11 kB / 477.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.1257, allocations: 144.9 kB / 477.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.1257, allocations: 25.7 kB / 477.4 MB, free: 8.547 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.359e-05/0.1258, allocations: 100.1 kB / 477.5 MB, free: 8.445 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.71e-05/0.1258, allocations: 35.61 kB / 477.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.32e-05/0.1259, allocations: 13.72 kB / 477.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.126, allocations: 330.8 kB / 477.9 MB, free: 8.059 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003446/0.1263, allocations: 99.92 kB / 478 MB, free: 7.961 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003469/0.1267, allocations: 121.7 kB / 478.1 MB, free: 7.836 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006525/0.1273, allocations: 216.7 kB / 478.3 MB, free: 7.621 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.1274, allocations: 0 / 478.3 MB, free: 7.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0007508/0.1281, allocations: 253.4 kB / 478.6 MB, free: 7.367 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.1281, allocations: 4 kB / 478.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.1282, allocations: 4 kB / 478.6 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.1282, allocations: 0 / 478.6 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002588/0.1284, allocations: 51.95 kB / 478.6 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.1285, allocations: 0 / 478.6 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00018/0.1286, allocations: 43.81 kB / 478.7 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.1287, allocations: 0 / 478.7 MB, free: 7.266 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.0001192/0.1288, allocations: 130.4 kB / 478.8 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.818e-05/0.1288, allocations: 7.906 kB / 478.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007842/0.1296, allocations: 266.2 kB / 479.1 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1296, allocations: 0 / 479.1 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1296, allocations: 4 kB / 479.1 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/0.1297, allocations: 3.938 kB / 479.1 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.1307, allocations: 0.5494 MB / 479.6 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1307, allocations: 0 / 479.6 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002059/0.131, allocations: 51.95 kB / 479.7 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.325e-06/0.131, allocations: 7.938 kB / 479.7 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.131, allocations: 0 / 479.7 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.131, allocations: 4.359 kB / 479.7 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.131, allocations: 0 / 479.7 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007632/0.1318, allocations: 343.2 kB / 480 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.127e-05/0.1318, allocations: 100.8 kB / 480.1 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.391e-05/0.1319, allocations: 4 kB / 480.1 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.1321, allocations: 31.97 kB / 480.2 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.958e-05/0.1321, allocations: 11.98 kB / 480.2 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.1322, allocations: 8 kB / 480.2 MB, free: 5.656 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.211e-05/0.1323, allocations: 107.2 kB / 480.3 MB, free: 5.551 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.004e-06/0.1323, allocations: 0 / 480.3 MB, free: 5.551 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003118/0.1326, allocations: 43.92 kB / 480.3 MB, free: 5.508 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.001085/0.1337, allocations: 456.9 kB / 480.8 MB, free: 5.234 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007576/0.1344, allocations: 215.8 kB / 481 MB, free: 5.023 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1345, allocations: 192 / 481 MB, free: 5.023 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003515/0.1348, allocations: 115.8 kB / 481.1 MB, free: 4.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/0.1352, allocations: 19.98 kB / 481.1 MB, free: 4.891 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005115/0.1357, allocations: 286.6 kB / 481.4 MB, free: 4.574 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.136, allocations: 0.7081 MB / 482.1 MB, free: 3.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.079e-05/0.1361, allocations: 15.44 kB / 482.1 MB, free: 3.824 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1361, allocations: 0 / 482.1 MB, free: 3.824 MB / 350.1 MB Notification: Performance of Templates: time 0.004532/0.1406, allocations: 2.229 MB / 484.4 MB, free: 1.605 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/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