Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 180.7 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.311/1.311, allocations: 221.3 MB / 236 MB, free: 2.969 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.0007682/0.0007683, allocations: 91.8 kB / 287 MB, free: 260 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.1765/0.1765, allocations: 44.16 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.111e-05/3.118e-05, allocations: 4 kB / 451.8 MB, free: 9.453 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1184, allocations: 61.92 MB / 0.5017 GB, free: 11.48 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3658/0.4843, allocations: 88.27 MB / 0.5879 GB, free: 1.066 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001769/0.4845, allocations: 75.95 kB / 0.588 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01005/0.4946, allocations: 4.3 MB / 0.5922 GB, free: 12.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4946, allocations: 0 / 0.5922 GB, free: 12.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.4947, allocations: 0 / 0.5922 GB, free: 12.7 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003905/0.4951, allocations: 366.4 kB / 0.5925 GB, free: 12.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.4951, allocations: 8.031 kB / 0.5925 GB, free: 12.29 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.242e-05/0.4951, allocations: 7.906 kB / 0.5925 GB, free: 12.29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.4954, allocations: 187 kB / 0.5927 GB, free: 12.06 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.4954, allocations: 0 / 0.5927 GB, free: 12.06 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.4954, allocations: 0 / 0.5927 GB, free: 12.06 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.4955, allocations: 67.36 kB / 0.5928 GB, free: 11.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.4955, allocations: 0 / 0.5928 GB, free: 11.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.4956, allocations: 0 / 0.5928 GB, free: 11.98 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-06/0.4956, allocations: 0 / 0.5928 GB, free: 11.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.965e-05/0.4956, allocations: 19.94 kB / 0.5928 GB, free: 11.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003527/0.496, allocations: 292.8 kB / 0.5931 GB, free: 11.63 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.4961, allocations: 38.58 kB / 0.5931 GB, free: 11.58 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.601e-05/0.4962, allocations: 16.84 kB / 0.5931 GB, free: 11.56 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.4962, allocations: 96 / 0.5931 GB, free: 11.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.4962, allocations: 38.48 kB / 0.5932 GB, free: 11.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.4962, allocations: 0 / 0.5932 GB, free: 11.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003525/0.4966, allocations: 109.4 kB / 0.5933 GB, free: 11.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.4967, allocations: 89.05 kB / 0.5934 GB, free: 11.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.943e-05/0.4968, allocations: 122.4 kB / 0.5935 GB, free: 11.17 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.4968, allocations: 25.7 kB / 0.5935 GB, free: 11.14 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.176e-05/0.4968, allocations: 92.14 kB / 0.5936 GB, free: 11.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.801e-05/0.4969, allocations: 11.75 kB / 0.5936 GB, free: 11.04 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-06/0.4969, allocations: 0 / 0.5936 GB, free: 11.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.688e-05/0.497, allocations: 322.8 kB / 0.5939 GB, free: 10.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.432e-05/0.497, allocations: 12 kB / 0.5939 GB, free: 10.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.368e-05/0.497, allocations: 29.7 kB / 0.5939 GB, free: 10.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.973e-05/0.4971, allocations: 15.95 kB / 0.594 GB, free: 10.65 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.4971, allocations: 0 / 0.594 GB, free: 10.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000101/0.4972, allocations: 69.59 kB / 0.594 GB, free: 10.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.4972, allocations: 4 kB / 0.594 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.454e-06/0.4972, allocations: 0 / 0.594 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.4972, allocations: 0 / 0.594 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.48e-05/0.4973, allocations: 20.17 kB / 0.5941 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.407e-06/0.4973, allocations: 0 / 0.5941 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.471e-05/0.4974, allocations: 20.02 kB / 0.5941 GB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.4974, allocations: 0 / 0.5941 GB, free: 10.53 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 (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 5.491e-05/0.4974, allocations: 108.9 kB / 0.5942 GB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.651e-05/0.4975, allocations: 7.906 kB / 0.5942 GB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000137/0.4976, allocations: 77.7 kB / 0.5943 GB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.4976, allocations: 0 / 0.5943 GB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.4976, allocations: 4 kB / 0.5943 GB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.4976, allocations: 0 / 0.5943 GB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003276/0.498, allocations: 342.5 kB / 0.5946 GB, free: 9.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.498, allocations: 0 / 0.5946 GB, free: 9.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.603e-05/0.498, allocations: 12 kB / 0.5946 GB, free: 9.918 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.4981, allocations: 3.938 kB / 0.5946 GB, free: 9.914 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-06/0.4981, allocations: 0 / 0.5946 GB, free: 9.914 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.4981, allocations: 4 kB / 0.5946 GB, free: 9.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4981, allocations: 0 / 0.5946 GB, free: 9.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/0.4982, allocations: 179.3 kB / 0.5948 GB, free: 9.719 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.245e-05/0.4983, allocations: 81.02 kB / 0.5949 GB, free: 9.621 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.4983, allocations: 4 kB / 0.5949 GB, free: 9.617 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.103e-05/0.4984, allocations: 7.984 kB / 0.5949 GB, free: 9.609 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.604e-05/0.4984, allocations: 8 kB / 0.5949 GB, free: 9.602 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.4984, allocations: 0 / 0.5949 GB, free: 9.602 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.085e-05/0.4985, allocations: 107 kB / 0.595 GB, free: 9.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4985, allocations: 0 / 0.595 GB, free: 9.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000241/0.4988, allocations: 35.98 kB / 0.595 GB, free: 9.465 MB / 410.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.0008482/0.4996, allocations: 415.1 kB / 0.5954 GB, free: 9.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.206e-05/0.4997, allocations: 32 kB / 0.5954 GB, free: 9.129 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.4997, allocations: 4 kB / 0.5954 GB, free: 9.125 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.452e-05/0.4998, allocations: 20 kB / 0.5955 GB, free: 9.105 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001531/0.4999, allocations: 11.94 kB / 0.5955 GB, free: 9.094 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002287/0.5002, allocations: 105.5 kB / 0.5956 GB, free: 8.965 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.5005, allocations: 0.7004 MB / 0.5963 GB, free: 8.238 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.61e-05/0.5005, allocations: 16.17 kB / 0.5963 GB, free: 8.223 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.876e-05/0.5006, allocations: 15.44 kB / 0.5963 GB, free: 8.207 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5006, allocations: 0 / 0.5963 GB, free: 8.207 MB / 410.7 MB Notification: Performance of Templates: time 0.003001/0.5036, allocations: 1.291 MB / 0.5975 GB, free: 6.922 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches