Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,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.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 113.2 kB / 17.08 MB, free: 6.012 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.001203/0.001203, allocations: 199 kB / 18.01 MB, free: 5.094 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.4/1.4, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2233/0.2233, allocations: 43.52 MB / 314.8 MB, free: 484 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.001483/0.001483, allocations: 67.89 kB / 442.5 MB, free: 5.684 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09289/0.09438, allocations: 57.8 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.002922/0.09735, allocations: 1.543 MB / 0.4901 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006218/0.09799, allocations: 327.4 kB / 0.4904 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.093e-05/0.09808, allocations: 7.938 kB / 0.4904 GB, free: 9.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002755/0.09837, allocations: 75.83 kB / 0.4904 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002017/0.09859, allocations: 59.73 kB / 0.4905 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002572/0.09886, allocations: 71.84 kB / 0.4906 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.09901, allocations: 67.83 kB / 0.4906 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.15e-05/0.09911, allocations: 15.97 kB / 0.4907 GB, free: 9.645 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.848e-05/0.09918, allocations: 35.84 kB / 0.4907 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.818e-05/0.09929, allocations: 51.89 kB / 0.4907 GB, free: 9.559 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.09931, allocations: 0 / 0.4907 GB, free: 9.559 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.333e-05/0.09941, allocations: 31.98 kB / 0.4908 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.409e-05/0.09947, allocations: 19.92 kB / 0.4908 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.42e-05/0.09952, allocations: 31.67 kB / 0.4908 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000166/0.09969, allocations: 87.72 kB / 0.4909 GB, free: 9.391 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.0997, allocations: 0 / 0.4909 GB, free: 9.391 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.09971, allocations: 0 / 0.4909 GB, free: 9.391 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.09972, allocations: 0 / 0.4909 GB, free: 9.391 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.0004677/0.1002, allocations: 395 kB / 0.4913 GB, free: 8.957 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.1002, allocations: 15.89 kB / 0.4913 GB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.964e-05/0.1003, allocations: 8.844 kB / 0.4913 GB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/0.1005, allocations: 196.1 kB / 0.4915 GB, free: 8.703 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.1005, allocations: 4.375 kB / 0.4915 GB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.1005, allocations: 384 / 0.4915 GB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.1007, allocations: 57.75 kB / 0.4915 GB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1007, allocations: 0 / 0.4915 GB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.1007, allocations: 0 / 0.4915 GB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1007, allocations: 0 / 0.4915 GB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.1008, allocations: 23.98 kB / 0.4916 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003462/0.1012, allocations: 284.8 kB / 0.4918 GB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.1014, allocations: 50.48 kB / 0.4919 GB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.751e-05/0.1014, allocations: 12.8 kB / 0.4919 GB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.1015, allocations: 8 kB / 0.4919 GB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.1015, allocations: 30.56 kB / 0.4919 GB, free: 8.164 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.1015, allocations: 0 / 0.4919 GB, free: 8.164 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005395/0.102, allocations: 145.3 kB / 0.4921 GB, free: 8.016 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.1021, allocations: 55.39 kB / 0.4921 GB, free: 7.949 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.1023, allocations: 202.2 kB / 0.4923 GB, free: 7.742 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.1023, allocations: 29.7 kB / 0.4924 GB, free: 7.707 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.874e-05/0.1024, allocations: 104.1 kB / 0.4924 GB, free: 7.602 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.314e-05/0.1024, allocations: 19.64 kB / 0.4925 GB, free: 7.582 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/0.1024, allocations: 17.72 kB / 0.4925 GB, free: 7.559 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.1025, allocations: 326.8 kB / 0.4928 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.992e-05/0.1026, allocations: 19.98 kB / 0.4928 GB, free: 7.211 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.261e-05/0.1027, allocations: 15.98 kB / 0.4928 GB, free: 7.195 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.1028, allocations: 56.95 kB / 0.4929 GB, free: 7.137 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1028, allocations: 0 / 0.4929 GB, free: 7.137 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001792/0.103, allocations: 77.58 kB / 0.493 GB, free: 7.055 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.103, allocations: 4 kB / 0.493 GB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1031, allocations: 0 / 0.493 GB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.1031, allocations: 0 / 0.493 GB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.382e-05/0.1031, allocations: 15.98 kB / 0.493 GB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.1032, allocations: 4 kB / 0.493 GB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.259e-05/0.1032, allocations: 8 kB / 0.493 GB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.1032, allocations: 0 / 0.493 GB, free: 7.023 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.883e-05/0.1033, allocations: 133.7 kB / 0.4931 GB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.348e-05/0.1034, allocations: 7.906 kB / 0.4931 GB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002325/0.1036, allocations: 97.89 kB / 0.4932 GB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.1036, allocations: 0 / 0.4932 GB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.1036, allocations: 4 kB / 0.4932 GB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.1036, allocations: 0 / 0.4932 GB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003968/0.104, allocations: 354.4 kB / 0.4936 GB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.104, allocations: 0 / 0.4936 GB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.654e-05/0.1041, allocations: 15.98 kB / 0.4936 GB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.1041, allocations: 0 / 0.4936 GB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.1041, allocations: 0 / 0.4936 GB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.1041, allocations: 7.875 kB / 0.4936 GB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1041, allocations: 192 / 0.4936 GB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002093/0.1043, allocations: 187.3 kB / 0.4938 GB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.772e-05/0.1044, allocations: 85.02 kB / 0.4938 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.1044, allocations: 3.984 kB / 0.4938 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.31e-05/0.1045, allocations: 7.938 kB / 0.4939 GB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.594e-05/0.1045, allocations: 4 kB / 0.4939 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.1045, allocations: 3.938 kB / 0.4939 GB, free: 6.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001138/0.1047, allocations: 168 kB / 0.494 GB, free: 5.855 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1047, allocations: 0 / 0.494 GB, free: 5.855 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002466/0.1049, allocations: 23.98 kB / 0.494 GB, free: 5.832 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.0008797/0.1058, allocations: 398.4 kB / 0.4944 GB, free: 5.477 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001878/0.106, allocations: 43.97 kB / 0.4945 GB, free: 5.434 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.106, allocations: 0 / 0.4945 GB, free: 5.434 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.053e-05/0.1061, allocations: 31.92 kB / 0.4945 GB, free: 5.402 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.1065, allocations: 23.59 kB / 0.4945 GB, free: 5.383 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004167/0.1069, allocations: 235.7 kB / 0.4947 GB, free: 5.121 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00024/0.1071, allocations: 0.7041 MB / 0.4954 GB, free: 4.391 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.728e-05/0.1072, allocations: 15.38 kB / 0.4954 GB, free: 4.375 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1072, allocations: 0 / 0.4954 GB, free: 4.375 MB / 382.1 MB Notification: Performance of Templates: time 0.003157/0.1103, allocations: 1.492 MB / 0.4969 GB, free: 2.887 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches