Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001497/0.001497, 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.001776/0.001776, 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.342/1.342, allocations: 222.9 MB / 242.4 MB, free: 15.46 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.1955/0.1955, allocations: 44.17 MB / 336.8 MB, free: 3.004 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 64.89 kB / 408.4 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09761/0.09885, allocations: 60.83 MB / 469.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.002879/0.1018, allocations: 1.641 MB / 470.8 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007006/0.1025, allocations: 403.3 kB / 471.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.03e-05/0.1025, allocations: 4 kB / 471.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002571/0.1028, allocations: 91.8 kB / 471.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001433/0.103, allocations: 59.86 kB / 471.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000223/0.1032, allocations: 79.48 kB / 471.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.1033, allocations: 71.81 kB / 471.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.1035, allocations: 16.17 kB / 471.5 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.9e-05/0.1035, allocations: 35.84 kB / 471.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.357e-05/0.1036, allocations: 47.83 kB / 471.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.1037, allocations: 4 kB / 471.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.891e-05/0.1037, allocations: 43.97 kB / 471.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.849e-05/0.1038, allocations: 23.86 kB / 471.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.176e-05/0.1038, allocations: 35.73 kB / 471.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001341/0.104, allocations: 80.11 kB / 471.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.104, allocations: 0 / 471.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.104, allocations: 0 / 471.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.596e-06/0.104, allocations: 0 / 471.8 MB, free: 12.22 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.0004421/0.1045, allocations: 411 kB / 472.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.1045, allocations: 8.031 kB / 472.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.864e-05/0.1046, allocations: 12.84 kB / 472.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.1047, allocations: 208.7 kB / 472.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.1048, allocations: 384 / 472.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.1048, allocations: 384 / 472.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.1049, allocations: 65.55 kB / 472.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.1049, allocations: 0 / 472.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.105, allocations: 0 / 472.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.105, allocations: 4 kB / 472.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.511e-05/0.1051, allocations: 27.97 kB / 472.5 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003601/0.1054, allocations: 296.7 kB / 472.8 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.1056, allocations: 46.48 kB / 472.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.08e-05/0.1056, allocations: 16.86 kB / 472.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.1056, allocations: 4 kB / 472.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.1057, allocations: 30.56 kB / 472.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.1057, allocations: 0 / 472.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008527/0.1065, allocations: 225.4 kB / 473.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/0.1066, allocations: 51.41 kB / 473.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.1068, allocations: 236.6 kB / 473.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.1068, allocations: 25.7 kB / 473.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.595e-05/0.1069, allocations: 108.1 kB / 473.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.1069, allocations: 19.78 kB / 473.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.21e-05/0.107, allocations: 33.64 kB / 473.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.1071, allocations: 326.8 kB / 473.9 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.173e-05/0.1072, allocations: 19.98 kB / 473.9 MB, free: 9.867 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.738e-05/0.1073, allocations: 27.98 kB / 474 MB, free: 9.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.1074, allocations: 56.83 kB / 474 MB, free: 9.781 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1074, allocations: 0 / 474 MB, free: 9.781 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001965/0.1076, allocations: 97.72 kB / 474.1 MB, free: 9.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.1076, allocations: 11.98 kB / 474.1 MB, free: 9.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.1076, allocations: 0 / 474.1 MB, free: 9.668 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.1077, allocations: 4 kB / 474.1 MB, free: 9.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.1078, allocations: 19.94 kB / 474.1 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.1078, allocations: 15.92 kB / 474.2 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.459e-05/0.1078, allocations: 11.94 kB / 474.2 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.1079, allocations: 0 / 474.2 MB, free: 9.617 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 (8): * Single equations (assignments): 8 * 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.581e-05/0.108, allocations: 130.4 kB / 474.3 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.597e-05/0.108, allocations: 19.75 kB / 474.3 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002575/0.1083, allocations: 119 kB / 474.4 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1083, allocations: 0 / 474.4 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1083, allocations: 7.875 kB / 474.4 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1083, allocations: 0 / 474.4 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004836/0.1088, allocations: 399.3 kB / 474.8 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.1088, allocations: 4 kB / 474.8 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.879e-05/0.1089, allocations: 23.92 kB / 474.9 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.1089, allocations: 0 / 474.9 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.1089, allocations: 4 kB / 474.9 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1089, allocations: 0 / 474.9 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1089, allocations: 0 / 474.9 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002376/0.1091, allocations: 212.1 kB / 475.1 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.834e-05/0.1092, allocations: 88.95 kB / 475.1 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.1092, allocations: 0 / 475.1 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.195e-05/0.1093, allocations: 8 kB / 475.2 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.892e-05/0.1093, allocations: 7.984 kB / 475.2 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.1093, allocations: 0 / 475.2 MB, free: 8.508 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001292/0.1095, allocations: 171.5 kB / 475.3 MB, free: 8.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1095, allocations: 0 / 475.3 MB, free: 8.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002494/0.1097, allocations: 31.98 kB / 475.4 MB, free: 8.309 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0009918/0.1107, allocations: 448.7 kB / 475.8 MB, free: 8.047 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002084/0.111, allocations: 67.91 kB / 475.9 MB, free: 7.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.111, allocations: 0 / 475.9 MB, free: 7.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.453e-05/0.1111, allocations: 32.14 kB / 475.9 MB, free: 7.949 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.1114, allocations: 24.08 kB / 475.9 MB, free: 7.926 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004837/0.1119, allocations: 334.4 kB / 476.3 MB, free: 7.562 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002636/0.1122, allocations: 0.7043 MB / 477 MB, free: 6.832 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.398e-05/0.1122, allocations: 11.44 kB / 477 MB, free: 6.82 MB / 350.1 MB Notification: Performance of SimCode: time 1.553e-06/0.1122, allocations: 0 / 477 MB, free: 6.82 MB / 350.1 MB Notification: Performance of Templates: time 0.00338/0.1156, allocations: 1.73 MB / 478.7 MB, free: 5.094 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches