Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.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.CombiTable2Ds.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008923/0.0008924, allocations: 187 kB / 18.09 MB, free: 3.621 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.242/1.242, allocations: 223.3 MB / 242.1 MB, free: 9.887 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.0008191/0.0008191, allocations: 94.27 kB / 293.3 MB, free: 10.57 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.279/0.279, allocations: 44.14 MB / 388.5 MB, free: 38.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003872/0.0003873, allocations: 15.98 kB / 461.1 MB, free: 1.336 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2695, allocations: 61.87 MB / 0.5107 GB, free: 37.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09637/0.3659, allocations: 88.59 MB / 0.5972 GB, free: 6.516 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002014/0.3662, allocations: 71.95 kB / 0.5973 GB, free: 6.449 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01087/0.3771, allocations: 4.571 MB / 0.6018 GB, free: 1.871 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3771, allocations: 0 / 0.6018 GB, free: 1.871 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.264e-05/0.3771, allocations: 4 kB / 0.6018 GB, free: 1.867 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.000472/0.3776, allocations: 418.9 kB / 0.6022 GB, free: 1.406 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.3776, allocations: 8.031 kB / 0.6022 GB, free: 1.398 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.231e-05/0.3777, allocations: 12.84 kB / 0.6022 GB, free: 1.387 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/0.3779, allocations: 205.5 kB / 0.6024 GB, free: 1.148 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-06/0.3779, allocations: 384 / 0.6024 GB, free: 1.148 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.3779, allocations: 4.375 kB / 0.6024 GB, free: 1.145 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.3781, allocations: 66.17 kB / 0.6024 GB, free: 1.074 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.3781, allocations: 4.188 kB / 0.6024 GB, free: 1.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.3781, allocations: 11.94 kB / 0.6025 GB, free: 1.059 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.3781, allocations: 0 / 0.6025 GB, free: 1.059 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.3783, allocations: 47.89 kB / 0.6025 GB, free: 1.012 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003753/0.3786, allocations: 320.6 kB / 0.6028 GB, free: 0.6484 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/0.3789, allocations: 58.55 kB / 0.6029 GB, free: 0.582 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.479e-05/0.3789, allocations: 28.97 kB / 0.6029 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.379, allocations: 0 / 0.6029 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.379, allocations: 38.56 kB / 0.6029 GB, free: 0.5039 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 9.12e-07/0.379, allocations: 0 / 0.6029 GB, free: 0.5039 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.001332/0.3803, allocations: 466.7 kB / 0.6034 GB, free: 44 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.3804, allocations: 51.41 kB / 0.6034 GB, free: 15.98 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.3806, allocations: 189.8 kB / 0.6036 GB, free: 15.79 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.3806, allocations: 29.7 kB / 0.6036 GB, free: 15.75 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.745e-05/0.3807, allocations: 111.9 kB / 0.6037 GB, free: 15.64 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.279e-05/0.3807, allocations: 39.44 kB / 0.6038 GB, free: 15.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-06/0.3807, allocations: 0 / 0.6038 GB, free: 15.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.3808, allocations: 326.8 kB / 0.6041 GB, free: 15.27 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.381, allocations: 51.95 kB / 0.6041 GB, free: 15.22 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.3811, allocations: 43.97 kB / 0.6042 GB, free: 15.18 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002359/0.3813, allocations: 120.8 kB / 0.6043 GB, free: 15.06 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.3813, allocations: 0 / 0.6043 GB, free: 15.06 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002942/0.3816, allocations: 153.5 kB / 0.6044 GB, free: 14.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.3817, allocations: 8 kB / 0.6045 GB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.3817, allocations: 0 / 0.6045 GB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.3817, allocations: 4 kB / 0.6045 GB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.3818, allocations: 35.97 kB / 0.6045 GB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.3818, allocations: 0 / 0.6045 GB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.086e-05/0.3819, allocations: 19.92 kB / 0.6045 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.3819, allocations: 3.938 kB / 0.6045 GB, free: 14.83 MB / 426.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 (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 0.0001021/0.382, allocations: 130.4 kB / 0.6046 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.3821, allocations: 11.81 kB / 0.6046 GB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003612/0.3824, allocations: 174.3 kB / 0.6048 GB, free: 14.51 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.3824, allocations: 4 kB / 0.6048 GB, free: 14.51 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3825, allocations: 0 / 0.6048 GB, free: 14.51 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.3825, allocations: 3.938 kB / 0.6048 GB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006254/0.3831, allocations: 488.1 kB / 0.6053 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.3831, allocations: 4 kB / 0.6053 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.3832, allocations: 39.97 kB / 0.6053 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3832, allocations: 4 kB / 0.6053 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.3832, allocations: 0 / 0.6053 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3833, allocations: 4 kB / 0.6053 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3833, allocations: 0 / 0.6053 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000342/0.3836, allocations: 273.4 kB / 0.6056 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.101e-05/0.3837, allocations: 92.95 kB / 0.6057 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.3837, allocations: 7.984 kB / 0.6057 GB, free: 13.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.179e-05/0.3838, allocations: 16.19 kB / 0.6057 GB, free: 13.49 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/0.3838, allocations: 11.97 kB / 0.6057 GB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.3839, allocations: 8.094 kB / 0.6057 GB, free: 13.47 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001143/0.384, allocations: 147 kB / 0.6059 GB, free: 13.33 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.384, allocations: 0 / 0.6059 GB, free: 13.33 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002542/0.3842, allocations: 39.92 kB / 0.6059 GB, free: 13.29 MB / 426.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 () * Number of clocked 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.0009712/0.3852, allocations: 469.7 kB / 0.6064 GB, free: 13.01 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000332/0.3856, allocations: 131.8 kB / 0.6065 GB, free: 12.88 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3856, allocations: 0 / 0.6065 GB, free: 12.88 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.3857, allocations: 64.03 kB / 0.6065 GB, free: 12.82 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.386, allocations: 23.92 kB / 0.6066 GB, free: 12.79 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004762/0.3865, allocations: 282.9 kB / 0.6068 GB, free: 12.48 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.3868, allocations: 0.7198 MB / 0.6075 GB, free: 11.73 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.348e-05/0.3869, allocations: 20.55 kB / 0.6076 GB, free: 11.71 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.323e-05/0.3869, allocations: 19.42 kB / 0.6076 GB, free: 11.69 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3869, allocations: 0 / 0.6076 GB, free: 11.69 MB / 426.7 MB Notification: Performance of Templates: time 0.003651/0.3906, allocations: 1.498 MB / 0.609 GB, free: 10.2 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test26/Test26.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches