Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001014/0.001014, 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.254/1.254, allocations: 221.3 MB / 236 MB, free: 2.977 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.0009117/0.0009118, allocations: 99.53 kB / 287 MB, free: 240 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.1727/0.1727, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.672e-05/2.674e-05, allocations: 224 / 451.8 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1097, allocations: 61.92 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3465/0.4562, allocations: 88.09 MB / 0.5877 GB, free: 1.223 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002558/0.4565, allocations: 67.97 kB / 0.5878 GB, free: 1.156 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01175/0.4683, allocations: 4.654 MB / 0.5923 GB, free: 12.51 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.4683, allocations: 4 kB / 0.5923 GB, free: 12.51 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.298e-05/0.4683, allocations: 4 kB / 0.5923 GB, free: 12.5 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004014/0.4687, allocations: 402.2 kB / 0.5927 GB, free: 12.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.4688, allocations: 11.97 kB / 0.5927 GB, free: 12.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.451e-05/0.4688, allocations: 15.81 kB / 0.5928 GB, free: 12.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.4691, allocations: 215.3 kB / 0.593 GB, free: 11.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.4691, allocations: 0 / 0.593 GB, free: 11.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.025e-05/0.4691, allocations: 11.91 kB / 0.593 GB, free: 11.78 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.4693, allocations: 61.64 kB / 0.593 GB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.4693, allocations: 7.984 kB / 0.593 GB, free: 11.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.4693, allocations: 0 / 0.593 GB, free: 11.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.4694, allocations: 0 / 0.593 GB, free: 11.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.745e-05/0.4694, allocations: 31.94 kB / 0.5931 GB, free: 11.67 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004839/0.4699, allocations: 336.6 kB / 0.5934 GB, free: 11.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.47, allocations: 58.56 kB / 0.5934 GB, free: 11.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.386e-05/0.4701, allocations: 20.8 kB / 0.5935 GB, free: 11.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.4701, allocations: 0 / 0.5935 GB, free: 11.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.4702, allocations: 38.55 kB / 0.5935 GB, free: 11.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.4702, allocations: 4 kB / 0.5935 GB, free: 11.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006276/0.4708, allocations: 218.2 kB / 0.5937 GB, free: 10.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.4708, allocations: 51.41 kB / 0.5938 GB, free: 10.87 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000222/0.4711, allocations: 214.3 kB / 0.594 GB, free: 10.65 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.4711, allocations: 25.7 kB / 0.594 GB, free: 10.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.027e-05/0.4712, allocations: 112 kB / 0.5941 GB, free: 10.51 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.832e-05/0.4712, allocations: 43.39 kB / 0.5941 GB, free: 10.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-06/0.4712, allocations: 4 kB / 0.5941 GB, free: 10.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.4713, allocations: 326.8 kB / 0.5945 GB, free: 10.13 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.52e-05/0.4714, allocations: 24 kB / 0.5945 GB, free: 10.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.073e-05/0.4714, allocations: 24 kB / 0.5945 GB, free: 10.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.731e-05/0.4715, allocations: 41.42 kB / 0.5945 GB, free: 10.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.4715, allocations: 4 kB / 0.5945 GB, free: 10.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001588/0.4717, allocations: 116.6 kB / 0.5947 GB, free: 9.926 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.4717, allocations: 9.094 kB / 0.5947 GB, free: 9.918 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.4717, allocations: 0 / 0.5947 GB, free: 9.918 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.4717, allocations: 0 / 0.5947 GB, free: 9.918 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.4719, allocations: 31.98 kB / 0.5947 GB, free: 9.887 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.4719, allocations: 0 / 0.5947 GB, free: 9.887 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.639e-05/0.472, allocations: 4 kB / 0.5947 GB, free: 9.883 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.472, allocations: 7.953 kB / 0.5947 GB, free: 9.875 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 (13): * Single equations (assignments): 13 * 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.855e-05/0.472, allocations: 116.9 kB / 0.5948 GB, free: 9.754 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.4721, allocations: 11.81 kB / 0.5948 GB, free: 9.742 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000245/0.4723, allocations: 151.8 kB / 0.595 GB, free: 9.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.4723, allocations: 112 / 0.595 GB, free: 9.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.4724, allocations: 3.938 kB / 0.595 GB, free: 9.586 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.4724, allocations: 0 / 0.595 GB, free: 9.586 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004869/0.4729, allocations: 479 kB / 0.5954 GB, free: 9.059 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.4729, allocations: 4 kB / 0.5954 GB, free: 9.055 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.465e-05/0.473, allocations: 32.02 kB / 0.5955 GB, free: 9.023 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.473, allocations: 0 / 0.5955 GB, free: 9.023 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.473, allocations: 15.94 kB / 0.5955 GB, free: 9.008 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.473, allocations: 0 / 0.5955 GB, free: 9.008 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.473, allocations: 0 / 0.5955 GB, free: 9.008 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001971/0.4732, allocations: 233.9 kB / 0.5957 GB, free: 8.754 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.023e-05/0.4733, allocations: 96.92 kB / 0.5958 GB, free: 8.641 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.4733, allocations: 3.953 kB / 0.5958 GB, free: 8.637 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.364e-05/0.4734, allocations: 15.98 kB / 0.5958 GB, free: 8.621 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.678e-05/0.4735, allocations: 11.92 kB / 0.5958 GB, free: 8.609 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.4735, allocations: 4 kB / 0.5958 GB, free: 8.605 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001468/0.4736, allocations: 164.2 kB / 0.596 GB, free: 8.445 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4736, allocations: 0 / 0.596 GB, free: 8.445 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002567/0.4739, allocations: 43.92 kB / 0.596 GB, free: 8.402 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 (13): * Single equations (assignments): 13 * 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.0009672/0.4749, allocations: 409.3 kB / 0.5964 GB, free: 8.109 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001809/0.4751, allocations: 80 kB / 0.5965 GB, free: 8.031 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4751, allocations: 7.938 kB / 0.5965 GB, free: 8.023 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.285e-05/0.4752, allocations: 39.94 kB / 0.5965 GB, free: 7.984 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.4754, allocations: 19.98 kB / 0.5966 GB, free: 7.965 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000429/0.4759, allocations: 226.5 kB / 0.5968 GB, free: 7.719 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.4762, allocations: 0.7221 MB / 0.5975 GB, free: 6.973 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.982e-05/0.4763, allocations: 28.59 kB / 0.5975 GB, free: 6.945 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.632e-05/0.4763, allocations: 15.44 kB / 0.5975 GB, free: 6.93 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4763, allocations: 0 / 0.5975 GB, free: 6.93 MB / 410.7 MB Notification: Performance of Templates: time 0.003858/0.4802, allocations: 1.551 MB / 0.599 GB, free: 5.379 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches