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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 111.1 kB / 17.86 MB, free: 5.504 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.001418/0.001418, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.339/1.339, allocations: 222.9 MB / 242.4 MB, free: 15.5 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.2011/0.2011, allocations: 44.18 MB / 336.8 MB, free: 2.938 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 54.5 kB / 408.3 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09584/0.09711, allocations: 60.83 MB / 469.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.003106/0.1003, allocations: 1.696 MB / 470.9 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000803/0.1011, allocations: 447.2 kB / 471.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.912e-05/0.1012, allocations: 4 kB / 471.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002311/0.1014, allocations: 51.86 kB / 471.4 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001709/0.1016, allocations: 51.83 kB / 471.4 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004194/0.1021, allocations: 170.5 kB / 471.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001546/0.1022, allocations: 75.83 kB / 471.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.1023, allocations: 12 kB / 471.7 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.21e-05/0.1024, allocations: 43.77 kB / 471.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.906e-05/0.1025, allocations: 43.84 kB / 471.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.1025, allocations: 0 / 471.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.1026, allocations: 47.98 kB / 471.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.677e-05/0.1027, allocations: 27.89 kB / 471.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.556e-05/0.1028, allocations: 31.75 kB / 471.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.1029, allocations: 80.16 kB / 471.9 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1029, allocations: 0 / 471.9 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.1029, allocations: 0 / 471.9 MB, free: 12.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.1029, allocations: 0 / 471.9 MB, free: 12.08 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.0004752/0.1034, allocations: 415 kB / 472.3 MB, free: 11.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.1035, allocations: 12.03 kB / 472.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.368e-05/0.1035, allocations: 8.844 kB / 472.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.1037, allocations: 195.8 kB / 472.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.775e-06/0.1037, allocations: 4.375 kB / 472.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.1037, allocations: 8.359 kB / 472.6 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.1039, allocations: 69.73 kB / 472.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.104, allocations: 0 / 472.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.104, allocations: 7.984 kB / 472.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.104, allocations: 4 kB / 472.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000149/0.1041, allocations: 39.95 kB / 472.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004406/0.1046, allocations: 324.6 kB / 473 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002353/0.1048, allocations: 66.48 kB / 473.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.366e-05/0.1049, allocations: 28.95 kB / 473.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.105, allocations: 3.984 kB / 473.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.105, allocations: 30.56 kB / 473.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.253e-06/0.105, allocations: 0 / 473.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001498/0.1065, allocations: 417.3 kB / 473.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.1066, allocations: 63.34 kB / 473.6 MB, free: 10.24 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.1067, allocations: 182.2 kB / 473.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.1068, allocations: 25.7 kB / 473.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.382e-05/0.1068, allocations: 108 kB / 473.9 MB, free: 9.914 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.752e-05/0.1069, allocations: 39.45 kB / 473.9 MB, free: 9.875 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.56e-05/0.1069, allocations: 29.66 kB / 474 MB, free: 9.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.107, allocations: 322.8 kB / 474.3 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.1072, allocations: 55.95 kB / 474.3 MB, free: 9.461 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.1073, allocations: 59.95 kB / 474.4 MB, free: 9.402 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002671/0.1076, allocations: 128.7 kB / 474.5 MB, free: 9.273 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1076, allocations: 0 / 474.5 MB, free: 9.273 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003289/0.1079, allocations: 161.5 kB / 474.7 MB, free: 9.109 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.1079, allocations: 4 kB / 474.7 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.108, allocations: 0 / 474.7 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.108, allocations: 4 kB / 474.7 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.1081, allocations: 31.91 kB / 474.7 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.1081, allocations: 0 / 474.7 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.038e-05/0.1082, allocations: 11.98 kB / 474.7 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.1082, allocations: 4 kB / 474.7 MB, free: 9.055 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.295e-05/0.1083, allocations: 130.3 kB / 474.9 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.05e-05/0.1083, allocations: 15.8 kB / 474.9 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004069/0.1087, allocations: 190.2 kB / 475.1 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.1088, allocations: 3.938 kB / 475.1 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1088, allocations: 0 / 475.1 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.1088, allocations: 4 kB / 475.1 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006794/0.1095, allocations: 500 kB / 475.6 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.1095, allocations: 4 kB / 475.6 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.1096, allocations: 27.98 kB / 475.6 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1096, allocations: 0 / 475.6 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.1096, allocations: 4 kB / 475.6 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1096, allocations: 192 / 475.6 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/0.1096, allocations: 11.92 kB / 475.6 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003773/0.11, allocations: 273.5 kB / 475.9 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.799e-05/0.1101, allocations: 89 kB / 476 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.209e-05/0.1101, allocations: 4 kB / 476 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.974e-05/0.1102, allocations: 8 kB / 476 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.885e-05/0.1103, allocations: 7.984 kB / 476 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-06/0.1103, allocations: 8 kB / 476 MB, free: 7.684 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001027/0.1104, allocations: 145.1 kB / 476.1 MB, free: 7.543 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.164e-06/0.1104, allocations: 96 / 476.1 MB, free: 7.543 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002692/0.1107, allocations: 31.88 kB / 476.2 MB, free: 7.512 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.001007/0.1117, allocations: 461.8 kB / 476.6 MB, free: 7.242 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003362/0.112, allocations: 127.8 kB / 476.7 MB, free: 7.117 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1121, allocations: 0 / 476.7 MB, free: 7.117 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001689/0.1122, allocations: 72.02 kB / 476.8 MB, free: 7.047 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.1126, allocations: 27.86 kB / 476.8 MB, free: 7.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005398/0.1132, allocations: 355.1 kB / 477.2 MB, free: 6.629 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.1134, allocations: 0.7121 MB / 477.9 MB, free: 5.891 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.947e-05/0.1135, allocations: 19.42 kB / 477.9 MB, free: 5.871 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1135, allocations: 0 / 477.9 MB, free: 5.871 MB / 350.1 MB Notification: Performance of Templates: time 0.003814/0.1173, allocations: 2.02 MB / 479.9 MB, free: 3.859 MB / 350.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches