Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,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.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002158/0.002158, allocations: 116.2 kB / 17.08 MB, free: 5.953 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.00265/0.00265, allocations: 200.1 kB / 18.01 MB, free: 5.039 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.062/3.062, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.4853/0.4853, 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.00313/0.00313, allocations: 69.47 kB / 442.5 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2212, allocations: 57.79 MB / 0.4885 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.006445/0.2277, allocations: 1.551 MB / 0.4901 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002559/0.2303, allocations: 0.9339 MB / 0.491 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.2305, allocations: 7.938 kB / 0.491 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004257/0.231, allocations: 31.8 kB / 0.491 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003906/0.2314, allocations: 35.84 kB / 0.491 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004811/0.2319, allocations: 71.78 kB / 0.4911 GB, free: 9.121 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002817/0.2322, allocations: 55.89 kB / 0.4912 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001677/0.2324, allocations: 19.91 kB / 0.4912 GB, free: 9.047 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.454e-05/0.2325, allocations: 15.94 kB / 0.4912 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002496/0.2328, allocations: 35.83 kB / 0.4912 GB, free: 8.996 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.112e-05/0.2329, allocations: 7.938 kB / 0.4912 GB, free: 8.988 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002345/0.2331, allocations: 47.98 kB / 0.4913 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.928e-05/0.2332, allocations: 8 kB / 0.4913 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.206e-05/0.2333, allocations: 23.84 kB / 0.4913 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004033/0.2337, allocations: 87.78 kB / 0.4914 GB, free: 8.824 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.2337, allocations: 0 / 0.4914 GB, free: 8.824 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.2337, allocations: 0 / 0.4914 GB, free: 8.824 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.2337, allocations: 0 / 0.4914 GB, free: 8.824 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.000843/0.2346, allocations: 387.1 kB / 0.4918 GB, free: 8.398 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.381e-05/0.2347, allocations: 11.89 kB / 0.4918 GB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.848e-05/0.2348, allocations: 8.875 kB / 0.4918 GB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003106/0.2351, allocations: 188.2 kB / 0.492 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.2352, allocations: 384 / 0.492 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.169e-05/0.2352, allocations: 4.375 kB / 0.492 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002774/0.2355, allocations: 67.52 kB / 0.492 GB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.2356, allocations: 0 / 0.492 GB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.2356, allocations: 4 kB / 0.492 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.2356, allocations: 3.984 kB / 0.492 GB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.2358, allocations: 23.92 kB / 0.4921 GB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000564/0.2363, allocations: 272.9 kB / 0.4923 GB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000339/0.2367, allocations: 38.56 kB / 0.4924 GB, free: 7.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.02e-05/0.2368, allocations: 20.94 kB / 0.4924 GB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.544e-05/0.2369, allocations: 4 kB / 0.4924 GB, free: 7.652 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.253e-05/0.2369, allocations: 34.56 kB / 0.4924 GB, free: 7.609 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.693e-06/0.2369, allocations: 3.938 kB / 0.4924 GB, free: 7.605 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0009626/0.2379, allocations: 129.4 kB / 0.4925 GB, free: 7.473 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.238, allocations: 81.11 kB / 0.4926 GB, free: 7.375 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002026/0.2383, allocations: 137.8 kB / 0.4928 GB, free: 7.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.107e-05/0.2383, allocations: 25.7 kB / 0.4928 GB, free: 7.199 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.079e-05/0.2384, allocations: 96.05 kB / 0.4929 GB, free: 7.102 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.469e-05/0.2385, allocations: 19.8 kB / 0.4929 GB, free: 7.082 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.119e-05/0.2385, allocations: 13.72 kB / 0.4929 GB, free: 7.062 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.2387, allocations: 322.8 kB / 0.4932 GB, free: 6.738 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.2389, allocations: 23.92 kB / 0.4932 GB, free: 6.715 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.239, allocations: 37.77 kB / 0.4933 GB, free: 6.672 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/0.2392, allocations: 44.78 kB / 0.4933 GB, free: 6.625 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2392, allocations: 0 / 0.4933 GB, free: 6.625 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003193/0.2396, allocations: 81.56 kB / 0.4934 GB, free: 6.539 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.186e-05/0.2396, allocations: 11.94 kB / 0.4934 GB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.2396, allocations: 0 / 0.4934 GB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.564e-05/0.2397, allocations: 4.031 kB / 0.4934 GB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.2398, allocations: 11.98 kB / 0.4934 GB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.2398, allocations: 0 / 0.4934 GB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.798e-05/0.2399, allocations: 4 kB / 0.4934 GB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/0.2399, allocations: 4 kB / 0.4934 GB, free: 6.504 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.0001347/0.2401, allocations: 125.7 kB / 0.4935 GB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.43e-05/0.2402, allocations: 0 / 0.4935 GB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003704/0.2405, allocations: 97.52 kB / 0.4936 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.2406, allocations: 3.938 kB / 0.4936 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.128e-06/0.2406, allocations: 3.984 kB / 0.4936 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.2406, allocations: 0 / 0.4936 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007098/0.2413, allocations: 342.8 kB / 0.494 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.2413, allocations: 64 / 0.494 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.731e-05/0.2414, allocations: 15.98 kB / 0.494 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.249e-06/0.2414, allocations: 0 / 0.494 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.2415, allocations: 8 kB / 0.494 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.2415, allocations: 3.938 kB / 0.494 GB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2415, allocations: 0 / 0.494 GB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004031/0.2419, allocations: 175.5 kB / 0.4942 GB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.045e-05/0.242, allocations: 81.02 kB / 0.4942 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.163e-05/0.242, allocations: 0 / 0.4942 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.2422, allocations: 11.94 kB / 0.4943 GB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.523e-05/0.2423, allocations: 11.98 kB / 0.4943 GB, free: 5.531 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.2423, allocations: 0 / 0.4943 GB, free: 5.531 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000145/0.2424, allocations: 103.3 kB / 0.4944 GB, free: 5.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.2425, allocations: 0 / 0.4944 GB, free: 5.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005104/0.243, allocations: 24 kB / 0.4944 GB, free: 5.406 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.001808/0.2448, allocations: 451.7 kB / 0.4948 GB, free: 5.008 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003446/0.2452, allocations: 51.89 kB / 0.4949 GB, free: 4.957 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.2452, allocations: 3.938 kB / 0.4949 GB, free: 4.953 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.2453, allocations: 23.98 kB / 0.4949 GB, free: 4.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006268/0.246, allocations: 19.84 kB / 0.4949 GB, free: 4.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006461/0.2466, allocations: 183.1 kB / 0.4951 GB, free: 4.699 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004442/0.2471, allocations: 0.6846 MB / 0.4958 GB, free: 3.988 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.182e-05/0.2472, allocations: 23.36 kB / 0.4958 GB, free: 3.965 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2472, allocations: 0 / 0.4958 GB, free: 3.965 MB / 382.1 MB Notification: Performance of Templates: time 0.006873/0.2541, allocations: 1.551 MB / 0.4973 GB, free: 2.418 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches