Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.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.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009046/0.0009046, allocations: 180.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.202/1.202, allocations: 221.3 MB / 236 MB, free: 2.926 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.0008242/0.0008241, allocations: 91.8 kB / 287 MB, free: 228 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.2053/0.2053, allocations: 44.15 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.343e-05/4.345e-05, allocations: 4 kB / 451.8 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1175, allocations: 61.92 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.359/0.4765, allocations: 88.93 MB / 0.5886 GB, free: 408 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/0.4768, allocations: 71.97 kB / 0.5886 GB, free: 336 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01217/0.489, allocations: 4.722 MB / 0.5932 GB, free: 11.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.644e-06/0.4891, allocations: 0 / 0.5932 GB, free: 11.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.28e-05/0.4891, allocations: 4 kB / 0.5932 GB, free: 11.61 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004093/0.4895, allocations: 398.2 kB / 0.5936 GB, free: 11.17 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.4896, allocations: 8.031 kB / 0.5936 GB, free: 11.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.841e-05/0.4896, allocations: 7.906 kB / 0.5936 GB, free: 11.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000266/0.4899, allocations: 218.7 kB / 0.5938 GB, free: 10.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.4899, allocations: 3.953 kB / 0.5938 GB, free: 10.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.027e-05/0.49, allocations: 11.98 kB / 0.5939 GB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.4901, allocations: 57.61 kB / 0.5939 GB, free: 10.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.4901, allocations: 4 kB / 0.5939 GB, free: 10.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.4902, allocations: 0 / 0.5939 GB, free: 10.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.4902, allocations: 0 / 0.5939 GB, free: 10.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.616e-05/0.4902, allocations: 27.94 kB / 0.5939 GB, free: 10.79 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004889/0.4907, allocations: 332.8 kB / 0.5943 GB, free: 10.42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.4909, allocations: 46.66 kB / 0.5943 GB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.741e-05/0.491, allocations: 20.92 kB / 0.5943 GB, free: 10.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.491, allocations: 0 / 0.5943 GB, free: 10.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.4911, allocations: 42.56 kB / 0.5944 GB, free: 10.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.4911, allocations: 0 / 0.5944 GB, free: 10.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006521/0.4917, allocations: 241.3 kB / 0.5946 GB, free: 10.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.4918, allocations: 51.41 kB / 0.5946 GB, free: 9.984 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001852/0.492, allocations: 173.4 kB / 0.5948 GB, free: 9.809 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.492, allocations: 29.7 kB / 0.5948 GB, free: 9.773 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.268e-05/0.4921, allocations: 108 kB / 0.5949 GB, free: 9.664 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.474e-05/0.4921, allocations: 35.53 kB / 0.595 GB, free: 9.629 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.883e-06/0.4921, allocations: 4 kB / 0.595 GB, free: 9.625 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.4922, allocations: 322.8 kB / 0.5953 GB, free: 9.301 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.83e-05/0.4923, allocations: 39.92 kB / 0.5953 GB, free: 9.262 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.504e-05/0.4924, allocations: 36 kB / 0.5954 GB, free: 9.227 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.496e-05/0.4924, allocations: 42.48 kB / 0.5954 GB, free: 9.188 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.4924, allocations: 4 kB / 0.5954 GB, free: 9.184 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001751/0.4926, allocations: 133.4 kB / 0.5955 GB, free: 9.047 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.4927, allocations: 5.562 kB / 0.5955 GB, free: 9.043 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.4927, allocations: 8.047 kB / 0.5955 GB, free: 9.035 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.4927, allocations: 4 kB / 0.5955 GB, free: 9.031 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.4928, allocations: 31.92 kB / 0.5956 GB, free: 9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.148e-06/0.4928, allocations: 3.953 kB / 0.5956 GB, free: 8.996 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.22e-05/0.4929, allocations: 15.98 kB / 0.5956 GB, free: 8.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.4929, allocations: 4 kB / 0.5956 GB, free: 8.977 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 (11): * Single equations (assignments): 11 * 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 8.062e-05/0.493, allocations: 108.9 kB / 0.5957 GB, free: 8.863 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.638e-05/0.4931, allocations: 15.81 kB / 0.5957 GB, free: 8.848 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002587/0.4933, allocations: 150.2 kB / 0.5959 GB, free: 8.695 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.4933, allocations: 0 / 0.5959 GB, free: 8.695 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.4933, allocations: 0 / 0.5959 GB, free: 8.695 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.4934, allocations: 7.938 kB / 0.5959 GB, free: 8.688 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005419/0.4939, allocations: 484 kB / 0.5963 GB, free: 8.152 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4939, allocations: 0 / 0.5963 GB, free: 8.152 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.494, allocations: 27.98 kB / 0.5964 GB, free: 8.125 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.494, allocations: 4 kB / 0.5964 GB, free: 8.121 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.4941, allocations: 8.016 kB / 0.5964 GB, free: 8.113 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.4941, allocations: 11.88 kB / 0.5964 GB, free: 8.102 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.4941, allocations: 0 / 0.5964 GB, free: 8.102 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000249/0.4943, allocations: 257 kB / 0.5966 GB, free: 7.816 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.596e-05/0.4944, allocations: 101 kB / 0.5967 GB, free: 7.699 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.4944, allocations: 0 / 0.5967 GB, free: 7.699 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.4945, allocations: 15.98 kB / 0.5967 GB, free: 7.684 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.187e-05/0.4946, allocations: 15.92 kB / 0.5967 GB, free: 7.668 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.4946, allocations: 4 kB / 0.5968 GB, free: 7.664 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001181/0.4947, allocations: 144.1 kB / 0.5969 GB, free: 7.523 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4947, allocations: 0 / 0.5969 GB, free: 7.523 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002418/0.495, allocations: 35.94 kB / 0.5969 GB, free: 7.488 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.001/0.496, allocations: 417.8 kB / 0.5973 GB, free: 7.188 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001838/0.4962, allocations: 87.92 kB / 0.5974 GB, free: 7.102 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4962, allocations: 4 kB / 0.5974 GB, free: 7.098 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.272e-05/0.4963, allocations: 55.92 kB / 0.5975 GB, free: 7.043 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.4965, allocations: 22.8 kB / 0.5975 GB, free: 7.023 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004236/0.497, allocations: 235.7 kB / 0.5977 GB, free: 6.762 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.4972, allocations: 0.7201 MB / 0.5984 GB, free: 6.016 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.908e-05/0.4973, allocations: 36.38 kB / 0.5984 GB, free: 5.977 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.033e-05/0.4974, allocations: 19.42 kB / 0.5985 GB, free: 5.957 MB / 410.7 MB Notification: Performance of SimCode: time 1.543e-06/0.4974, allocations: 0 / 0.5985 GB, free: 5.957 MB / 410.7 MB Notification: Performance of Templates: time 0.003826/0.5012, allocations: 1.594 MB / 0.6 GB, free: 4.371 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches