Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.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.Test4,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.Test4") translateModel(ModelicaTest.Tables.CombiTable1D.Test4,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.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00262/0.00262, allocations: 117.5 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.003263/0.003263, allocations: 194.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 3.366/3.366, allocations: 205.1 MB / 223.9 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.4813/0.4813, 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.002919/0.002919, allocations: 73.47 kB / 442.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.1959, allocations: 57.8 MB / 0.4886 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test4): time 0.00575/0.2017, allocations: 1.563 MB / 0.4901 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001337/0.2031, allocations: 335.5 kB / 0.4904 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.391e-05/0.2032, allocations: 0 / 0.4904 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005089/0.2038, allocations: 99.67 kB / 0.4905 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000378/0.2042, allocations: 75.73 kB / 0.4906 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005927/0.2048, allocations: 91.75 kB / 0.4907 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003316/0.2052, allocations: 87.8 kB / 0.4907 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002025/0.2054, allocations: 20.17 kB / 0.4908 GB, free: 9.512 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001548/0.2056, allocations: 35.89 kB / 0.4908 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002042/0.2058, allocations: 55.83 kB / 0.4908 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.884e-05/0.2059, allocations: 4 kB / 0.4908 GB, free: 9.418 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001541/0.206, allocations: 35.97 kB / 0.4909 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.32e-05/0.2062, allocations: 23.86 kB / 0.4909 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.856e-05/0.2063, allocations: 35.75 kB / 0.4909 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000344/0.2066, allocations: 107.6 kB / 0.491 GB, free: 9.219 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.2066, allocations: 0 / 0.491 GB, free: 9.219 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.2067, allocations: 0 / 0.491 GB, free: 9.219 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.241e-05/0.2067, allocations: 4 kB / 0.491 GB, free: 9.215 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.0008752/0.2076, allocations: 410.9 kB / 0.4914 GB, free: 8.766 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.101e-05/0.2077, allocations: 15.89 kB / 0.4915 GB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.488e-05/0.2077, allocations: 20.69 kB / 0.4915 GB, free: 8.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003371/0.2081, allocations: 204 kB / 0.4917 GB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.2081, allocations: 4.375 kB / 0.4917 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.592e-05/0.2082, allocations: 4.375 kB / 0.4917 GB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002975/0.2085, allocations: 75.33 kB / 0.4917 GB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.2085, allocations: 0 / 0.4917 GB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.2086, allocations: 0 / 0.4917 GB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.666e-05/0.2086, allocations: 4 kB / 0.4918 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002147/0.2088, allocations: 43.91 kB / 0.4918 GB, free: 8.352 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007938/0.2096, allocations: 397 kB / 0.4922 GB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004901/0.2101, allocations: 85.16 kB / 0.4923 GB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.2103, allocations: 33.8 kB / 0.4923 GB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.882e-05/0.2104, allocations: 4 kB / 0.4923 GB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.165e-05/0.2104, allocations: 34.5 kB / 0.4923 GB, free: 7.723 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.485e-06/0.2105, allocations: 0 / 0.4923 GB, free: 7.723 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.001344/0.2118, allocations: 244.8 kB / 0.4926 GB, free: 7.477 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.379e-05/0.2119, allocations: 85.05 kB / 0.4926 GB, free: 7.375 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004126/0.2124, allocations: 235.5 kB / 0.4929 GB, free: 7.137 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.327e-05/0.2124, allocations: 29.7 kB / 0.4929 GB, free: 7.102 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.2125, allocations: 112.1 kB / 0.493 GB, free: 6.988 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.548e-05/0.2126, allocations: 39.47 kB / 0.493 GB, free: 6.949 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.935e-05/0.2127, allocations: 21.72 kB / 0.4931 GB, free: 6.922 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.2129, allocations: 326.8 kB / 0.4934 GB, free: 6.594 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001728/0.2131, allocations: 31.97 kB / 0.4934 GB, free: 6.562 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001893/0.2133, allocations: 45.69 kB / 0.4934 GB, free: 6.512 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003599/0.2137, allocations: 93.61 kB / 0.4935 GB, free: 6.414 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2137, allocations: 0 / 0.4935 GB, free: 6.414 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004727/0.2142, allocations: 121.5 kB / 0.4936 GB, free: 6.289 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.225e-05/0.2143, allocations: 4 kB / 0.4936 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.2143, allocations: 4 kB / 0.4937 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/0.2143, allocations: 0 / 0.4937 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001859/0.2145, allocations: 28.48 kB / 0.4937 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.444e-05/0.2146, allocations: 3.938 kB / 0.4937 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.724e-05/0.2147, allocations: 7.984 kB / 0.4937 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/0.2147, allocations: 4 kB / 0.4937 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 0.0002086/0.2149, allocations: 141.7 kB / 0.4938 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.215, allocations: 15.81 kB / 0.4938 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005874/0.2156, allocations: 146.8 kB / 0.494 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.357e-06/0.2157, allocations: 4 kB / 0.494 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-05/0.2157, allocations: 7.922 kB / 0.494 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.852e-06/0.2157, allocations: 0 / 0.494 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/0.2169, allocations: 0.4986 MB / 0.4945 GB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.217, allocations: 4 kB / 0.4945 GB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.2171, allocations: 23.92 kB / 0.4945 GB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.2172, allocations: 0 / 0.4945 GB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.2172, allocations: 4 kB / 0.4945 GB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.752e-06/0.2172, allocations: 3.984 kB / 0.4945 GB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.2172, allocations: 0 / 0.4945 GB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005832/0.2178, allocations: 307.4 kB / 0.4948 GB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.484e-05/0.2179, allocations: 88.95 kB / 0.4949 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.544e-05/0.218, allocations: 288 / 0.4949 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002068/0.2182, allocations: 11.98 kB / 0.4949 GB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.429e-05/0.2183, allocations: 4 kB / 0.4949 GB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.2183, allocations: 11.94 kB / 0.4949 GB, free: 4.863 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002685/0.2186, allocations: 175.2 kB / 0.4951 GB, free: 4.691 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.2186, allocations: 0 / 0.4951 GB, free: 4.691 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000573/0.2192, allocations: 20 kB / 0.4951 GB, free: 4.672 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.001715/0.2209, allocations: 411.7 kB / 0.4955 GB, free: 4.301 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004837/0.2214, allocations: 79.89 kB / 0.4956 GB, free: 4.223 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.2215, allocations: 4 kB / 0.4956 GB, free: 4.219 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000212/0.2217, allocations: 47.91 kB / 0.4956 GB, free: 4.172 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007608/0.2225, allocations: 35.72 kB / 0.4957 GB, free: 4.137 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.2235, allocations: 329.7 kB / 0.496 GB, free: 3.773 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004626/0.224, allocations: 0.7119 MB / 0.4967 GB, free: 3.035 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.763e-05/0.2241, allocations: 19.44 kB / 0.4967 GB, free: 3.016 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.2241, allocations: 0 / 0.4967 GB, free: 3.016 MB / 382.1 MB Notification: Performance of Templates: time 0.006922/0.231, allocations: 1.821 MB / 0.4985 GB, free: 1.195 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches