Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.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.Test11,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.Test11") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test11,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.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.001223/0.001223, allocations: 195.3 kB / 19.23 MB, free: 3.961 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.391/1.391, allocations: 222.9 MB / 242.9 MB, free: 15.22 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.2015/0.2015, allocations: 44.18 MB / 337.3 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 60.62 kB / 409.1 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09681/0.0981, allocations: 60.82 MB / 469.9 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.003052/0.1012, allocations: 1.561 MB / 471.5 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007712/0.102, allocations: 407.3 kB / 471.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.75e-05/0.1021, allocations: 3.938 kB / 471.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002046/0.1023, allocations: 31.83 kB / 471.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002023/0.1025, allocations: 39.84 kB / 472 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003213/0.1028, allocations: 103.7 kB / 472.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.103, allocations: 59.83 kB / 472.1 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.874e-05/0.1031, allocations: 16 kB / 472.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.915e-05/0.1031, allocations: 19.92 kB / 472.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.864e-05/0.1032, allocations: 15.88 kB / 472.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.1032, allocations: 4 kB / 472.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.772e-05/0.1033, allocations: 31.91 kB / 472.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.261e-05/0.1034, allocations: 23.92 kB / 472.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.755e-05/0.1034, allocations: 19.81 kB / 472.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001695/0.1036, allocations: 75.8 kB / 472.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1036, allocations: 0 / 472.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1036, allocations: 0 / 472.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.1036, allocations: 4 kB / 472.3 MB, free: 11.98 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.0004701/0.1041, allocations: 391.4 kB / 472.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.1042, allocations: 12.03 kB / 472.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.484e-05/0.1042, allocations: 8.844 kB / 472.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.1044, allocations: 187.1 kB / 472.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.1045, allocations: 4.375 kB / 472.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.693e-05/0.1045, allocations: 384 / 472.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.1047, allocations: 53.75 kB / 473 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.1047, allocations: 0 / 473 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.1047, allocations: 4 kB / 473 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.1047, allocations: 4 kB / 473 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.912e-05/0.1048, allocations: 27.91 kB / 473 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004567/0.1053, allocations: 284.8 kB / 473.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002127/0.1055, allocations: 46.5 kB / 473.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.24e-05/0.1056, allocations: 24.92 kB / 473.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.1056, allocations: 0 / 473.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.1056, allocations: 34.56 kB / 473.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.1056, allocations: 0 / 473.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006044/0.1063, allocations: 149.3 kB / 473.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/0.1063, allocations: 55.41 kB / 473.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.1065, allocations: 161.8 kB / 473.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.1065, allocations: 25.7 kB / 473.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.799e-05/0.1066, allocations: 96.12 kB / 473.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.694e-05/0.1066, allocations: 27.64 kB / 473.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-05/0.1066, allocations: 17.72 kB / 473.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.1067, allocations: 322.8 kB / 474.2 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.386e-05/0.1068, allocations: 23.98 kB / 474.2 MB, free: 9.852 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.14e-05/0.1069, allocations: 23.92 kB / 474.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.107, allocations: 56.95 kB / 474.3 MB, free: 9.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.107, allocations: 0 / 474.3 MB, free: 9.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001833/0.1072, allocations: 85.56 kB / 474.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.1073, allocations: 8 kB / 474.4 MB, free: 9.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.1073, allocations: 0 / 474.4 MB, free: 9.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.1073, allocations: 4 kB / 474.4 MB, free: 9.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.287e-05/0.1074, allocations: 11.98 kB / 474.4 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.1074, allocations: 4 kB / 474.4 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.757e-05/0.1074, allocations: 4 kB / 474.4 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.1074, allocations: 4 kB / 474.4 MB, free: 9.645 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.104e-05/0.1075, allocations: 121.8 kB / 474.6 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.505e-05/0.1076, allocations: 11.84 kB / 474.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002315/0.1078, allocations: 105.9 kB / 474.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1078, allocations: 0 / 474.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.1078, allocations: 0 / 474.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.1078, allocations: 4 kB / 474.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004073/0.1082, allocations: 354.4 kB / 475 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.1083, allocations: 0 / 475 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.225e-05/0.1083, allocations: 11.94 kB / 475 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.1083, allocations: 8 kB / 475 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.1083, allocations: 0 / 475 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.1084, allocations: 3.938 kB / 475 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1084, allocations: 192 / 475 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002271/0.1086, allocations: 187.4 kB / 475.2 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.64e-05/0.1086, allocations: 81.02 kB / 475.3 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.1087, allocations: 7.984 kB / 475.3 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.634e-05/0.1087, allocations: 7.938 kB / 475.3 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.845e-05/0.1088, allocations: 7.938 kB / 475.3 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.1088, allocations: 0 / 475.3 MB, free: 8.645 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.471e-05/0.1089, allocations: 133.6 kB / 475.5 MB, free: 8.516 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1089, allocations: 0 / 475.5 MB, free: 8.516 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002479/0.1092, allocations: 16 kB / 475.5 MB, free: 8.5 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.0008545/0.11, allocations: 401.5 kB / 475.9 MB, free: 8.262 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002025/0.1102, allocations: 55.97 kB / 475.9 MB, free: 8.207 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1102, allocations: 0 / 475.9 MB, free: 8.207 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.105e-05/0.1103, allocations: 31.92 kB / 476 MB, free: 8.176 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.1107, allocations: 15.92 kB / 476 MB, free: 8.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004281/0.1111, allocations: 227.8 kB / 476.2 MB, free: 7.902 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/0.1115, allocations: 0.6924 MB / 476.9 MB, free: 7.184 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.489e-05/0.1115, allocations: 15.44 kB / 476.9 MB, free: 7.168 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1115, allocations: 0 / 476.9 MB, free: 7.168 MB / 350.1 MB Notification: Performance of Templates: time 0.003099/0.1146, allocations: 1.442 MB / 478.3 MB, free: 5.73 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches