Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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.CombiTable1Dv.Test8,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.Test8") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test8,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.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 106.3 kB / 17.98 MB, free: 5.391 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.001013/0.001013, allocations: 193.3 kB / 18.9 MB, free: 4.469 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.334/1.334, allocations: 222.9 MB / 242.6 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.2085/0.2085, allocations: 44.17 MB / 336.9 MB, free: 2.941 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 61.34 kB / 408.5 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09778/0.09904, allocations: 60.83 MB / 469.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.003029/0.1021, allocations: 1.618 MB / 471 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006862/0.1028, allocations: 411.3 kB / 471.4 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.388e-05/0.1029, allocations: 0 / 471.4 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002058/0.1031, allocations: 19.92 kB / 471.4 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000175/0.1033, allocations: 39.84 kB / 471.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.1036, allocations: 91.81 kB / 471.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.1037, allocations: 59.84 kB / 471.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.61e-05/0.1038, allocations: 12 kB / 471.6 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.158e-05/0.1039, allocations: 23.92 kB / 471.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.053e-05/0.1039, allocations: 23.84 kB / 471.7 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.1039, allocations: 4 kB / 471.7 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.934e-05/0.104, allocations: 27.94 kB / 471.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.659e-05/0.1041, allocations: 15.92 kB / 471.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.822e-05/0.1041, allocations: 15.88 kB / 471.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.1043, allocations: 63.91 kB / 471.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1043, allocations: 3.938 kB / 471.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1043, allocations: 0 / 471.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1043, allocations: 0 / 471.8 MB, free: 12.29 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005919/0.1049, allocations: 387.4 kB / 472.2 MB, free: 11.87 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.1049, allocations: 8.031 kB / 472.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.091e-05/0.105, allocations: 8.844 kB / 472.2 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002273/0.1052, allocations: 184.3 kB / 472.4 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.1052, allocations: 4.312 kB / 472.4 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.591e-05/0.1053, allocations: 4.375 kB / 472.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.1054, allocations: 49.81 kB / 472.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.1055, allocations: 0 / 472.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.1055, allocations: 4 kB / 472.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1055, allocations: 4 kB / 472.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.27e-05/0.1056, allocations: 19.98 kB / 472.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004474/0.106, allocations: 284.8 kB / 472.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000221/0.1063, allocations: 42.5 kB / 472.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.579e-05/0.1063, allocations: 24.94 kB / 472.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.1064, allocations: 0 / 472.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.1064, allocations: 34.56 kB / 472.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1064, allocations: 0 / 472.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006283/0.107, allocations: 153.3 kB / 473 MB, free: 10.94 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.1071, allocations: 51.41 kB / 473 MB, free: 10.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.1072, allocations: 159.9 kB / 473.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.1072, allocations: 25.7 kB / 473.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.973e-05/0.1073, allocations: 100.1 kB / 473.3 MB, free: 10.58 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.1073, allocations: 15.75 kB / 473.3 MB, free: 10.56 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/0.1074, allocations: 17.72 kB / 473.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.1075, allocations: 326.7 kB / 473.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.844e-05/0.1076, allocations: 19.98 kB / 473.7 MB, free: 10.19 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.015e-05/0.1076, allocations: 27.97 kB / 473.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.1078, allocations: 56.77 kB / 473.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1078, allocations: 192 / 473.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001719/0.108, allocations: 85.58 kB / 473.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.108, allocations: 4 kB / 473.8 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.108, allocations: 4 kB / 473.9 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.108, allocations: 0 / 473.9 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.815e-05/0.1081, allocations: 15.98 kB / 473.9 MB, free: 9.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.1081, allocations: 0 / 473.9 MB, free: 9.992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.887e-05/0.1081, allocations: 7.984 kB / 473.9 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.1082, allocations: 3.938 kB / 473.9 MB, free: 9.98 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 (5): * Single equations (assignments): 5 * 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.786e-05/0.1083, allocations: 126.2 kB / 474 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.032e-05/0.1083, allocations: 7.906 kB / 474 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002163/0.1085, allocations: 93.95 kB / 474.1 MB, free: 9.742 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1085, allocations: 8 kB / 474.1 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1085, allocations: 0 / 474.1 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1085, allocations: 0 / 474.1 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00039/0.1089, allocations: 354.4 kB / 474.5 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.109, allocations: 0 / 474.5 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.797e-05/0.109, allocations: 8 kB / 474.5 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.109, allocations: 4 kB / 474.5 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.109, allocations: 4 kB / 474.5 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.109, allocations: 3.938 kB / 474.5 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.109, allocations: 0 / 474.5 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.1093, allocations: 183.7 kB / 474.7 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.488e-05/0.1093, allocations: 84.95 kB / 474.7 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.1093, allocations: 7.984 kB / 474.7 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.474e-05/0.1094, allocations: 7.938 kB / 474.8 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.359e-05/0.1094, allocations: 8 kB / 474.8 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.1094, allocations: 0 / 474.8 MB, free: 8.992 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.258e-05/0.1095, allocations: 119.2 kB / 474.9 MB, free: 8.875 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.453e-06/0.1095, allocations: 4 kB / 474.9 MB, free: 8.871 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002385/0.1098, allocations: 19.92 kB / 474.9 MB, free: 8.852 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 (5): * Single equations (assignments): 5 * 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.0008627/0.1106, allocations: 390.1 kB / 475.3 MB, free: 8.621 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000192/0.1108, allocations: 55.95 kB / 475.3 MB, free: 8.566 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1109, allocations: 0 / 475.3 MB, free: 8.566 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.536e-05/0.1109, allocations: 31.92 kB / 475.4 MB, free: 8.535 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.1113, allocations: 22.42 kB / 475.4 MB, free: 8.516 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004039/0.1117, allocations: 239.5 kB / 475.6 MB, free: 8.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.112, allocations: 0.6924 MB / 476.3 MB, free: 7.531 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.96e-05/0.112, allocations: 19.42 kB / 476.3 MB, free: 7.512 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.112, allocations: 0 / 476.3 MB, free: 7.512 MB / 350.1 MB Notification: Performance of Templates: time 0.002855/0.1149, allocations: 1.414 MB / 477.8 MB, free: 6.102 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches