Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,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.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 113.4 kB / 17.86 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 201.9 kB / 18.77 MB, free: 4.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 222.9 MB / 242.4 MB, free: 15.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2188/0.2188, allocations: 44.16 MB / 336.8 MB, free: 2.98 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 63 kB / 408.3 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09455/0.09577, allocations: 60.83 MB / 469.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.002929/0.09873, allocations: 1.692 MB / 470.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007932/0.09955, allocations: 455.1 kB / 471.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.58e-05/0.09961, allocations: 0 / 471.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002329/0.09985, allocations: 47.88 kB / 471.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001425/0.1, allocations: 43.84 kB / 471.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000396/0.1004, allocations: 162.8 kB / 471.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.1006, allocations: 67.83 kB / 471.6 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.1007, allocations: 23.98 kB / 471.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.944e-05/0.1008, allocations: 39.78 kB / 471.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.916e-05/0.1009, allocations: 39.84 kB / 471.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.1009, allocations: 0 / 471.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.101, allocations: 51.95 kB / 471.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.992e-05/0.1011, allocations: 23.92 kB / 471.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.823e-05/0.1011, allocations: 23.81 kB / 471.8 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.1013, allocations: 76.17 kB / 471.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1013, allocations: 0 / 471.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.1013, allocations: 0 / 471.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.217e-06/0.1013, allocations: 0 / 471.9 MB, free: 12.07 MB / 350.1 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.0004821/0.1018, allocations: 411 kB / 472.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.1018, allocations: 8.031 kB / 472.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.678e-05/0.1019, allocations: 12.75 kB / 472.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/0.1021, allocations: 198.6 kB / 472.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.636e-06/0.1021, allocations: 384 / 472.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.1021, allocations: 8.375 kB / 472.5 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.1023, allocations: 73.72 kB / 472.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.1023, allocations: 0 / 472.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.1023, allocations: 4 kB / 472.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.1023, allocations: 4 kB / 472.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.1025, allocations: 39.97 kB / 472.6 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004464/0.1029, allocations: 312.7 kB / 473 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002311/0.1032, allocations: 66.58 kB / 473 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.958e-05/0.1033, allocations: 32.97 kB / 473 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.1033, allocations: 3.938 kB / 473.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.1033, allocations: 30.56 kB / 473.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.343e-06/0.1033, allocations: 0 / 473.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001426/0.1048, allocations: 420.7 kB / 473.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.1048, allocations: 59.34 kB / 473.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.105, allocations: 165.8 kB / 473.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.105, allocations: 29.7 kB / 473.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.181e-05/0.1051, allocations: 100 kB / 473.8 MB, free: 9.938 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.732e-05/0.1051, allocations: 39.39 kB / 473.9 MB, free: 9.898 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.666e-05/0.1052, allocations: 29.72 kB / 473.9 MB, free: 9.863 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.1053, allocations: 322.8 kB / 474.2 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.1054, allocations: 51.95 kB / 474.3 MB, free: 9.488 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.1056, allocations: 63.95 kB / 474.3 MB, free: 9.426 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002691/0.1058, allocations: 120.8 kB / 474.5 MB, free: 9.305 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1059, allocations: 0 / 474.5 MB, free: 9.305 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003281/0.1062, allocations: 165.7 kB / 474.6 MB, free: 9.137 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.1062, allocations: 4 kB / 474.6 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.1062, allocations: 3.938 kB / 474.6 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.1062, allocations: 0 / 474.6 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.1064, allocations: 27.98 kB / 474.7 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.1064, allocations: 11.98 kB / 474.7 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.904e-05/0.1064, allocations: 4 kB / 474.7 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.1065, allocations: 4 kB / 474.7 MB, free: 9.082 MB / 350.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.477e-05/0.1066, allocations: 126.4 kB / 474.8 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.699e-05/0.1066, allocations: 7.906 kB / 474.8 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004239/0.107, allocations: 202.7 kB / 475 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.107, allocations: 3.984 kB / 475 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.1071, allocations: 8 kB / 475 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1071, allocations: 0 / 475 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006771/0.1077, allocations: 499.9 kB / 475.5 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1078, allocations: 0 / 475.5 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.1079, allocations: 31.97 kB / 475.5 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.1079, allocations: 0 / 475.5 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.487e-06/0.1079, allocations: 0 / 475.5 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.1079, allocations: 4 kB / 475.5 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1079, allocations: 0 / 475.5 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003805/0.1083, allocations: 285 kB / 475.8 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.025e-05/0.1083, allocations: 81.02 kB / 475.9 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.1084, allocations: 4 kB / 475.9 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.161e-05/0.1085, allocations: 7.984 kB / 475.9 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.577e-05/0.1085, allocations: 15.98 kB / 475.9 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-06/0.1085, allocations: 4 kB / 475.9 MB, free: 7.711 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.395e-05/0.1086, allocations: 132.9 kB / 476.1 MB, free: 7.582 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1087, allocations: 0 / 476.1 MB, free: 7.582 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002686/0.1089, allocations: 28 kB / 476.1 MB, free: 7.555 MB / 350.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001015/0.1099, allocations: 456.2 kB / 476.5 MB, free: 7.289 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003566/0.1103, allocations: 139.7 kB / 476.7 MB, free: 7.152 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1103, allocations: 0 / 476.7 MB, free: 7.152 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001515/0.1105, allocations: 68.02 kB / 476.7 MB, free: 7.086 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003898/0.1109, allocations: 31.5 kB / 476.8 MB, free: 7.062 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000539/0.1114, allocations: 339.4 kB / 477.1 MB, free: 6.688 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.1117, allocations: 0.7121 MB / 477.8 MB, free: 5.949 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.937e-05/0.1118, allocations: 15.44 kB / 477.8 MB, free: 5.934 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1118, allocations: 0 / 477.8 MB, free: 5.934 MB / 350.1 MB Notification: Performance of Templates: time 0.003808/0.1156, allocations: 1.973 MB / 479.8 MB, free: 3.965 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches