Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 107.1 kB / 16.41 MB, free: 6.504 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.001399/0.001399, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.605/1.605, allocations: 205.1 MB / 223.2 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.2137/0.2137, allocations: 43.54 MB / 314.1 MB, free: 436 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.001338/0.001338, allocations: 69.47 kB / 441.8 MB, free: 5.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1122, allocations: 57.79 MB / 499.6 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.002988/0.1153, allocations: 1.546 MB / 0.4894 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005672/0.1159, allocations: 327.4 kB / 0.4897 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.947e-05/0.1159, allocations: 4 kB / 0.4897 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003102/0.1162, allocations: 119.7 kB / 0.4898 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001881/0.1164, allocations: 91.7 kB / 0.4899 GB, free: 9.668 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001981/0.1166, allocations: 63.84 kB / 0.49 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000147/0.1168, allocations: 83.8 kB / 0.4901 GB, free: 9.523 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.442e-05/0.1169, allocations: 19.97 kB / 0.4901 GB, free: 9.504 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.152e-05/0.117, allocations: 47.83 kB / 0.4901 GB, free: 9.457 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.1171, allocations: 75.84 kB / 0.4902 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.1171, allocations: 0 / 0.4902 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.654e-05/0.1172, allocations: 28 kB / 0.4902 GB, free: 9.355 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.805e-05/0.1173, allocations: 31.84 kB / 0.4903 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.981e-05/0.1173, allocations: 31.73 kB / 0.4903 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.1175, allocations: 103.7 kB / 0.4904 GB, free: 9.191 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.1175, allocations: 0 / 0.4904 GB, free: 9.191 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1175, allocations: 7.938 kB / 0.4904 GB, free: 9.184 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1175, allocations: 0 / 0.4904 GB, free: 9.184 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.0004308/0.1179, allocations: 418.8 kB / 0.4908 GB, free: 8.727 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.118, allocations: 11.89 kB / 0.4908 GB, free: 8.715 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.804e-05/0.118, allocations: 12.75 kB / 0.4908 GB, free: 8.703 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.1182, allocations: 211.8 kB / 0.491 GB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.015e-06/0.1182, allocations: 4.375 kB / 0.491 GB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.1182, allocations: 384 / 0.491 GB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.1184, allocations: 53.81 kB / 0.4911 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.1184, allocations: 0 / 0.4911 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.1184, allocations: 0 / 0.4911 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.1184, allocations: 0 / 0.4911 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.816e-05/0.1185, allocations: 23.92 kB / 0.4911 GB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003677/0.1189, allocations: 292.8 kB / 0.4914 GB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.1191, allocations: 46.56 kB / 0.4914 GB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.257e-05/0.1191, allocations: 16.94 kB / 0.4914 GB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.1192, allocations: 3.938 kB / 0.4914 GB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.1192, allocations: 30.56 kB / 0.4915 GB, free: 7.918 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1192, allocations: 0 / 0.4915 GB, free: 7.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005377/0.1197, allocations: 161.1 kB / 0.4916 GB, free: 7.754 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.1198, allocations: 51.41 kB / 0.4917 GB, free: 7.691 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002464/0.12, allocations: 266.3 kB / 0.4919 GB, free: 7.418 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.1201, allocations: 25.7 kB / 0.492 GB, free: 7.387 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.778e-05/0.1201, allocations: 108.1 kB / 0.4921 GB, free: 7.277 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.1201, allocations: 19.66 kB / 0.4921 GB, free: 7.258 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-05/0.1202, allocations: 21.7 kB / 0.4921 GB, free: 7.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.1203, allocations: 330.8 kB / 0.4924 GB, free: 6.898 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.53e-05/0.1204, allocations: 23.92 kB / 0.4924 GB, free: 6.875 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.496e-05/0.1204, allocations: 16.17 kB / 0.4924 GB, free: 6.859 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.1206, allocations: 48.84 kB / 0.4925 GB, free: 6.809 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.1206, allocations: 0 / 0.4925 GB, free: 6.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001751/0.1207, allocations: 85.5 kB / 0.4926 GB, free: 6.719 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.1208, allocations: 8 kB / 0.4926 GB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.1208, allocations: 4 kB / 0.4926 GB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.1208, allocations: 288 / 0.4926 GB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.739e-05/0.1209, allocations: 8 kB / 0.4926 GB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.1209, allocations: 7.984 kB / 0.4926 GB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.799e-05/0.1209, allocations: 0 / 0.4926 GB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-06/0.1209, allocations: 7.984 kB / 0.4926 GB, free: 6.684 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.781e-05/0.121, allocations: 141.6 kB / 0.4927 GB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.511e-05/0.1211, allocations: 19.8 kB / 0.4928 GB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002366/0.1213, allocations: 102.6 kB / 0.4929 GB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1213, allocations: 0 / 0.4929 GB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.1213, allocations: 0 / 0.4929 GB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.1213, allocations: 3.984 kB / 0.4929 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003819/0.1217, allocations: 354.5 kB / 0.4932 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.1217, allocations: 0 / 0.4932 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-05/0.1218, allocations: 12.19 kB / 0.4932 GB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.1218, allocations: 4 kB / 0.4932 GB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.1218, allocations: 7.938 kB / 0.4932 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.1218, allocations: 3.938 kB / 0.4932 GB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.1218, allocations: 3.984 kB / 0.4932 GB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002019/0.122, allocations: 179.3 kB / 0.4934 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.957e-05/0.1221, allocations: 85.02 kB / 0.4935 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.1221, allocations: 4 kB / 0.4935 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.79e-05/0.1222, allocations: 11.92 kB / 0.4935 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.1222, allocations: 4 kB / 0.4935 GB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.1222, allocations: 0 / 0.4935 GB, free: 5.656 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001668/0.1224, allocations: 207.2 kB / 0.4937 GB, free: 5.453 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1224, allocations: 0 / 0.4937 GB, free: 5.453 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002323/0.1226, allocations: 16 kB / 0.4937 GB, free: 5.438 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.0008792/0.1235, allocations: 400.2 kB / 0.4941 GB, free: 5.078 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000185/0.1237, allocations: 51.91 kB / 0.4941 GB, free: 5.027 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.1237, allocations: 0 / 0.4941 GB, free: 5.027 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.971e-05/0.1238, allocations: 23.98 kB / 0.4942 GB, free: 5.004 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/0.1241, allocations: 23.84 kB / 0.4942 GB, free: 4.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005128/0.1246, allocations: 274.5 kB / 0.4945 GB, free: 4.688 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.125, allocations: 0.7119 MB / 0.4952 GB, free: 3.949 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.351e-05/0.125, allocations: 8 kB / 0.4952 GB, free: 3.941 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.137e-05/0.1251, allocations: 15.42 kB / 0.4952 GB, free: 3.926 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1251, allocations: 0 / 0.4952 GB, free: 3.926 MB / 382.1 MB Notification: Performance of Templates: time 0.003371/0.1284, allocations: 1.144 MB / 0.4963 GB, free: 2.781 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches