Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.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.CombiTable1D.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20") translateModel(ModelicaTest.Tables.CombiTable1D.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 109.1 kB / 16.41 MB, free: 6.492 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.001423/0.001423, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.377/1.377, allocations: 205.1 MB / 223.2 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.1934/0.1934, allocations: 43.52 MB / 314.1 MB, free: 456 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.001518/0.001518, allocations: 63.91 kB / 441.8 MB, free: 5.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1217, allocations: 57.79 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test20): time 0.002643/0.1244, allocations: 1.546 MB / 0.4894 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.1256, allocations: 0.9612 MB / 0.4903 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.655e-05/0.1257, allocations: 0 / 0.4903 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002003/0.1259, allocations: 23.86 kB / 0.4904 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000165/0.126, allocations: 39.84 kB / 0.4904 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.1263, allocations: 95.73 kB / 0.4905 GB, free: 9.098 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.1264, allocations: 51.91 kB / 0.4905 GB, free: 9.047 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.641e-05/0.1266, allocations: 19.92 kB / 0.4906 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.458e-05/0.1266, allocations: 19.92 kB / 0.4906 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/0.1268, allocations: 31.84 kB / 0.4906 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.1268, allocations: 3.938 kB / 0.4906 GB, free: 8.973 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.245e-05/0.1269, allocations: 51.97 kB / 0.4907 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.213e-05/0.1269, allocations: 7.984 kB / 0.4907 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.732e-05/0.127, allocations: 19.88 kB / 0.4907 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.1271, allocations: 91.77 kB / 0.4908 GB, free: 8.805 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1272, allocations: 0 / 0.4908 GB, free: 8.805 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.1272, allocations: 3.984 kB / 0.4908 GB, free: 8.801 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.1272, allocations: 0 / 0.4908 GB, free: 8.801 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004361/0.1276, allocations: 387.1 kB / 0.4911 GB, free: 8.375 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.1277, allocations: 11.89 kB / 0.4912 GB, free: 8.363 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.543e-05/0.1277, allocations: 4.938 kB / 0.4912 GB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.1279, allocations: 188.2 kB / 0.4913 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-06/0.1279, allocations: 384 / 0.4913 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.1279, allocations: 384 / 0.4913 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.1281, allocations: 83.5 kB / 0.4914 GB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.1281, allocations: 0 / 0.4914 GB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.1281, allocations: 0 / 0.4914 GB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.1281, allocations: 0 / 0.4914 GB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.478e-05/0.1282, allocations: 23.92 kB / 0.4914 GB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003398/0.1285, allocations: 276.9 kB / 0.4917 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.1287, allocations: 46.55 kB / 0.4918 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.871e-05/0.1288, allocations: 16.86 kB / 0.4918 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.1288, allocations: 0 / 0.4918 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.1289, allocations: 42.58 kB / 0.4918 GB, free: 7.574 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.1289, allocations: 0 / 0.4918 GB, free: 7.574 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005023/0.1294, allocations: 141.3 kB / 0.4919 GB, free: 7.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.524e-05/0.1295, allocations: 85.11 kB / 0.492 GB, free: 7.328 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.1296, allocations: 129.8 kB / 0.4922 GB, free: 7.191 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.1296, allocations: 25.7 kB / 0.4922 GB, free: 7.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.978e-05/0.1297, allocations: 104 kB / 0.4923 GB, free: 7.055 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.706e-05/0.1297, allocations: 7.812 kB / 0.4923 GB, free: 7.047 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.288e-05/0.1297, allocations: 21.72 kB / 0.4923 GB, free: 7.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.1299, allocations: 322.8 kB / 0.4926 GB, free: 6.695 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.71e-05/0.1299, allocations: 27.92 kB / 0.4926 GB, free: 6.668 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.836e-05/0.13, allocations: 37.77 kB / 0.4927 GB, free: 6.625 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.1301, allocations: 52.81 kB / 0.4927 GB, free: 6.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1301, allocations: 0 / 0.4927 GB, free: 6.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001669/0.1303, allocations: 89.52 kB / 0.4928 GB, free: 6.477 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.1303, allocations: 8.031 kB / 0.4928 GB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.1303, allocations: 0 / 0.4928 GB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.1304, allocations: 0 / 0.4928 GB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.306e-05/0.1304, allocations: 15.98 kB / 0.4928 GB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.1304, allocations: 0 / 0.4928 GB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.715e-05/0.1305, allocations: 4 kB / 0.4928 GB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.1305, allocations: 3.984 kB / 0.4928 GB, free: 6.445 MB / 382.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 7.405e-05/0.1306, allocations: 125.7 kB / 0.493 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.822e-05/0.1306, allocations: 4 kB / 0.493 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00022/0.1308, allocations: 105.5 kB / 0.4931 GB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1308, allocations: 0 / 0.4931 GB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.1308, allocations: 4 kB / 0.4931 GB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.1309, allocations: 3.984 kB / 0.4931 GB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003752/0.1312, allocations: 350.7 kB / 0.4934 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.1312, allocations: 4.062 kB / 0.4934 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.78e-05/0.1313, allocations: 16 kB / 0.4934 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1313, allocations: 0 / 0.4934 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.1313, allocations: 0 / 0.4934 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.1313, allocations: 7.875 kB / 0.4934 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.1313, allocations: 3.984 kB / 0.4934 GB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002052/0.1316, allocations: 175.5 kB / 0.4936 GB, free: 5.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.875e-05/0.1316, allocations: 85 kB / 0.4937 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.1316, allocations: 8 kB / 0.4937 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.382e-05/0.1317, allocations: 7.938 kB / 0.4937 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.87e-05/0.1317, allocations: 0 / 0.4937 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.1317, allocations: 7.984 kB / 0.4937 GB, free: 5.445 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.974e-05/0.1318, allocations: 103.8 kB / 0.4938 GB, free: 5.344 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1318, allocations: 0 / 0.4938 GB, free: 5.344 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002404/0.1321, allocations: 20 kB / 0.4938 GB, free: 5.324 MB / 382.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.0009578/0.133, allocations: 455.7 kB / 0.4943 GB, free: 4.914 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001946/0.1332, allocations: 55.89 kB / 0.4943 GB, free: 4.859 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.1332, allocations: 0 / 0.4943 GB, free: 4.859 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.22e-05/0.1333, allocations: 23.98 kB / 0.4943 GB, free: 4.836 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.1337, allocations: 23.84 kB / 0.4944 GB, free: 4.812 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003508/0.134, allocations: 165.3 kB / 0.4945 GB, free: 4.625 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/0.1343, allocations: 0.6924 MB / 0.4952 GB, free: 3.906 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.529e-05/0.1343, allocations: 15.98 kB / 0.4952 GB, free: 3.891 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.401e-05/0.1344, allocations: 15.42 kB / 0.4952 GB, free: 3.875 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1344, allocations: 4 kB / 0.4952 GB, free: 3.871 MB / 382.1 MB Notification: Performance of Templates: time 0.003576/0.138, allocations: 1.365 MB / 0.4966 GB, free: 2.508 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches