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.001263/0.00127, allocations: 115.1 kB / 17.08 MB, free: 6.016 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.00121/0.00121, allocations: 197.3 kB / 18.01 MB, free: 5.098 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.311/1.311, 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.1874/0.1874, allocations: 43.52 MB / 314.8 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.001294/0.001294, allocations: 67.91 kB / 442.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09418/0.09548, allocations: 57.79 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.002895/0.09841, allocations: 1.551 MB / 0.4901 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005979/0.09903, allocations: 327.5 kB / 0.4904 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.493e-05/0.09911, allocations: 4 kB / 0.4904 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002943/0.09941, allocations: 119.7 kB / 0.4905 GB, free: 9.793 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002057/0.09964, allocations: 91.64 kB / 0.4906 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002266/0.09988, allocations: 67.84 kB / 0.4906 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.1, allocations: 79.86 kB / 0.4907 GB, free: 9.559 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.326e-05/0.1001, allocations: 23.91 kB / 0.4907 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.503e-05/0.1002, allocations: 47.83 kB / 0.4908 GB, free: 9.488 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.1003, allocations: 75.78 kB / 0.4909 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.1004, allocations: 0 / 0.4909 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.893e-05/0.1004, allocations: 32 kB / 0.4909 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.758e-05/0.1005, allocations: 27.91 kB / 0.4909 GB, free: 9.355 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.337e-05/0.1006, allocations: 31.73 kB / 0.4909 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001669/0.1007, allocations: 99.66 kB / 0.491 GB, free: 9.227 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1007, allocations: 0 / 0.491 GB, free: 9.227 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1008, allocations: 4 kB / 0.491 GB, free: 9.223 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.1008, allocations: 0 / 0.491 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000463/0.1012, allocations: 430.2 kB / 0.4915 GB, free: 8.758 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.1013, allocations: 11.89 kB / 0.4915 GB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.757e-05/0.1013, allocations: 12.75 kB / 0.4915 GB, free: 8.734 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.1015, allocations: 207.9 kB / 0.4917 GB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.268e-06/0.1015, allocations: 4.375 kB / 0.4917 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.1016, allocations: 4.375 kB / 0.4917 GB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.1017, allocations: 53.81 kB / 0.4917 GB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.1017, allocations: 0 / 0.4917 GB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.1017, allocations: 0 / 0.4917 GB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1017, allocations: 0 / 0.4917 GB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.095e-05/0.1018, allocations: 23.92 kB / 0.4918 GB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003291/0.1022, allocations: 292.8 kB / 0.492 GB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.1024, allocations: 42.56 kB / 0.4921 GB, free: 8.016 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.724e-05/0.1024, allocations: 20.94 kB / 0.4921 GB, free: 7.992 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.1025, allocations: 0 / 0.4921 GB, free: 7.992 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.1025, allocations: 34.5 kB / 0.4921 GB, free: 7.949 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.1025, allocations: 0 / 0.4921 GB, free: 7.949 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004914/0.103, allocations: 145.2 kB / 0.4923 GB, free: 7.801 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.103, allocations: 59.34 kB / 0.4923 GB, free: 7.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002223/0.1033, allocations: 266.3 kB / 0.4926 GB, free: 7.457 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.1033, allocations: 29.7 kB / 0.4926 GB, free: 7.422 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.416e-05/0.1033, allocations: 112.1 kB / 0.4927 GB, free: 7.309 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.348e-05/0.1034, allocations: 19.66 kB / 0.4927 GB, free: 7.289 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.388e-05/0.1034, allocations: 21.7 kB / 0.4928 GB, free: 7.262 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.1035, allocations: 326.8 kB / 0.4931 GB, free: 6.934 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.513e-05/0.1036, allocations: 23.98 kB / 0.4931 GB, free: 6.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.438e-05/0.1037, allocations: 20.05 kB / 0.4931 GB, free: 6.891 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.1038, allocations: 40.84 kB / 0.4931 GB, free: 6.848 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1038, allocations: 3.938 kB / 0.4932 GB, free: 6.844 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001674/0.1039, allocations: 85.56 kB / 0.4932 GB, free: 6.754 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.104, allocations: 11.94 kB / 0.4932 GB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.104, allocations: 4 kB / 0.4933 GB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.104, allocations: 0 / 0.4933 GB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.934e-05/0.1041, allocations: 8 kB / 0.4933 GB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.1041, allocations: 7.922 kB / 0.4933 GB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.572e-05/0.1041, allocations: 4 kB / 0.4933 GB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.1041, allocations: 4 kB / 0.4933 GB, free: 6.715 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.634e-05/0.1042, allocations: 137.7 kB / 0.4934 GB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.481e-05/0.1043, allocations: 15.81 kB / 0.4934 GB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002163/0.1045, allocations: 94.66 kB / 0.4935 GB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1045, allocations: 4.219 kB / 0.4935 GB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1045, allocations: 0 / 0.4935 GB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.1045, allocations: 3.984 kB / 0.4935 GB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003782/0.1049, allocations: 362.5 kB / 0.4939 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1049, allocations: 320 / 0.4939 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.069e-05/0.105, allocations: 16 kB / 0.4939 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.105, allocations: 4 kB / 0.4939 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.105, allocations: 0 / 0.4939 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.105, allocations: 3.938 kB / 0.4939 GB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.105, allocations: 3.984 kB / 0.4939 GB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001963/0.1052, allocations: 183.3 kB / 0.4941 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.258e-05/0.1053, allocations: 81.02 kB / 0.4941 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.1053, allocations: 4 kB / 0.4941 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.856e-05/0.1054, allocations: 15.92 kB / 0.4942 GB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.517e-05/0.1054, allocations: 4 kB / 0.4942 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-06/0.1054, allocations: 0 / 0.4942 GB, free: 5.691 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001552/0.1056, allocations: 203.2 kB / 0.4944 GB, free: 5.492 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1056, allocations: 4 kB / 0.4944 GB, free: 5.488 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002463/0.1058, allocations: 12 kB / 0.4944 GB, free: 5.477 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.0008503/0.1067, allocations: 400.3 kB / 0.4948 GB, free: 5.113 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001744/0.1069, allocations: 51.91 kB / 0.4948 GB, free: 5.062 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1069, allocations: 0 / 0.4948 GB, free: 5.062 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.231e-05/0.1069, allocations: 23.98 kB / 0.4948 GB, free: 5.039 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.1073, allocations: 27.12 kB / 0.4949 GB, free: 5.016 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004785/0.1078, allocations: 300.2 kB / 0.4951 GB, free: 4.691 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.1081, allocations: 0.7119 MB / 0.4958 GB, free: 3.953 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.847e-05/0.1081, allocations: 15.42 kB / 0.4959 GB, free: 3.938 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1081, allocations: 0 / 0.4959 GB, free: 3.938 MB / 382.1 MB Notification: Performance of Templates: time 0.003126/0.1113, allocations: 1.625 MB / 0.4974 GB, free: 2.312 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","/var/lib/jenkins1/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