Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.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.CombiTable2Ds.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 110.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.00109/0.00109, 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.392/1.392, allocations: 222.9 MB / 242.5 MB, free: 15.35 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.1988/0.1988, allocations: 44.17 MB / 336.8 MB, free: 2.984 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 60.97 kB / 408.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09198/0.09323, allocations: 60.82 MB / 469.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test14): time 0.002807/0.09608, allocations: 1.684 MB / 470.9 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.09736, allocations: 1.015 MB / 471.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.194e-05/0.0974, allocations: 0 / 471.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001661/0.09758, allocations: 15.91 kB / 471.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001467/0.09775, allocations: 35.91 kB / 471.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002752/0.09803, allocations: 126.5 kB / 472 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.09815, allocations: 55.84 kB / 472.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.288e-05/0.09824, allocations: 16.17 kB / 472.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.248e-05/0.09829, allocations: 23.86 kB / 472.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.09841, allocations: 23.86 kB / 472.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.09843, allocations: 8 kB / 472.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.09854, allocations: 55.95 kB / 472.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.838e-05/0.0986, allocations: 11.94 kB / 472.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.942e-05/0.09863, allocations: 19.86 kB / 472.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001233/0.09876, allocations: 75.77 kB / 472.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.09877, allocations: 0 / 472.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.09878, allocations: 0 / 472.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.09879, allocations: 0 / 472.3 MB, free: 11.67 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004187/0.09921, allocations: 383.5 kB / 472.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.09925, allocations: 12.03 kB / 472.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.005e-05/0.0993, allocations: 16.83 kB / 472.7 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.09947, allocations: 184.2 kB / 472.9 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-06/0.09948, allocations: 4.359 kB / 472.9 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.09951, allocations: 4.375 kB / 472.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.09967, allocations: 71.33 kB / 473 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.09969, allocations: 0 / 473 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.09971, allocations: 4 kB / 473 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.09972, allocations: 4 kB / 473 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/0.09986, allocations: 43.89 kB / 473 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003121/0.1002, allocations: 284.7 kB / 473.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.1003, allocations: 42.56 kB / 473.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.847e-05/0.1004, allocations: 24.94 kB / 473.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.1004, allocations: 0 / 473.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.1004, allocations: 42.48 kB / 473.4 MB, free: 10.4 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.1004, allocations: 0 / 473.4 MB, free: 10.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007237/0.1012, allocations: 201.3 kB / 473.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.1012, allocations: 77.11 kB / 473.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.1014, allocations: 142.6 kB / 473.8 MB, free: 9.957 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.1014, allocations: 29.64 kB / 473.9 MB, free: 9.922 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.385e-05/0.1014, allocations: 96.03 kB / 474 MB, free: 9.824 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.378e-05/0.1015, allocations: 23.72 kB / 474 MB, free: 9.801 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.02e-05/0.1015, allocations: 29.7 kB / 474 MB, free: 9.766 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.739e-05/0.1016, allocations: 314.8 kB / 474.3 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.1017, allocations: 31.97 kB / 474.3 MB, free: 9.418 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.1019, allocations: 45.69 kB / 474.4 MB, free: 9.367 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002069/0.1021, allocations: 76.84 kB / 474.5 MB, free: 9.289 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1021, allocations: 0 / 474.5 MB, free: 9.289 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002685/0.1024, allocations: 109.5 kB / 474.6 MB, free: 9.176 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.1024, allocations: 4 kB / 474.6 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1024, allocations: 320 / 474.6 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.1024, allocations: 4 kB / 474.6 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.1025, allocations: 23.97 kB / 474.6 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.1025, allocations: 0 / 474.6 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.079e-05/0.1026, allocations: 11.94 kB / 474.6 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.1026, allocations: 11.97 kB / 474.6 MB, free: 9.121 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 (7): * Single equations (assignments): 7 * 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 7.91e-05/0.1027, allocations: 118.4 kB / 474.7 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.356e-05/0.1027, allocations: 7.844 kB / 474.8 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003154/0.1031, allocations: 129.9 kB / 474.9 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1031, allocations: 4 kB / 474.9 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1031, allocations: 0 / 474.9 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1031, allocations: 3.938 kB / 474.9 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004927/0.1036, allocations: 378.5 kB / 475.3 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1036, allocations: 0 / 475.3 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.301e-05/0.1037, allocations: 23.92 kB / 475.3 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1037, allocations: 4 kB / 475.3 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.1037, allocations: 7.938 kB / 475.3 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1037, allocations: 0 / 475.3 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1037, allocations: 0 / 475.3 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002907/0.104, allocations: 211.4 kB / 475.5 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.797e-05/0.1041, allocations: 85.02 kB / 475.6 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.1041, allocations: 3.938 kB / 475.6 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.938e-05/0.1042, allocations: 11.98 kB / 475.6 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.919e-05/0.1042, allocations: 4.281 kB / 475.6 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.1043, allocations: 11.92 kB / 475.6 MB, free: 8.031 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.865e-05/0.1043, allocations: 110.1 kB / 475.7 MB, free: 7.926 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1043, allocations: 0 / 475.7 MB, free: 7.926 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.1046, allocations: 16 kB / 475.7 MB, free: 7.91 MB / 350.1 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 (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.0009655/0.1056, allocations: 444.5 kB / 476.2 MB, free: 7.645 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003052/0.1059, allocations: 83.92 kB / 476.3 MB, free: 7.562 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1059, allocations: 0 / 476.3 MB, free: 7.562 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.106, allocations: 43.91 kB / 476.3 MB, free: 7.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.1064, allocations: 20.47 kB / 476.3 MB, free: 7.504 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004173/0.1068, allocations: 217.5 kB / 476.5 MB, free: 7.254 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.1071, allocations: 0.6926 MB / 477.2 MB, free: 6.535 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.73e-05/0.1071, allocations: 19.42 kB / 477.2 MB, free: 6.516 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1072, allocations: 0 / 477.2 MB, free: 6.516 MB / 350.1 MB Notification: Performance of Templates: time 0.003648/0.1108, allocations: 1.7 MB / 478.9 MB, free: 4.816 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test14/Test14.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches