Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001781/0.001788, allocations: 117.6 kB / 17.08 MB, free: 5.965 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.001938/0.001938, allocations: 198.9 kB / 18.01 MB, free: 5.051 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.363/1.363, allocations: 205.1 MB / 223.9 MB, free: 12.22 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.2046/0.2046, allocations: 43.52 MB / 314.8 MB, free: 452 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.001511/0.001511, allocations: 65.94 kB / 442.5 MB, free: 5.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1094, allocations: 57.8 MB / 0.4886 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003326/0.1128, allocations: 1.546 MB / 0.4901 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001458/0.1143, allocations: 0.9378 MB / 0.491 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.293e-05/0.1144, allocations: 4 kB / 0.491 GB, free: 9.262 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002449/0.1147, allocations: 31.78 kB / 0.491 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002391/0.1149, allocations: 43.77 kB / 0.4911 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002757/0.1152, allocations: 71.78 kB / 0.4911 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.1154, allocations: 59.78 kB / 0.4912 GB, free: 9.059 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.1155, allocations: 7.984 kB / 0.4912 GB, free: 9.051 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.881e-05/0.1156, allocations: 27.91 kB / 0.4912 GB, free: 9.023 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001612/0.1158, allocations: 31.86 kB / 0.4912 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.1158, allocations: 0 / 0.4912 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000153/0.116, allocations: 51.97 kB / 0.4913 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.712e-05/0.116, allocations: 7.984 kB / 0.4913 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.818e-05/0.1161, allocations: 19.88 kB / 0.4913 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002138/0.1163, allocations: 91.7 kB / 0.4914 GB, free: 8.824 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1163, allocations: 0 / 0.4914 GB, free: 8.824 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1163, allocations: 0 / 0.4914 GB, free: 8.824 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.1163, allocations: 0 / 0.4914 GB, free: 8.824 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.0005443/0.1169, allocations: 383.1 kB / 0.4918 GB, free: 8.402 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.1169, allocations: 19.89 kB / 0.4918 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.537e-05/0.117, allocations: 0.9375 kB / 0.4918 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/0.1172, allocations: 188.2 kB / 0.492 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.1172, allocations: 4.375 kB / 0.492 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.565e-05/0.1172, allocations: 4.375 kB / 0.492 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.1174, allocations: 63.47 kB / 0.492 GB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.1174, allocations: 0 / 0.492 GB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.1175, allocations: 4 kB / 0.492 GB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1175, allocations: 4 kB / 0.492 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.1176, allocations: 27.97 kB / 0.4921 GB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003749/0.118, allocations: 264.9 kB / 0.4923 GB, free: 7.734 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002218/0.1182, allocations: 46.48 kB / 0.4924 GB, free: 7.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.931e-05/0.1183, allocations: 12.86 kB / 0.4924 GB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.1183, allocations: 4 kB / 0.4924 GB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.1183, allocations: 38.56 kB / 0.4924 GB, free: 7.613 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.423e-06/0.1183, allocations: 0 / 0.4924 GB, free: 7.613 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005532/0.1189, allocations: 137.4 kB / 0.4926 GB, free: 7.473 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.1189, allocations: 77.11 kB / 0.4926 GB, free: 7.379 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.1191, allocations: 133.8 kB / 0.4928 GB, free: 7.238 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.1191, allocations: 29.7 kB / 0.4928 GB, free: 7.203 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.112e-05/0.1192, allocations: 92.03 kB / 0.4929 GB, free: 7.109 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.1192, allocations: 19.8 kB / 0.4929 GB, free: 7.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.7e-05/0.1192, allocations: 17.72 kB / 0.4929 GB, free: 7.066 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.1194, allocations: 326.7 kB / 0.4932 GB, free: 6.738 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.682e-05/0.1195, allocations: 15.98 kB / 0.4932 GB, free: 6.723 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.355e-05/0.1195, allocations: 37.77 kB / 0.4933 GB, free: 6.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.1197, allocations: 52.77 kB / 0.4933 GB, free: 6.625 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1197, allocations: 0 / 0.4933 GB, free: 6.625 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001849/0.1199, allocations: 77.52 kB / 0.4934 GB, free: 6.543 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.1199, allocations: 8 kB / 0.4934 GB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1199, allocations: 0 / 0.4934 GB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.1199, allocations: 0 / 0.4934 GB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.33e-05/0.12, allocations: 16.02 kB / 0.4934 GB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.12, allocations: 7.984 kB / 0.4934 GB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.237e-05/0.1201, allocations: 3.984 kB / 0.4934 GB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.1201, allocations: 8 kB / 0.4934 GB, free: 6.5 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 8.748e-05/0.1202, allocations: 121.7 kB / 0.4936 GB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.396e-05/0.1202, allocations: 4 kB / 0.4936 GB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002282/0.1204, allocations: 97.47 kB / 0.4937 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1205, allocations: 288 / 0.4937 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1205, allocations: 0 / 0.4937 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1205, allocations: 4 kB / 0.4937 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004549/0.1209, allocations: 338.8 kB / 0.494 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.1209, allocations: 11.98 kB / 0.494 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.166e-05/0.121, allocations: 12 kB / 0.494 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.121, allocations: 0 / 0.494 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.1211, allocations: 4 kB / 0.494 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.1211, allocations: 11.92 kB / 0.494 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1211, allocations: 0 / 0.494 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002979/0.1214, allocations: 167.5 kB / 0.4942 GB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.883e-05/0.1215, allocations: 81.02 kB / 0.4943 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.1215, allocations: 4 kB / 0.4943 GB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.1216, allocations: 11.92 kB / 0.4943 GB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.622e-05/0.1217, allocations: 4 kB / 0.4943 GB, free: 5.535 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.1217, allocations: 0 / 0.4943 GB, free: 5.535 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001118/0.1218, allocations: 111.8 kB / 0.4944 GB, free: 5.426 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.423e-06/0.1218, allocations: 0 / 0.4944 GB, free: 5.426 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002699/0.1221, allocations: 27.94 kB / 0.4944 GB, free: 5.398 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.001012/0.1231, allocations: 438 kB / 0.4948 GB, free: 5.008 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002078/0.1233, allocations: 43.97 kB / 0.4949 GB, free: 4.965 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1233, allocations: 3.938 kB / 0.4949 GB, free: 4.961 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.466e-05/0.1234, allocations: 27.92 kB / 0.4949 GB, free: 4.934 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.1238, allocations: 19.84 kB / 0.4949 GB, free: 4.914 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003854/0.1242, allocations: 183.1 kB / 0.4951 GB, free: 4.703 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.1244, allocations: 0.6885 MB / 0.4958 GB, free: 3.988 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.968e-05/0.1245, allocations: 19.44 kB / 0.4958 GB, free: 3.969 MB / 382.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1245, allocations: 0 / 0.4958 GB, free: 3.969 MB / 382.1 MB Notification: Performance of Templates: time 0.003528/0.128, allocations: 1.544 MB / 0.4973 GB, free: 2.426 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches