Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.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.CombiTable1Ds.Test16,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.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,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.CombiTable1Ds.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 114.1 kB / 17.08 MB, free: 5.773 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.001367/0.001367, allocations: 198.5 kB / 18.02 MB, free: 4.902 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.423/1.423, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.2092/0.2092, allocations: 43.53 MB / 314.8 MB, free: 448 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.001432/0.001432, allocations: 65.47 kB / 442.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1151, allocations: 57.79 MB / 0.4885 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.003057/0.1182, allocations: 1.563 MB / 0.4901 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006111/0.1189, allocations: 311.6 kB / 0.4904 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.555e-05/0.1189, allocations: 0 / 0.4904 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002763/0.1192, allocations: 83.75 kB / 0.4904 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001969/0.1194, allocations: 59.75 kB / 0.4905 GB, free: 9.762 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002581/0.1197, allocations: 71.84 kB / 0.4906 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000154/0.1199, allocations: 71.75 kB / 0.4906 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.12, allocations: 15.98 kB / 0.4907 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.185e-05/0.1201, allocations: 39.89 kB / 0.4907 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.1202, allocations: 47.83 kB / 0.4907 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.029e-05/0.1202, allocations: 4 kB / 0.4907 GB, free: 9.516 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.175e-05/0.1203, allocations: 35.92 kB / 0.4908 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.368e-05/0.1204, allocations: 15.92 kB / 0.4908 GB, free: 9.465 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.608e-05/0.1204, allocations: 27.81 kB / 0.4908 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.1206, allocations: 87.64 kB / 0.4909 GB, free: 9.352 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1206, allocations: 0 / 0.4909 GB, free: 9.352 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1206, allocations: 0 / 0.4909 GB, free: 9.352 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1206, allocations: 4 kB / 0.4909 GB, free: 9.348 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.0005076/0.1211, allocations: 395 kB / 0.4913 GB, free: 8.914 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.1212, allocations: 11.89 kB / 0.4913 GB, free: 8.902 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.988e-05/0.1212, allocations: 8.844 kB / 0.4913 GB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.1214, allocations: 192.1 kB / 0.4915 GB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.1214, allocations: 4.359 kB / 0.4915 GB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.727e-05/0.1215, allocations: 12.31 kB / 0.4915 GB, free: 8.652 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.1216, allocations: 45.81 kB / 0.4915 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.1216, allocations: 3.938 kB / 0.4915 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.1217, allocations: 4 kB / 0.4916 GB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.1217, allocations: 4 kB / 0.4916 GB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.868e-05/0.1218, allocations: 19.98 kB / 0.4916 GB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003737/0.1221, allocations: 284.8 kB / 0.4918 GB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002215/0.1224, allocations: 42.59 kB / 0.4919 GB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.27e-05/0.1224, allocations: 20.84 kB / 0.4919 GB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.1225, allocations: 0 / 0.4919 GB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.1225, allocations: 34.56 kB / 0.4919 GB, free: 8.125 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.1225, allocations: 0 / 0.4919 GB, free: 8.125 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005553/0.1231, allocations: 141.2 kB / 0.4921 GB, free: 7.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.1231, allocations: 55.41 kB / 0.4921 GB, free: 7.914 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.1233, allocations: 202.2 kB / 0.4923 GB, free: 7.707 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.1233, allocations: 33.69 kB / 0.4924 GB, free: 7.668 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.76e-05/0.1234, allocations: 96.14 kB / 0.4924 GB, free: 7.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.687e-05/0.1234, allocations: 27.64 kB / 0.4925 GB, free: 7.543 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.391e-05/0.1235, allocations: 13.72 kB / 0.4925 GB, free: 7.523 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.1236, allocations: 322.8 kB / 0.4928 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.888e-05/0.1237, allocations: 19.98 kB / 0.4928 GB, free: 7.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.68e-05/0.1237, allocations: 24.17 kB / 0.4928 GB, free: 7.156 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.1239, allocations: 40.84 kB / 0.4929 GB, free: 7.113 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.1239, allocations: 3.984 kB / 0.4929 GB, free: 7.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000183/0.1241, allocations: 85.52 kB / 0.493 GB, free: 7.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.1241, allocations: 8 kB / 0.493 GB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1241, allocations: 0 / 0.493 GB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.1241, allocations: 288 / 0.493 GB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.079e-05/0.1242, allocations: 15.98 kB / 0.493 GB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1242, allocations: 0 / 0.493 GB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.705e-05/0.1242, allocations: 7.938 kB / 0.493 GB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.313e-06/0.1243, allocations: 4 kB / 0.493 GB, free: 6.984 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.534e-05/0.1244, allocations: 129.7 kB / 0.4931 GB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.561e-05/0.1244, allocations: 11.89 kB / 0.4931 GB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002259/0.1246, allocations: 101.9 kB / 0.4932 GB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.1246, allocations: 7.938 kB / 0.4932 GB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.1246, allocations: 0 / 0.4932 GB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1247, allocations: 0 / 0.4932 GB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004117/0.1251, allocations: 350.5 kB / 0.4936 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1251, allocations: 0 / 0.4936 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.241e-05/0.1251, allocations: 12.12 kB / 0.4936 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1252, allocations: 0 / 0.4936 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.1252, allocations: 7.984 kB / 0.4936 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.1252, allocations: 11.94 kB / 0.4936 GB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1252, allocations: 0 / 0.4936 GB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.1254, allocations: 175.3 kB / 0.4938 GB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.194e-05/0.1255, allocations: 85.02 kB / 0.4938 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.1255, allocations: 0 / 0.4938 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.945e-05/0.1256, allocations: 11.92 kB / 0.4939 GB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/0.1256, allocations: 8 kB / 0.4939 GB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.1256, allocations: 0 / 0.4939 GB, free: 5.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001319/0.1258, allocations: 164 kB / 0.494 GB, free: 5.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1258, allocations: 4 kB / 0.494 GB, free: 5.816 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000239/0.126, allocations: 15.98 kB / 0.494 GB, free: 5.801 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.0009319/0.1269, allocations: 412.3 kB / 0.4944 GB, free: 5.434 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001961/0.1272, allocations: 47.95 kB / 0.4945 GB, free: 5.387 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.1272, allocations: 4 kB / 0.4945 GB, free: 5.383 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.966e-05/0.1273, allocations: 19.98 kB / 0.4945 GB, free: 5.363 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.1276, allocations: 27.8 kB / 0.4945 GB, free: 5.336 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004409/0.1281, allocations: 239.6 kB / 0.4948 GB, free: 5.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/0.1284, allocations: 0.7002 MB / 0.4954 GB, free: 4.344 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.439e-05/0.1284, allocations: 15.44 kB / 0.4955 GB, free: 4.328 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1284, allocations: 0 / 0.4955 GB, free: 4.328 MB / 382.1 MB Notification: Performance of Templates: time 0.003336/0.1318, allocations: 1.477 MB / 0.4969 GB, free: 2.855 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches