Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 179.5 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.255/1.255, allocations: 221.3 MB / 236 MB, free: 2.949 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.0007894/0.0007894, allocations: 91.8 kB / 287 MB, free: 248 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.2027/0.2027, allocations: 44.16 MB / 382.1 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.056e-05/4.06e-05, allocations: 8.219 kB / 451.8 MB, free: 9.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1109, allocations: 61.91 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3752/0.4862, allocations: 87.98 MB / 0.5876 GB, free: 1.309 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001805/0.4864, allocations: 67.97 kB / 0.5877 GB, free: 1.242 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009001/0.4954, allocations: 3.696 MB / 0.5913 GB, free: 13.56 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.4955, allocations: 0 / 0.5913 GB, free: 13.56 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.4955, allocations: 3.984 kB / 0.5913 GB, free: 13.55 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.000303/0.4958, allocations: 358.5 kB / 0.5917 GB, free: 13.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.4958, allocations: 8.031 kB / 0.5917 GB, free: 13.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.512e-05/0.4959, allocations: 7.906 kB / 0.5917 GB, free: 13.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000242/0.4961, allocations: 200.4 kB / 0.5919 GB, free: 12.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.4962, allocations: 4 kB / 0.5919 GB, free: 12.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.553e-05/0.4962, allocations: 0 / 0.5919 GB, free: 12.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.854e-05/0.4963, allocations: 45.66 kB / 0.5919 GB, free: 12.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.4963, allocations: 0 / 0.5919 GB, free: 12.86 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.4963, allocations: 0 / 0.5919 GB, free: 12.86 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.4963, allocations: 0 / 0.5919 GB, free: 12.86 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.419e-05/0.4964, allocations: 15.98 kB / 0.5919 GB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003364/0.4967, allocations: 284.9 kB / 0.5922 GB, free: 12.51 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.4969, allocations: 46.5 kB / 0.5922 GB, free: 12.46 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.478e-05/0.4969, allocations: 8.859 kB / 0.5922 GB, free: 12.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.497, allocations: 3.938 kB / 0.5922 GB, free: 12.44 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.497, allocations: 30.56 kB / 0.5923 GB, free: 12.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.497, allocations: 7.938 kB / 0.5923 GB, free: 12.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003757/0.4974, allocations: 121.4 kB / 0.5924 GB, free: 12.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.4974, allocations: 51.41 kB / 0.5924 GB, free: 12.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.4975, allocations: 133.9 kB / 0.5926 GB, free: 12.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.4976, allocations: 25.7 kB / 0.5926 GB, free: 12.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.995e-05/0.4976, allocations: 96.12 kB / 0.5927 GB, free: 11.94 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.4976, allocations: 11.72 kB / 0.5927 GB, free: 11.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-06/0.4976, allocations: 8 kB / 0.5927 GB, free: 11.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.805e-05/0.4977, allocations: 322.8 kB / 0.593 GB, free: 11.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.56e-05/0.4978, allocations: 12 kB / 0.593 GB, free: 11.58 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.15e-05/0.4978, allocations: 12 kB / 0.593 GB, free: 11.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.209e-05/0.4978, allocations: 19.98 kB / 0.5931 GB, free: 11.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.4978, allocations: 3.938 kB / 0.5931 GB, free: 11.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.302e-05/0.4979, allocations: 57.69 kB / 0.5931 GB, free: 11.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.498, allocations: 8 kB / 0.5931 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.498, allocations: 0 / 0.5931 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.498, allocations: 0 / 0.5931 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.915e-05/0.4981, allocations: 19.98 kB / 0.5931 GB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.4981, allocations: 0 / 0.5931 GB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.066e-05/0.4981, allocations: 4 kB / 0.5932 GB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.4981, allocations: 4 kB / 0.5932 GB, free: 11.45 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.244e-05/0.4982, allocations: 108.9 kB / 0.5933 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.914e-05/0.4982, allocations: 12.03 kB / 0.5933 GB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001439/0.4984, allocations: 85.7 kB / 0.5934 GB, free: 11.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.4984, allocations: 3.984 kB / 0.5934 GB, free: 11.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.4984, allocations: 0 / 0.5934 GB, free: 11.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.4984, allocations: 0 / 0.5934 GB, free: 11.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000293/0.4987, allocations: 338.4 kB / 0.5937 GB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4987, allocations: 0 / 0.5937 GB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.113e-05/0.4988, allocations: 15.98 kB / 0.5937 GB, free: 10.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.4988, allocations: 0 / 0.5937 GB, free: 10.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.034e-06/0.4988, allocations: 384 / 0.5937 GB, free: 10.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.4988, allocations: 4 kB / 0.5937 GB, free: 10.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.4988, allocations: 11.94 kB / 0.5937 GB, free: 10.81 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001232/0.499, allocations: 163.5 kB / 0.5939 GB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.375e-05/0.499, allocations: 85 kB / 0.5939 GB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.499, allocations: 4 kB / 0.5939 GB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.75e-05/0.4991, allocations: 4 kB / 0.594 GB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.033e-05/0.4991, allocations: 7.984 kB / 0.594 GB, free: 10.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.4992, allocations: 4 kB / 0.594 GB, free: 10.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.797e-05/0.4992, allocations: 113.9 kB / 0.5941 GB, free: 10.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4992, allocations: 3.938 kB / 0.5941 GB, free: 10.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002039/0.4994, allocations: 19.88 kB / 0.5941 GB, free: 10.38 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.0007462/0.5002, allocations: 369.5 kB / 0.5944 GB, free: 10.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.274e-05/0.5003, allocations: 32 kB / 0.5945 GB, free: 10.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.5003, allocations: 0 / 0.5945 GB, free: 10.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.309e-05/0.5003, allocations: 23.94 kB / 0.5945 GB, free: 10.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001763/0.5005, allocations: 15.94 kB / 0.5945 GB, free: 10.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002377/0.5008, allocations: 121 kB / 0.5946 GB, free: 9.914 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001952/0.501, allocations: 0.6926 MB / 0.5953 GB, free: 9.195 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.964e-05/0.501, allocations: 12.17 kB / 0.5953 GB, free: 9.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.957e-05/0.5011, allocations: 15.44 kB / 0.5953 GB, free: 9.164 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5011, allocations: 3.938 kB / 0.5953 GB, free: 9.16 MB / 410.7 MB Notification: Performance of Templates: time 0.002746/0.5038, allocations: 1.036 MB / 0.5964 GB, free: 8.129 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches