Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.CombiTable1Ds.Test32,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.CombiTable1Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,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.CombiTable1Ds.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009967/0.0009967, 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.273/1.273, allocations: 221.3 MB / 236 MB, free: 2.93 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.0008142/0.0008143, allocations: 88.03 kB / 287 MB, free: 236 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.1768/0.1768, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.465e-05/2.467e-05, allocations: 224 / 451.8 MB, free: 9.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1163, allocations: 61.92 MB / 0.5017 GB, free: 11.44 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3697/0.486, allocations: 87.97 MB / 0.5876 GB, free: 1.34 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002153/0.4863, allocations: 75.95 kB / 0.5877 GB, free: 1.266 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01065/0.497, allocations: 4.374 MB / 0.592 GB, free: 12.9 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.497, allocations: 0 / 0.592 GB, free: 12.9 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.497, allocations: 0 / 0.592 GB, free: 12.9 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.000385/0.4974, allocations: 406.2 kB / 0.5923 GB, free: 12.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.4975, allocations: 8.031 kB / 0.5924 GB, free: 12.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.118e-05/0.4975, allocations: 15.8 kB / 0.5924 GB, free: 12.44 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/0.4978, allocations: 210.9 kB / 0.5926 GB, free: 12.19 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.4978, allocations: 7.891 kB / 0.5926 GB, free: 12.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.4978, allocations: 7.938 kB / 0.5926 GB, free: 12.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.4979, allocations: 49.67 kB / 0.5926 GB, free: 12.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.498, allocations: 0 / 0.5926 GB, free: 12.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.498, allocations: 4 kB / 0.5926 GB, free: 12.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.498, allocations: 8 kB / 0.5926 GB, free: 12.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.781e-05/0.498, allocations: 15.94 kB / 0.5927 GB, free: 12.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003912/0.4984, allocations: 304.8 kB / 0.5929 GB, free: 11.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.356e-05/0.4985, allocations: 38.55 kB / 0.593 GB, free: 11.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.738e-05/0.4986, allocations: 16.86 kB / 0.593 GB, free: 11.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.4986, allocations: 4 kB / 0.593 GB, free: 11.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.4986, allocations: 34.5 kB / 0.593 GB, free: 11.63 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.4986, allocations: 0 / 0.593 GB, free: 11.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005148/0.4992, allocations: 161.1 kB / 0.5932 GB, free: 11.47 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.4992, allocations: 51.48 kB / 0.5932 GB, free: 11.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002291/0.4994, allocations: 213.8 kB / 0.5934 GB, free: 11.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.4995, allocations: 29.7 kB / 0.5935 GB, free: 11.15 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.598e-05/0.4995, allocations: 116.1 kB / 0.5936 GB, free: 11.03 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.279e-05/0.4996, allocations: 27.56 kB / 0.5936 GB, free: 11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-06/0.4996, allocations: 0 / 0.5936 GB, free: 11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.4997, allocations: 322.8 kB / 0.5939 GB, free: 10.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.083e-05/0.4997, allocations: 16 kB / 0.5939 GB, free: 10.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.685e-05/0.4998, allocations: 16 kB / 0.5939 GB, free: 10.65 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.921e-05/0.4998, allocations: 24.2 kB / 0.594 GB, free: 10.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.4998, allocations: 0 / 0.594 GB, free: 10.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000125/0.5, allocations: 85.53 kB / 0.5941 GB, free: 10.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.5, allocations: 8 kB / 0.5941 GB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.5, allocations: 0 / 0.5941 GB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.5, allocations: 0 / 0.5941 GB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.5001, allocations: 19.98 kB / 0.5941 GB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.5001, allocations: 0 / 0.5941 GB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.44e-05/0.5002, allocations: 7.906 kB / 0.5941 GB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.5002, allocations: 7.953 kB / 0.5941 GB, free: 10.49 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 5.92e-05/0.5003, allocations: 109 kB / 0.5942 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.575e-05/0.5003, allocations: 11.91 kB / 0.5942 GB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001858/0.5005, allocations: 111 kB / 0.5943 GB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.5005, allocations: 0 / 0.5943 GB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.5005, allocations: 0 / 0.5943 GB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.5005, allocations: 0 / 0.5943 GB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004357/0.501, allocations: 419.2 kB / 0.5947 GB, free: 9.785 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.501, allocations: 0 / 0.5947 GB, free: 9.785 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7e-05/0.5011, allocations: 19.98 kB / 0.5947 GB, free: 9.766 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.5011, allocations: 7.938 kB / 0.5947 GB, free: 9.758 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.5011, allocations: 0 / 0.5947 GB, free: 9.758 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.5011, allocations: 0 / 0.5947 GB, free: 9.758 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.5011, allocations: 3.953 kB / 0.5947 GB, free: 9.754 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001615/0.5013, allocations: 198.2 kB / 0.5949 GB, free: 9.535 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.84e-05/0.5013, allocations: 100.9 kB / 0.595 GB, free: 9.418 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.5014, allocations: 4 kB / 0.595 GB, free: 9.414 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.621e-05/0.5014, allocations: 11.94 kB / 0.595 GB, free: 9.402 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.569e-05/0.5015, allocations: 8 kB / 0.5951 GB, free: 9.395 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.5015, allocations: 4 kB / 0.5951 GB, free: 9.391 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001527/0.5017, allocations: 180.3 kB / 0.5952 GB, free: 9.215 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5017, allocations: 4 kB / 0.5952 GB, free: 9.211 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002303/0.5019, allocations: 31.94 kB / 0.5953 GB, free: 9.18 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.0009075/0.5028, allocations: 423.9 kB / 0.5957 GB, free: 8.879 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001296/0.5029, allocations: 47.98 kB / 0.5957 GB, free: 8.832 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.503, allocations: 0 / 0.5957 GB, free: 8.832 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.787e-05/0.503, allocations: 27.94 kB / 0.5957 GB, free: 8.805 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.5032, allocations: 16.12 kB / 0.5958 GB, free: 8.785 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004065/0.5037, allocations: 211.6 kB / 0.596 GB, free: 8.555 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000335/0.504, allocations: 0.72 MB / 0.5967 GB, free: 7.809 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.755e-05/0.5041, allocations: 20.95 kB / 0.5967 GB, free: 7.785 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.081e-05/0.5041, allocations: 11.44 kB / 0.5967 GB, free: 7.773 MB / 410.7 MB Notification: Performance of SimCode: time 2.11e-07/0.5041, allocations: 0 / 0.5967 GB, free: 7.773 MB / 410.7 MB Notification: Performance of Templates: time 0.004053/0.5082, allocations: 1.414 MB / 0.5981 GB, free: 6.359 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches