Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6") translateModel(ModelicaTest.Tables.CombiTable1D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 110.4 kB / 16.41 MB, free: 6.434 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.001098/0.001098, allocations: 192 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.351/1.351, allocations: 205.1 MB / 223.2 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.206/0.206, allocations: 43.52 MB / 314.1 MB, free: 460 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.001386/0.001386, allocations: 69.47 kB / 441.8 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1156, allocations: 57.79 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test6): time 0.002868/0.1185, allocations: 1.577 MB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005778/0.1191, allocations: 331.5 kB / 0.4897 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.269e-05/0.1192, allocations: 4 kB / 0.4898 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002671/0.1195, allocations: 91.75 kB / 0.4898 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000176/0.1196, allocations: 71.78 kB / 0.4899 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002457/0.1199, allocations: 95.75 kB / 0.49 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001894/0.1201, allocations: 91.73 kB / 0.4901 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.964e-05/0.1202, allocations: 20.17 kB / 0.4901 GB, free: 9.512 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.147e-05/0.1203, allocations: 39.83 kB / 0.4901 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.301e-05/0.1203, allocations: 55.83 kB / 0.4902 GB, free: 9.418 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.1204, allocations: 4 kB / 0.4902 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.604e-05/0.1204, allocations: 31.97 kB / 0.4902 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.439e-05/0.1205, allocations: 23.92 kB / 0.4903 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.307e-05/0.1205, allocations: 31.75 kB / 0.4903 GB, free: 9.328 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.1207, allocations: 103.6 kB / 0.4904 GB, free: 9.227 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1207, allocations: 4 kB / 0.4904 GB, free: 9.223 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1207, allocations: 0 / 0.4904 GB, free: 9.223 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.1207, allocations: 0 / 0.4904 GB, free: 9.223 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004402/0.1212, allocations: 422.8 kB / 0.4908 GB, free: 8.762 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.1212, allocations: 15.89 kB / 0.4908 GB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.825e-05/0.1213, allocations: 16.73 kB / 0.4908 GB, free: 8.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/0.1214, allocations: 192.1 kB / 0.491 GB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.1215, allocations: 4.375 kB / 0.491 GB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.1215, allocations: 8.359 kB / 0.491 GB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.1216, allocations: 83.27 kB / 0.4911 GB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.1217, allocations: 3.984 kB / 0.4911 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.1217, allocations: 4 kB / 0.4911 GB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1217, allocations: 0 / 0.4911 GB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.1218, allocations: 35.97 kB / 0.4911 GB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004209/0.1222, allocations: 400.9 kB / 0.4915 GB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002418/0.1225, allocations: 93.14 kB / 0.4916 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.257e-05/0.1225, allocations: 33.8 kB / 0.4916 GB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.1226, allocations: 0 / 0.4916 GB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.1226, allocations: 34.56 kB / 0.4917 GB, free: 7.719 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 8.31e-07/0.1226, allocations: 0 / 0.4917 GB, free: 7.719 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006446/0.1233, allocations: 240.6 kB / 0.4919 GB, free: 7.477 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.1233, allocations: 81.11 kB / 0.492 GB, free: 7.379 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.1235, allocations: 235.5 kB / 0.4922 GB, free: 7.141 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.1235, allocations: 29.7 kB / 0.4922 GB, free: 7.105 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.232e-05/0.1236, allocations: 112.1 kB / 0.4923 GB, free: 6.992 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.857e-05/0.1236, allocations: 27.56 kB / 0.4924 GB, free: 6.965 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.935e-05/0.1237, allocations: 29.7 kB / 0.4924 GB, free: 6.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.57e-05/0.1237, allocations: 326.8 kB / 0.4927 GB, free: 6.602 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.962e-05/0.1238, allocations: 31.97 kB / 0.4927 GB, free: 6.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.058e-05/0.1239, allocations: 45.7 kB / 0.4928 GB, free: 6.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.1241, allocations: 97.73 kB / 0.4929 GB, free: 6.418 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1241, allocations: 0 / 0.4929 GB, free: 6.418 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002115/0.1243, allocations: 125.4 kB / 0.493 GB, free: 6.289 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.1243, allocations: 8 kB / 0.493 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.1243, allocations: 0 / 0.493 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.1244, allocations: 0 / 0.493 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.885e-05/0.1244, allocations: 19.98 kB / 0.493 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.1245, allocations: 3.938 kB / 0.493 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.965e-05/0.1245, allocations: 15.94 kB / 0.493 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.1245, allocations: 4 kB / 0.493 GB, free: 6.238 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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.513e-05/0.1246, allocations: 133.8 kB / 0.4932 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.874e-05/0.1247, allocations: 15.81 kB / 0.4932 GB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002834/0.1249, allocations: 146.6 kB / 0.4933 GB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.125, allocations: 3.984 kB / 0.4933 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.125, allocations: 7.938 kB / 0.4933 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.125, allocations: 0 / 0.4933 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005522/0.1255, allocations: 0.5071 MB / 0.4938 GB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1255, allocations: 0 / 0.4938 GB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.642e-05/0.1256, allocations: 19.94 kB / 0.4939 GB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.1256, allocations: 3.984 kB / 0.4939 GB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.1256, allocations: 4 kB / 0.4939 GB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1257, allocations: 4.031 kB / 0.4939 GB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.103e-06/0.1257, allocations: 3.938 kB / 0.4939 GB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003015/0.126, allocations: 299.5 kB / 0.4942 GB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.909e-05/0.126, allocations: 96.92 kB / 0.4942 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.126, allocations: 4 kB / 0.4942 GB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.638e-05/0.1261, allocations: 8 kB / 0.4943 GB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.247e-05/0.1262, allocations: 8.266 kB / 0.4943 GB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.1262, allocations: 4 kB / 0.4943 GB, free: 4.867 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001226/0.1263, allocations: 175.2 kB / 0.4944 GB, free: 4.695 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1263, allocations: 3.938 kB / 0.4944 GB, free: 4.691 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002695/0.1266, allocations: 16 kB / 0.4945 GB, free: 4.676 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.0008278/0.1275, allocations: 408.5 kB / 0.4948 GB, free: 4.309 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002267/0.1277, allocations: 79.89 kB / 0.4949 GB, free: 4.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1277, allocations: 4 kB / 0.4949 GB, free: 4.227 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.079e-05/0.1278, allocations: 43.91 kB / 0.495 GB, free: 4.184 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003829/0.1282, allocations: 27.78 kB / 0.495 GB, free: 4.156 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004461/0.1286, allocations: 308 kB / 0.4953 GB, free: 3.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.1289, allocations: 0.7158 MB / 0.496 GB, free: 3.078 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.092e-05/0.129, allocations: 24.39 kB / 0.496 GB, free: 3.055 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.415e-05/0.129, allocations: 15.44 kB / 0.496 GB, free: 3.039 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.129, allocations: 0 / 0.496 GB, free: 3.039 MB / 382.1 MB Notification: Performance of Templates: time 0.003469/0.1325, allocations: 1.311 MB / 0.4973 GB, free: 1.73 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches