Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.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.Test12,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.CombiTable1D.Test12") translateModel(ModelicaTest.Tables.CombiTable1D.Test12,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.CombiTable1D.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001926/0.001926, allocations: 113.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.002371/0.002371, 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 2.831/2.831, 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.4961/0.4961, allocations: 43.52 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.002641/0.002641, allocations: 75.89 kB / 442.5 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.2171, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test12): time 0.00606/0.2233, allocations: 1.551 MB / 0.4901 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001287/0.2246, allocations: 319.5 kB / 0.4904 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.176e-05/0.2247, allocations: 8 kB / 0.4904 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003722/0.2251, allocations: 35.83 kB / 0.4904 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003588/0.2256, allocations: 31.86 kB / 0.4904 GB, free: 9.852 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006393/0.2262, allocations: 95.73 kB / 0.4905 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002207/0.2265, allocations: 55.84 kB / 0.4906 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.2266, allocations: 23.97 kB / 0.4906 GB, free: 9.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.054e-05/0.2267, allocations: 19.86 kB / 0.4906 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.667e-05/0.2268, allocations: 19.92 kB / 0.4906 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.662e-05/0.2269, allocations: 4 kB / 0.4906 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.227, allocations: 27.98 kB / 0.4907 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.366e-05/0.2271, allocations: 15.94 kB / 0.4907 GB, free: 9.594 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.357e-05/0.2272, allocations: 31.72 kB / 0.4907 GB, free: 9.562 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004983/0.2277, allocations: 71.8 kB / 0.4908 GB, free: 9.492 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.026e-06/0.2277, allocations: 0 / 0.4908 GB, free: 9.492 MB / 382.1 MB Notification: Performance of FrontEnd: time 6.092e-06/0.2277, allocations: 4 kB / 0.4908 GB, free: 9.488 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.2278, allocations: 3.938 kB / 0.4908 GB, free: 9.484 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.0008614/0.2286, allocations: 383.1 kB / 0.4912 GB, free: 9.062 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.376e-05/0.2287, allocations: 15.89 kB / 0.4912 GB, free: 9.047 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.628e-05/0.2288, allocations: 8.844 kB / 0.4912 GB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003186/0.2291, allocations: 191.6 kB / 0.4914 GB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.2292, allocations: 384 / 0.4914 GB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.28e-05/0.2292, allocations: 8.375 kB / 0.4914 GB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002281/0.2295, allocations: 53.75 kB / 0.4914 GB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.2295, allocations: 0 / 0.4914 GB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.2295, allocations: 4 kB / 0.4914 GB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.2295, allocations: 0 / 0.4914 GB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001698/0.2297, allocations: 23.97 kB / 0.4915 GB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007031/0.2304, allocations: 284.8 kB / 0.4917 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004102/0.2309, allocations: 54.5 kB / 0.4918 GB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.83e-05/0.231, allocations: 12.94 kB / 0.4918 GB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.009e-05/0.231, allocations: 4 kB / 0.4918 GB, free: 8.312 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.708e-05/0.2311, allocations: 38.56 kB / 0.4918 GB, free: 8.266 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 4.979e-06/0.2311, allocations: 3.984 kB / 0.4918 GB, free: 8.262 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.001032/0.2322, allocations: 149.3 kB / 0.492 GB, free: 8.109 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.592e-05/0.2322, allocations: 51.41 kB / 0.492 GB, free: 8.047 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002826/0.2325, allocations: 165.8 kB / 0.4922 GB, free: 7.875 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.2326, allocations: 25.7 kB / 0.4922 GB, free: 7.844 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.088e-05/0.2327, allocations: 96.08 kB / 0.4923 GB, free: 7.746 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.703e-05/0.2327, allocations: 19.8 kB / 0.4923 GB, free: 7.727 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.089e-05/0.2328, allocations: 13.72 kB / 0.4923 GB, free: 7.707 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.233, allocations: 330.7 kB / 0.4926 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.2331, allocations: 19.98 kB / 0.4927 GB, free: 7.355 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.2333, allocations: 23.98 kB / 0.4927 GB, free: 7.332 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002531/0.2336, allocations: 52.77 kB / 0.4927 GB, free: 7.277 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2336, allocations: 0 / 0.4927 GB, free: 7.277 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003438/0.2339, allocations: 89.56 kB / 0.4928 GB, free: 7.184 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/0.234, allocations: 7.938 kB / 0.4928 GB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.234, allocations: 4 kB / 0.4928 GB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/0.234, allocations: 0 / 0.4928 GB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.2342, allocations: 15.98 kB / 0.4928 GB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.629e-06/0.2342, allocations: 0 / 0.4928 GB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.707e-05/0.2343, allocations: 0 / 0.4928 GB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.2343, allocations: 4 kB / 0.4929 GB, free: 7.152 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.0001627/0.2345, allocations: 133.7 kB / 0.493 GB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.85e-05/0.2346, allocations: 7.906 kB / 0.493 GB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004107/0.235, allocations: 97.91 kB / 0.4931 GB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.235, allocations: 0 / 0.4931 GB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.235, allocations: 4.312 kB / 0.4931 GB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.235, allocations: 3.984 kB / 0.4931 GB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007833/0.2358, allocations: 358.4 kB / 0.4934 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.2359, allocations: 0 / 0.4934 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.236, allocations: 19.98 kB / 0.4935 GB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.236, allocations: 0 / 0.4935 GB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.236, allocations: 0 / 0.4935 GB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.297e-06/0.2361, allocations: 3.938 kB / 0.4935 GB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.2361, allocations: 0 / 0.4935 GB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004196/0.2365, allocations: 179.4 kB / 0.4936 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.747e-05/0.2366, allocations: 77.11 kB / 0.4937 GB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.59e-05/0.2367, allocations: 12 kB / 0.4937 GB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.2368, allocations: 7.922 kB / 0.4937 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.979e-05/0.2369, allocations: 7.938 kB / 0.4937 GB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.617e-06/0.2369, allocations: 0 / 0.4937 GB, free: 6.148 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001997/0.2371, allocations: 130.7 kB / 0.4938 GB, free: 6.023 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.2371, allocations: 0 / 0.4938 GB, free: 6.023 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005163/0.2377, allocations: 19.98 kB / 0.4939 GB, free: 6.004 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.00175/0.2394, allocations: 420.5 kB / 0.4943 GB, free: 5.629 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003712/0.2398, allocations: 51.95 kB / 0.4943 GB, free: 5.578 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.2399, allocations: 0 / 0.4943 GB, free: 5.578 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00015/0.24, allocations: 27.92 kB / 0.4943 GB, free: 5.551 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006317/0.2407, allocations: 27.11 kB / 0.4944 GB, free: 5.527 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000787/0.2415, allocations: 219.7 kB / 0.4946 GB, free: 5.281 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005387/0.242, allocations: 0.7002 MB / 0.4953 GB, free: 4.555 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.436e-05/0.2421, allocations: 11.44 kB / 0.4953 GB, free: 4.543 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.2422, allocations: 0 / 0.4953 GB, free: 4.543 MB / 382.1 MB Notification: Performance of Templates: time 0.006725/0.2489, allocations: 1.446 MB / 0.4967 GB, free: 3.098 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches