Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009755/0.0009754, allocations: 179.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.236/1.236, allocations: 221.3 MB / 236 MB, free: 2.953 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008419/0.0008421, allocations: 82.94 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1803/0.1803, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.531e-05/3.534e-05, allocations: 4.219 kB / 451.8 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1097, allocations: 61.91 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3442/0.4539, allocations: 88.08 MB / 0.5877 GB, free: 1.242 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/0.4542, allocations: 71.97 kB / 0.5878 GB, free: 1.172 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01074/0.465, allocations: 4.289 MB / 0.592 GB, free: 12.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.465, allocations: 0 / 0.592 GB, free: 12.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.465, allocations: 3.984 kB / 0.592 GB, free: 12.89 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003997/0.4654, allocations: 390.2 kB / 0.5924 GB, free: 12.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.4655, allocations: 8.031 kB / 0.5924 GB, free: 12.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.987e-05/0.4655, allocations: 7.906 kB / 0.5924 GB, free: 12.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000254/0.4658, allocations: 202.9 kB / 0.5926 GB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.4658, allocations: 3.938 kB / 0.5926 GB, free: 12.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.4658, allocations: 11.84 kB / 0.5926 GB, free: 12.19 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.466, allocations: 57.56 kB / 0.5926 GB, free: 12.13 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.466, allocations: 0 / 0.5926 GB, free: 12.13 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.466, allocations: 4 kB / 0.5926 GB, free: 12.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.466, allocations: 4 kB / 0.5926 GB, free: 12.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.059e-05/0.4661, allocations: 19.98 kB / 0.5927 GB, free: 12.1 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004209/0.4665, allocations: 300.8 kB / 0.5929 GB, free: 11.76 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.443e-05/0.4666, allocations: 50.48 kB / 0.593 GB, free: 11.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.865e-05/0.4666, allocations: 8.859 kB / 0.593 GB, free: 11.69 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.4666, allocations: 0 / 0.593 GB, free: 11.69 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.4667, allocations: 38.56 kB / 0.593 GB, free: 11.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.4667, allocations: 4 kB / 0.593 GB, free: 11.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005164/0.4672, allocations: 165.2 kB / 0.5932 GB, free: 11.47 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.4672, allocations: 51.41 kB / 0.5932 GB, free: 11.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.4674, allocations: 181.4 kB / 0.5934 GB, free: 11.22 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.4675, allocations: 25.7 kB / 0.5934 GB, free: 11.19 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.912e-05/0.4675, allocations: 100.1 kB / 0.5935 GB, free: 11.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.534e-05/0.4676, allocations: 31.62 kB / 0.5936 GB, free: 11.06 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-06/0.4676, allocations: 4 kB / 0.5936 GB, free: 11.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.4677, allocations: 330.8 kB / 0.5939 GB, free: 10.72 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.453e-05/0.4677, allocations: 16 kB / 0.5939 GB, free: 10.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.695e-05/0.4678, allocations: 23.98 kB / 0.5939 GB, free: 10.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.549e-05/0.4678, allocations: 28.16 kB / 0.594 GB, free: 10.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.4678, allocations: 4 kB / 0.594 GB, free: 10.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001339/0.468, allocations: 93.48 kB / 0.594 GB, free: 10.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.468, allocations: 4.938 kB / 0.5941 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.468, allocations: 0 / 0.5941 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.468, allocations: 0 / 0.5941 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.4681, allocations: 23.98 kB / 0.5941 GB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.4682, allocations: 0 / 0.5941 GB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.754e-05/0.4682, allocations: 15.98 kB / 0.5941 GB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.4682, allocations: 0 / 0.5941 GB, free: 10.51 MB / 410.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 (8): * Single equations (assignments): 8 * 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 6.24e-05/0.4683, allocations: 112.9 kB / 0.5942 GB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.117e-05/0.4683, allocations: 11.84 kB / 0.5942 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000194/0.4685, allocations: 114.3 kB / 0.5943 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.4685, allocations: 4 kB / 0.5943 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.4686, allocations: 0 / 0.5943 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.4686, allocations: 0 / 0.5943 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004393/0.469, allocations: 411.2 kB / 0.5947 GB, free: 9.805 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.469, allocations: 0 / 0.5947 GB, free: 9.805 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.767e-05/0.4691, allocations: 19.98 kB / 0.5947 GB, free: 9.785 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.4691, allocations: 7.969 kB / 0.5947 GB, free: 9.777 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.4691, allocations: 11.94 kB / 0.5948 GB, free: 9.766 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.4691, allocations: 0 / 0.5948 GB, free: 9.766 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.4691, allocations: 0 / 0.5948 GB, free: 9.766 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001932/0.4693, allocations: 206 kB / 0.5949 GB, free: 9.539 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.527e-05/0.4694, allocations: 100.9 kB / 0.595 GB, free: 9.422 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.4695, allocations: 4 kB / 0.595 GB, free: 9.418 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.426e-05/0.4695, allocations: 8 kB / 0.5951 GB, free: 9.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.688e-05/0.4696, allocations: 15.94 kB / 0.5951 GB, free: 9.395 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.4696, allocations: 4 kB / 0.5951 GB, free: 9.391 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001204/0.4697, allocations: 152.1 kB / 0.5952 GB, free: 9.242 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4697, allocations: 0 / 0.5952 GB, free: 9.242 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002328/0.47, allocations: 31.94 kB / 0.5953 GB, free: 9.211 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0009438/0.4709, allocations: 422.2 kB / 0.5957 GB, free: 8.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001292/0.4711, allocations: 55.98 kB / 0.5957 GB, free: 8.855 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.4711, allocations: 0 / 0.5957 GB, free: 8.855 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.201e-05/0.4711, allocations: 39.92 kB / 0.5957 GB, free: 8.816 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/0.4713, allocations: 8 kB / 0.5958 GB, free: 8.809 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003708/0.4717, allocations: 187.8 kB / 0.5959 GB, free: 8.594 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.472, allocations: 0.716 MB / 0.5966 GB, free: 7.852 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.991e-05/0.4721, allocations: 28.95 kB / 0.5967 GB, free: 7.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.718e-05/0.4721, allocations: 15.44 kB / 0.5967 GB, free: 7.805 MB / 410.7 MB Notification: Performance of SimCode: time 3.61e-07/0.4721, allocations: 0 / 0.5967 GB, free: 7.805 MB / 410.7 MB Notification: Performance of Templates: time 0.003378/0.4755, allocations: 1.374 MB / 0.598 GB, free: 6.434 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches