Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.Test25_usertab,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.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,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.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009463/0.0009463, allocations: 187 kB / 18.09 MB, free: 3.723 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.167/1.167, allocations: 223.3 MB / 242.1 MB, free: 9.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007577/0.0007577, allocations: 95.56 kB / 293.3 MB, free: 10.55 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2716/0.2716, allocations: 44.15 MB / 388.5 MB, free: 38.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003253/0.0003254, allocations: 16 kB / 461.1 MB, free: 1.543 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2686, allocations: 61.88 MB / 0.5107 GB, free: 37.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09476/0.3634, allocations: 88.14 MB / 0.5968 GB, free: 6.945 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001978/0.3636, allocations: 79.94 kB / 0.5969 GB, free: 6.871 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00897/0.3726, allocations: 3.723 MB / 0.6005 GB, free: 3.152 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3726, allocations: 3.938 kB / 0.6005 GB, free: 3.148 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.3726, allocations: 0 / 0.6005 GB, free: 3.148 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.0003315/0.373, allocations: 379.2 kB / 0.6009 GB, free: 2.727 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.373, allocations: 12.03 kB / 0.6009 GB, free: 2.715 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.118e-05/0.3731, allocations: 4.844 kB / 0.6009 GB, free: 2.711 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.3732, allocations: 192.3 kB / 0.6011 GB, free: 2.484 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.805e-06/0.3733, allocations: 4.375 kB / 0.6011 GB, free: 2.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.3733, allocations: 4.375 kB / 0.6011 GB, free: 2.477 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.3734, allocations: 71.89 kB / 0.6012 GB, free: 2.395 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.3734, allocations: 192 / 0.6012 GB, free: 2.395 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.3735, allocations: 7.938 kB / 0.6012 GB, free: 2.387 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.3735, allocations: 0 / 0.6012 GB, free: 2.387 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.339e-05/0.3736, allocations: 27.98 kB / 0.6012 GB, free: 2.359 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003657/0.3739, allocations: 288.8 kB / 0.6015 GB, free: 2.027 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.374, allocations: 66.42 kB / 0.6015 GB, free: 1.953 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.336e-05/0.3741, allocations: 24.94 kB / 0.6016 GB, free: 1.926 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.3741, allocations: 7.984 kB / 0.6016 GB, free: 1.918 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.3742, allocations: 34.5 kB / 0.6016 GB, free: 1.875 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3742, allocations: 0 / 0.6016 GB, free: 1.875 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005375/0.3747, allocations: 193.3 kB / 0.6018 GB, free: 1.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.3748, allocations: 77.11 kB / 0.6018 GB, free: 1.586 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.3749, allocations: 139.7 kB / 0.602 GB, free: 1.441 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.3749, allocations: 29.7 kB / 0.602 GB, free: 1.406 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.499e-05/0.375, allocations: 91.98 kB / 0.6021 GB, free: 1.312 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.375, allocations: 27.64 kB / 0.6021 GB, free: 1.285 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-06/0.375, allocations: 0 / 0.6021 GB, free: 1.285 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.13e-05/0.3751, allocations: 322.8 kB / 0.6024 GB, free: 0.9609 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.866e-05/0.3752, allocations: 35.97 kB / 0.6025 GB, free: 0.9258 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.219e-05/0.3753, allocations: 49.69 kB / 0.6025 GB, free: 0.8711 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.3754, allocations: 80.75 kB / 0.6026 GB, free: 0.7891 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3754, allocations: 0 / 0.6026 GB, free: 0.7891 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000198/0.3756, allocations: 113.6 kB / 0.6027 GB, free: 0.6719 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.3757, allocations: 4 kB / 0.6027 GB, free: 0.668 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3757, allocations: 3.984 kB / 0.6027 GB, free: 0.6641 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.3757, allocations: 0 / 0.6027 GB, free: 0.6641 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.783e-05/0.3758, allocations: 16 kB / 0.6027 GB, free: 0.6484 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.3758, allocations: 3.984 kB / 0.6027 GB, free: 0.6445 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.225e-05/0.3758, allocations: 12 kB / 0.6027 GB, free: 0.6328 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.3758, allocations: 4 kB / 0.6027 GB, free: 0.6289 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 () * Number of clocked 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 7.719e-05/0.3759, allocations: 122.2 kB / 0.6029 GB, free: 0.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.855e-05/0.376, allocations: 7.906 kB / 0.6029 GB, free: 0.4922 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002316/0.3762, allocations: 122.3 kB / 0.603 GB, free: 376 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.3762, allocations: 7.984 kB / 0.603 GB, free: 368 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.3762, allocations: 0 / 0.603 GB, free: 368 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3762, allocations: 0 / 0.603 GB, free: 368 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004409/0.3767, allocations: 394.4 kB / 0.6034 GB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3767, allocations: 7.984 kB / 0.6034 GB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.937e-05/0.3768, allocations: 12 kB / 0.6034 GB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3768, allocations: 0 / 0.6034 GB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.3768, allocations: 0 / 0.6034 GB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/0.3768, allocations: 4 kB / 0.6034 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.3768, allocations: 7.875 kB / 0.6034 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002231/0.377, allocations: 207.4 kB / 0.6036 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.642e-05/0.3771, allocations: 92.95 kB / 0.6037 GB, free: 15.56 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.3771, allocations: 0 / 0.6037 GB, free: 15.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.719e-05/0.3772, allocations: 7.984 kB / 0.6037 GB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.3772, allocations: 7.938 kB / 0.6037 GB, free: 15.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.3772, allocations: 12 kB / 0.6037 GB, free: 15.53 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.975e-05/0.3773, allocations: 109.9 kB / 0.6038 GB, free: 15.43 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3773, allocations: 0 / 0.6038 GB, free: 15.43 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002401/0.3775, allocations: 31.94 kB / 0.6038 GB, free: 15.39 MB / 426.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0008383/0.3784, allocations: 462.6 kB / 0.6043 GB, free: 15.11 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001963/0.3786, allocations: 79.88 kB / 0.6044 GB, free: 15.04 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3786, allocations: 4 kB / 0.6044 GB, free: 15.03 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.013e-05/0.3787, allocations: 39.97 kB / 0.6044 GB, free: 14.99 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.379, allocations: 23.86 kB / 0.6044 GB, free: 14.97 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003249/0.3793, allocations: 185.6 kB / 0.6046 GB, free: 14.75 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002128/0.3795, allocations: 0.6965 MB / 0.6053 GB, free: 14.03 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.807e-05/0.3796, allocations: 19.97 kB / 0.6053 GB, free: 14.01 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.361e-05/0.3796, allocations: 19.42 kB / 0.6053 GB, free: 13.99 MB / 426.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3796, allocations: 0 / 0.6053 GB, free: 13.99 MB / 426.7 MB Notification: Performance of Templates: time 0.003289/0.3829, allocations: 1.469 MB / 0.6068 GB, free: 12.53 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches