Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1D.Test7,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.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001288, allocations: 117.4 kB / 17.08 MB, free: 5.992 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.00123/0.001231, allocations: 193.2 kB / 18.01 MB, free: 5.07 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.342/1.342, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.1942/0.1942, allocations: 43.52 MB / 314.8 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.001406/0.001407, allocations: 77.45 kB / 442.5 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1178, allocations: 57.79 MB / 0.4885 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test7): time 0.002961/0.1208, allocations: 1.543 MB / 0.4901 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006361/0.1215, allocations: 331.5 kB / 0.4904 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.77e-05/0.1216, allocations: 7.938 kB / 0.4904 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002299/0.1218, allocations: 27.8 kB / 0.4904 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001942/0.122, allocations: 35.83 kB / 0.4904 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002732/0.1223, allocations: 95.83 kB / 0.4905 GB, free: 9.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.1225, allocations: 51.84 kB / 0.4906 GB, free: 9.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.1226, allocations: 19.95 kB / 0.4906 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.052e-05/0.1226, allocations: 23.86 kB / 0.4906 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.174e-05/0.1227, allocations: 11.94 kB / 0.4906 GB, free: 9.625 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.1227, allocations: 4 kB / 0.4906 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.001e-05/0.1228, allocations: 35.98 kB / 0.4907 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.025e-05/0.1229, allocations: 19.91 kB / 0.4907 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.806e-05/0.1229, allocations: 27.75 kB / 0.4907 GB, free: 9.539 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002351/0.1232, allocations: 67.8 kB / 0.4908 GB, free: 9.473 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1232, allocations: 4 kB / 0.4908 GB, free: 9.469 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.1232, allocations: 0 / 0.4908 GB, free: 9.469 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.1232, allocations: 0 / 0.4908 GB, free: 9.469 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.0005617/0.1238, allocations: 378.6 kB / 0.4911 GB, free: 9.055 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.1238, allocations: 11.89 kB / 0.4912 GB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.259e-05/0.1239, allocations: 8.844 kB / 0.4912 GB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.1241, allocations: 192.1 kB / 0.4914 GB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.813e-06/0.1241, allocations: 4.375 kB / 0.4914 GB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.027e-05/0.1241, allocations: 4.375 kB / 0.4914 GB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.1243, allocations: 65.67 kB / 0.4914 GB, free: 8.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.1243, allocations: 0 / 0.4914 GB, free: 8.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.1243, allocations: 0 / 0.4914 GB, free: 8.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1243, allocations: 0 / 0.4914 GB, free: 8.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.172e-05/0.1244, allocations: 19.98 kB / 0.4914 GB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004005/0.1248, allocations: 284.9 kB / 0.4917 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002186/0.1251, allocations: 50.48 kB / 0.4918 GB, free: 8.324 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.316e-05/0.1251, allocations: 16.94 kB / 0.4918 GB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.1251, allocations: 4 kB / 0.4918 GB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.1252, allocations: 30.56 kB / 0.4918 GB, free: 8.262 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 3.387e-06/0.1252, allocations: 4 kB / 0.4918 GB, free: 8.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005673/0.1258, allocations: 145.3 kB / 0.492 GB, free: 8.109 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.1258, allocations: 55.39 kB / 0.492 GB, free: 8.043 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.126, allocations: 148.5 kB / 0.4921 GB, free: 7.891 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/0.126, allocations: 29.7 kB / 0.4922 GB, free: 7.855 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.896e-05/0.1261, allocations: 96.12 kB / 0.4923 GB, free: 7.758 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.871e-05/0.1261, allocations: 19.66 kB / 0.4923 GB, free: 7.738 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.866e-05/0.1262, allocations: 21.72 kB / 0.4923 GB, free: 7.711 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1263, allocations: 322.8 kB / 0.4926 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.44e-05/0.1264, allocations: 19.98 kB / 0.4926 GB, free: 7.367 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.803e-05/0.1265, allocations: 20.17 kB / 0.4927 GB, free: 7.348 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.1266, allocations: 68.69 kB / 0.4927 GB, free: 7.277 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1266, allocations: 0 / 0.4927 GB, free: 7.277 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001754/0.1268, allocations: 81.58 kB / 0.4928 GB, free: 7.191 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.1268, allocations: 8 kB / 0.4928 GB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.1268, allocations: 0 / 0.4928 GB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.1269, allocations: 0 / 0.4928 GB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.43e-05/0.1269, allocations: 15.98 kB / 0.4928 GB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.1269, allocations: 0 / 0.4928 GB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.568e-05/0.127, allocations: 4 kB / 0.4928 GB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.127, allocations: 7.938 kB / 0.4928 GB, free: 7.156 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 9.347e-05/0.1271, allocations: 125.8 kB / 0.4929 GB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.225e-05/0.1271, allocations: 7.906 kB / 0.493 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002439/0.1274, allocations: 105.9 kB / 0.4931 GB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.1274, allocations: 0 / 0.4931 GB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.1274, allocations: 3.938 kB / 0.4931 GB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1274, allocations: 0 / 0.4931 GB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004714/0.1279, allocations: 358.4 kB / 0.4934 GB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.1279, allocations: 0 / 0.4934 GB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.823e-05/0.128, allocations: 16.17 kB / 0.4934 GB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.128, allocations: 4 kB / 0.4934 GB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.128, allocations: 0 / 0.4934 GB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.128, allocations: 3.938 kB / 0.4934 GB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.128, allocations: 0 / 0.4934 GB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.1282, allocations: 187.4 kB / 0.4936 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.49e-05/0.1283, allocations: 81.02 kB / 0.4937 GB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.1283, allocations: 4 kB / 0.4937 GB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.483e-05/0.1284, allocations: 7.922 kB / 0.4937 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.309e-05/0.1284, allocations: 4 kB / 0.4937 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.1285, allocations: 3.938 kB / 0.4937 GB, free: 6.152 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.35e-05/0.1286, allocations: 126.1 kB / 0.4938 GB, free: 6.031 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1286, allocations: 0 / 0.4938 GB, free: 6.031 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002391/0.1288, allocations: 12 kB / 0.4938 GB, free: 6.02 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.0009634/0.1298, allocations: 411 kB / 0.4942 GB, free: 5.648 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002119/0.13, allocations: 51.95 kB / 0.4943 GB, free: 5.598 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.13, allocations: 0 / 0.4943 GB, free: 5.598 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.958e-05/0.1301, allocations: 27.92 kB / 0.4943 GB, free: 5.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003827/0.1305, allocations: 23.84 kB / 0.4943 GB, free: 5.547 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004613/0.131, allocations: 211.1 kB / 0.4945 GB, free: 5.309 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.1313, allocations: 0.6885 MB / 0.4952 GB, free: 4.594 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.096e-05/0.1314, allocations: 19.44 kB / 0.4952 GB, free: 4.574 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1314, allocations: 0 / 0.4952 GB, free: 4.574 MB / 382.1 MB Notification: Performance of Templates: time 0.00369/0.1351, allocations: 1.415 MB / 0.4966 GB, free: 3.16 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches