Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002084/0.002085, allocations: 114 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.001866/0.001866, allocations: 197.3 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 3.182/3.182, 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.4439/0.4439, allocations: 43.53 MB / 314.8 MB, free: 468 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.00244/0.00244, allocations: 63.91 kB / 442.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2197, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.005037/0.2248, allocations: 1.551 MB / 0.4901 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.226, allocations: 323.4 kB / 0.4904 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.2261, allocations: 4 kB / 0.4904 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004773/0.2266, allocations: 75.78 kB / 0.4904 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003432/0.227, allocations: 59.8 kB / 0.4905 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004453/0.2275, allocations: 63.86 kB / 0.4906 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002457/0.2278, allocations: 71.75 kB / 0.4906 GB, free: 9.652 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.2279, allocations: 23.97 kB / 0.4906 GB, free: 9.629 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.228, allocations: 27.86 kB / 0.4907 GB, free: 9.602 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000325/0.2324, allocations: 43.89 kB / 0.4907 GB, free: 9.559 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.145e-05/0.2325, allocations: 0 / 0.4907 GB, free: 9.559 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001994/0.2327, allocations: 27.98 kB / 0.4907 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.2328, allocations: 19.92 kB / 0.4908 GB, free: 9.512 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.117e-05/0.2329, allocations: 39.67 kB / 0.4908 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003308/0.2333, allocations: 71.8 kB / 0.4909 GB, free: 9.402 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.24e-05/0.2333, allocations: 3.984 kB / 0.4909 GB, free: 9.398 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.687e-06/0.2333, allocations: 4 kB / 0.4909 GB, free: 9.395 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.2333, allocations: 4 kB / 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.0008535/0.2342, allocations: 391 kB / 0.4913 GB, free: 8.961 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.798e-05/0.2343, allocations: 11.89 kB / 0.4913 GB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.2e-05/0.2344, allocations: 8.844 kB / 0.4913 GB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003291/0.2347, allocations: 196 kB / 0.4915 GB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.2347, allocations: 4.375 kB / 0.4915 GB, free: 8.707 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.158e-05/0.2348, allocations: 384 / 0.4915 GB, free: 8.707 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002198/0.235, allocations: 61.73 kB / 0.4915 GB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.235, allocations: 7.984 kB / 0.4915 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.2351, allocations: 0 / 0.4915 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.2351, allocations: 0 / 0.4915 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000142/0.2352, allocations: 19.98 kB / 0.4916 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005858/0.2358, allocations: 276.8 kB / 0.4918 GB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003362/0.2362, allocations: 50.5 kB / 0.4919 GB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.736e-05/0.2363, allocations: 16.94 kB / 0.4919 GB, free: 8.215 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.853e-05/0.2363, allocations: 0 / 0.4919 GB, free: 8.215 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.2364, allocations: 34.56 kB / 0.4919 GB, free: 8.172 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/0.2364, allocations: 0 / 0.4919 GB, free: 8.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0008928/0.2373, allocations: 145.2 kB / 0.4921 GB, free: 8.023 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.441e-05/0.2374, allocations: 55.41 kB / 0.4921 GB, free: 7.957 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002816/0.2377, allocations: 186.2 kB / 0.4923 GB, free: 7.766 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.2377, allocations: 29.7 kB / 0.4923 GB, free: 7.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.435e-05/0.2378, allocations: 100 kB / 0.4924 GB, free: 7.629 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.7e-05/0.2378, allocations: 19.75 kB / 0.4924 GB, free: 7.609 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.969e-05/0.2379, allocations: 17.72 kB / 0.4924 GB, free: 7.586 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001971/0.2381, allocations: 326.8 kB / 0.4928 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.2382, allocations: 19.98 kB / 0.4928 GB, free: 7.238 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.412e-05/0.2384, allocations: 15.98 kB / 0.4928 GB, free: 7.223 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002078/0.2386, allocations: 52.77 kB / 0.4928 GB, free: 7.168 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2386, allocations: 4.125 kB / 0.4928 GB, free: 7.164 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002781/0.2389, allocations: 77.58 kB / 0.4929 GB, free: 7.082 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/0.2389, allocations: 11.94 kB / 0.4929 GB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.2389, allocations: 0 / 0.4929 GB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.239, allocations: 4 kB / 0.4929 GB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.981e-05/0.2391, allocations: 11.98 kB / 0.4929 GB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.2391, allocations: 4 kB / 0.4929 GB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.66e-05/0.2392, allocations: 0 / 0.4929 GB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.2392, allocations: 4 kB / 0.4929 GB, free: 7.047 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 0.0001621/0.2394, allocations: 133.7 kB / 0.4931 GB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.81e-05/0.2394, allocations: 11.84 kB / 0.4931 GB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003554/0.2398, allocations: 93.95 kB / 0.4932 GB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.2398, allocations: 0 / 0.4932 GB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.2398, allocations: 0 / 0.4932 GB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.2398, allocations: 0 / 0.4932 GB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008632/0.2407, allocations: 354.4 kB / 0.4935 GB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.2407, allocations: 0 / 0.4935 GB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.205e-05/0.2408, allocations: 15.98 kB / 0.4935 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.2409, allocations: 0 / 0.4935 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.2409, allocations: 4 kB / 0.4935 GB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.421e-06/0.2409, allocations: 3.938 kB / 0.4935 GB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.2409, allocations: 0 / 0.4935 GB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003851/0.2413, allocations: 179.5 kB / 0.4937 GB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.416e-05/0.2414, allocations: 85.02 kB / 0.4938 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.004e-05/0.2415, allocations: 0 / 0.4938 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.2416, allocations: 15.92 kB / 0.4938 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.724e-05/0.2417, allocations: 7.938 kB / 0.4938 GB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.2417, allocations: 4 kB / 0.4938 GB, free: 6.047 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002041/0.2419, allocations: 144 kB / 0.494 GB, free: 5.906 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.242, allocations: 0 / 0.494 GB, free: 5.906 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004809/0.2424, allocations: 16 kB / 0.494 GB, free: 5.891 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.001551/0.244, allocations: 408.7 kB / 0.4944 GB, free: 5.523 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003288/0.2444, allocations: 51.97 kB / 0.4944 GB, free: 5.473 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.2444, allocations: 0 / 0.4944 GB, free: 5.473 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.2445, allocations: 27.92 kB / 0.4944 GB, free: 5.445 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006328/0.2451, allocations: 15.88 kB / 0.4945 GB, free: 5.434 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000735/0.2459, allocations: 231.6 kB / 0.4947 GB, free: 5.176 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004463/0.2464, allocations: 0.7002 MB / 0.4954 GB, free: 4.449 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.475e-05/0.2464, allocations: 19.44 kB / 0.4954 GB, free: 4.43 MB / 382.1 MB Notification: Performance of SimCode: time 6.62e-07/0.2465, allocations: 0 / 0.4954 GB, free: 4.43 MB / 382.1 MB Notification: Performance of Templates: time 0.009795/0.2563, allocations: 1.461 MB / 0.4968 GB, free: 2.973 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches