Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,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.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 117.7 kB / 17.08 MB, free: 5.957 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.0015/0.0015, allocations: 197.2 kB / 18.02 MB, free: 5.035 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.452/1.452, 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.2076/0.2076, allocations: 43.53 MB / 314.8 MB, free: 464 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.001343/0.001343, allocations: 73.45 kB / 442.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1091, allocations: 57.8 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.002956/0.1121, allocations: 1.551 MB / 0.4901 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006534/0.1128, allocations: 323.5 kB / 0.4904 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.964e-05/0.1129, allocations: 3.938 kB / 0.4904 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000284/0.1132, allocations: 107.7 kB / 0.4905 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002208/0.1134, allocations: 75.78 kB / 0.4906 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002478/0.1137, allocations: 63.84 kB / 0.4906 GB, free: 9.664 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.1139, allocations: 83.73 kB / 0.4907 GB, free: 9.582 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.928e-05/0.114, allocations: 15.98 kB / 0.4907 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.216e-05/0.1141, allocations: 43.83 kB / 0.4908 GB, free: 9.523 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.1142, allocations: 55.89 kB / 0.4908 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.1142, allocations: 0 / 0.4908 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.629e-05/0.1143, allocations: 35.97 kB / 0.4908 GB, free: 9.434 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.198e-05/0.1144, allocations: 23.86 kB / 0.4909 GB, free: 9.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.027e-05/0.1144, allocations: 35.69 kB / 0.4909 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001708/0.1146, allocations: 91.7 kB / 0.491 GB, free: 9.285 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1146, allocations: 4 kB / 0.491 GB, free: 9.281 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1146, allocations: 8 kB / 0.491 GB, free: 9.273 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1146, allocations: 0 / 0.491 GB, free: 9.273 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.0004703/0.1151, allocations: 406.8 kB / 0.4914 GB, free: 8.828 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.1151, allocations: 11.89 kB / 0.4914 GB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.264e-05/0.1152, allocations: 8.844 kB / 0.4914 GB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.1154, allocations: 204 kB / 0.4916 GB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.1154, allocations: 4.375 kB / 0.4916 GB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.206e-05/0.1154, allocations: 8.312 kB / 0.4916 GB, free: 8.559 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.1156, allocations: 53.81 kB / 0.4917 GB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.1156, allocations: 0 / 0.4917 GB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.1156, allocations: 0 / 0.4917 GB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1156, allocations: 0 / 0.4917 GB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.922e-05/0.1157, allocations: 19.98 kB / 0.4917 GB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003386/0.1161, allocations: 288.9 kB / 0.492 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.1162, allocations: 46.5 kB / 0.492 GB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.731e-05/0.1163, allocations: 20.94 kB / 0.492 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.1163, allocations: 0 / 0.492 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.1164, allocations: 30.56 kB / 0.492 GB, free: 8.031 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.1164, allocations: 4 kB / 0.4921 GB, free: 8.027 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005172/0.1169, allocations: 149.4 kB / 0.4922 GB, free: 7.875 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.117, allocations: 51.41 kB / 0.4922 GB, free: 7.812 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002157/0.1172, allocations: 246.6 kB / 0.4925 GB, free: 7.559 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.1172, allocations: 25.7 kB / 0.4925 GB, free: 7.527 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.83e-05/0.1173, allocations: 108.1 kB / 0.4926 GB, free: 7.418 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.1173, allocations: 11.81 kB / 0.4926 GB, free: 7.406 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.151e-05/0.1173, allocations: 17.7 kB / 0.4926 GB, free: 7.383 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.1174, allocations: 330.8 kB / 0.4929 GB, free: 7.051 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.792e-05/0.1175, allocations: 23.98 kB / 0.493 GB, free: 7.027 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.47e-05/0.1176, allocations: 11.98 kB / 0.493 GB, free: 7.016 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001257/0.1177, allocations: 52.97 kB / 0.493 GB, free: 6.961 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1177, allocations: 0 / 0.493 GB, free: 6.961 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001903/0.1179, allocations: 81.56 kB / 0.4931 GB, free: 6.875 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.1179, allocations: 11.94 kB / 0.4931 GB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.118, allocations: 4 kB / 0.4931 GB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.118, allocations: 3.984 kB / 0.4931 GB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.797e-05/0.118, allocations: 8 kB / 0.4931 GB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.1181, allocations: 3.984 kB / 0.4931 GB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.354e-05/0.1181, allocations: 11.89 kB / 0.4932 GB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.1181, allocations: 4 kB / 0.4932 GB, free: 6.828 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 0.0001018/0.1182, allocations: 145.6 kB / 0.4933 GB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.967e-05/0.1183, allocations: 7.906 kB / 0.4933 GB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002146/0.1185, allocations: 102.6 kB / 0.4934 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1185, allocations: 0 / 0.4934 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1185, allocations: 0 / 0.4934 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.1185, allocations: 0 / 0.4934 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004101/0.1189, allocations: 358.4 kB / 0.4937 GB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1189, allocations: 0 / 0.4937 GB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.238e-05/0.119, allocations: 11.98 kB / 0.4938 GB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.119, allocations: 4 kB / 0.4938 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-06/0.119, allocations: 192 / 0.4938 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.119, allocations: 11.94 kB / 0.4938 GB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.119, allocations: 0 / 0.4938 GB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002162/0.1193, allocations: 179.3 kB / 0.4939 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.91e-05/0.1193, allocations: 85.02 kB / 0.494 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.1193, allocations: 0 / 0.494 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.949e-05/0.1194, allocations: 19.88 kB / 0.494 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.19e-05/0.1194, allocations: 3.984 kB / 0.494 GB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.1195, allocations: 4 kB / 0.494 GB, free: 5.805 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001422/0.1196, allocations: 179.2 kB / 0.4942 GB, free: 5.629 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1196, allocations: 0 / 0.4942 GB, free: 5.629 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002367/0.1199, allocations: 20 kB / 0.4942 GB, free: 5.609 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.0008582/0.1207, allocations: 404.8 kB / 0.4946 GB, free: 5.242 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001777/0.1209, allocations: 43.97 kB / 0.4947 GB, free: 5.199 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1209, allocations: 4 kB / 0.4947 GB, free: 5.195 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.066e-05/0.121, allocations: 23.92 kB / 0.4947 GB, free: 5.172 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.1213, allocations: 23.84 kB / 0.4947 GB, free: 5.148 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004145/0.1217, allocations: 275.9 kB / 0.495 GB, free: 4.848 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.122, allocations: 0.7119 MB / 0.4957 GB, free: 4.109 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.262e-05/0.1221, allocations: 11.44 kB / 0.4957 GB, free: 4.098 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1221, allocations: 0 / 0.4957 GB, free: 4.098 MB / 382.1 MB Notification: Performance of Templates: time 0.003205/0.1253, allocations: 1.562 MB / 0.4972 GB, free: 2.539 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches