Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.Tables.CombiTable1D.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002329/0.002329, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.143/2.143, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001026/0.001026, allocations: 90.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3036/0.3036, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.378e-05/3.396e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1178, allocations: 58.86 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.552/0.6698, allocations: 86.36 MB / 0.5571 GB, free: 1.207 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/0.6701, allocations: 71.53 kB / 0.5572 GB, free: 1.172 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01472/0.6848, allocations: 3.627 MB / 0.5607 GB, free: 14.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.6849, allocations: 0 / 0.5607 GB, free: 14.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.242e-05/0.6849, allocations: 0 / 0.5607 GB, free: 14.09 MB / 378.7 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.0004436/0.6854, allocations: 368.6 kB / 0.5611 GB, free: 13.69 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.6854, allocations: 20.02 kB / 0.5611 GB, free: 13.67 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.495e-05/0.6855, allocations: 7.906 kB / 0.5611 GB, free: 13.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002726/0.6858, allocations: 192.9 kB / 0.5613 GB, free: 13.44 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.6858, allocations: 0 / 0.5613 GB, free: 13.44 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.6858, allocations: 7.984 kB / 0.5613 GB, free: 13.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.6859, allocations: 39.83 kB / 0.5614 GB, free: 13.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.686, allocations: 0 / 0.5614 GB, free: 13.39 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.686, allocations: 0 / 0.5614 GB, free: 13.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.686, allocations: 0 / 0.5614 GB, free: 13.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.323e-05/0.6861, allocations: 22.48 kB / 0.5614 GB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005052/0.6866, allocations: 297.8 kB / 0.5617 GB, free: 13.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002154/0.6868, allocations: 37.81 kB / 0.5617 GB, free: 13.01 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.312e-05/0.6869, allocations: 12.36 kB / 0.5617 GB, free: 13 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.6869, allocations: 0 / 0.5617 GB, free: 13 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.687, allocations: 38.56 kB / 0.5617 GB, free: 12.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.687, allocations: 0 / 0.5617 GB, free: 12.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005132/0.6875, allocations: 117.2 kB / 0.5619 GB, free: 12.85 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.6876, allocations: 55.41 kB / 0.5619 GB, free: 12.78 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002079/0.6878, allocations: 145.2 kB / 0.562 GB, free: 12.65 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.6878, allocations: 29.7 kB / 0.5621 GB, free: 12.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.922e-05/0.6879, allocations: 165.1 kB / 0.5622 GB, free: 12.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.567e-05/0.688, allocations: 27.08 kB / 0.5623 GB, free: 12.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.834e-06/0.688, allocations: 0 / 0.5623 GB, free: 12.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.6881, allocations: 314.8 kB / 0.5626 GB, free: 12.12 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.394e-05/0.6882, allocations: 11.5 kB / 0.5626 GB, free: 12.11 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.178e-05/0.6882, allocations: 14.56 kB / 0.5626 GB, free: 12.1 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.75e-05/0.6883, allocations: 11.3 kB / 0.5626 GB, free: 12.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.6883, allocations: 4 kB / 0.5626 GB, free: 12.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001505/0.6884, allocations: 59.31 kB / 0.5627 GB, free: 12.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.6885, allocations: 7.938 kB / 0.5627 GB, free: 12.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.6885, allocations: 4 kB / 0.5627 GB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.6885, allocations: 3.953 kB / 0.5627 GB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.6887, allocations: 15.98 kB / 0.5627 GB, free: 12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.6887, allocations: 0 / 0.5627 GB, free: 12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.754e-05/0.6888, allocations: 8.25 kB / 0.5627 GB, free: 12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.6888, allocations: 0 / 0.5627 GB, free: 12 MB / 378.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.792e-05/0.6889, allocations: 110.5 kB / 0.5628 GB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.742e-05/0.6889, allocations: 19.89 kB / 0.5628 GB, free: 11.87 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002263/0.6892, allocations: 80.52 kB / 0.5629 GB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.6892, allocations: 3.953 kB / 0.5629 GB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.6892, allocations: 0 / 0.5629 GB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.6892, allocations: 0 / 0.5629 GB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004952/0.6897, allocations: 343.1 kB / 0.5632 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.6897, allocations: 0 / 0.5632 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.6899, allocations: 12 kB / 0.5632 GB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.201e-06/0.6899, allocations: 7.953 kB / 0.5632 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.6899, allocations: 0 / 0.5632 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.6899, allocations: 0 / 0.5632 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.6899, allocations: 4 kB / 0.5632 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002113/0.6901, allocations: 168.8 kB / 0.5634 GB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.936e-05/0.6902, allocations: 88.52 kB / 0.5635 GB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.03e-05/0.6903, allocations: 3.953 kB / 0.5635 GB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.6904, allocations: 11.98 kB / 0.5635 GB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.6905, allocations: 4 kB / 0.5635 GB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.6905, allocations: 0 / 0.5635 GB, free: 11.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001494/0.6906, allocations: 129.2 kB / 0.5636 GB, free: 11 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.645e-06/0.6907, allocations: 0 / 0.5636 GB, free: 11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003213/0.691, allocations: 27.5 kB / 0.5637 GB, free: 10.98 MB / 378.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001056/0.6921, allocations: 359.2 kB / 0.564 GB, free: 10.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001508/0.6922, allocations: 38 kB / 0.564 GB, free: 10.65 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.6923, allocations: 0 / 0.564 GB, free: 10.65 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.038e-05/0.6923, allocations: 19.17 kB / 0.5641 GB, free: 10.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.6926, allocations: 25.72 kB / 0.5641 GB, free: 10.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004358/0.6931, allocations: 161 kB / 0.5642 GB, free: 10.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.6934, allocations: 0.7055 MB / 0.5649 GB, free: 9.719 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.89e-05/0.6935, allocations: 15.44 kB / 0.5649 GB, free: 9.703 MB / 378.7 MB Notification: Performance of SimCode: time 8.71e-07/0.6935, allocations: 7.938 kB / 0.5649 GB, free: 9.695 MB / 378.7 MB Notification: Performance of Templates: time 0.004345/0.6979, allocations: 1.474 MB / 0.5664 GB, free: 8.227 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches