Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.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.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test33,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.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008713/0.0008714, allocations: 92.42 kB / 18 MB, free: 5.602 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.001654/0.001654, allocations: 176.9 kB / 18.91 MB, free: 4.738 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.335/1.335, allocations: 223.3 MB / 243 MB, free: 14.44 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.1908/0.1908, allocations: 44.25 MB / 338.3 MB, free: 2.496 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002988/0.0002989, allocations: 9.656 kB / 411 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1007, allocations: 61.93 MB / 472.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test33): time 0.001853/0.1026, allocations: 1.278 MB / 474.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001455/0.104, allocations: 0.9921 MB / 475.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.035e-05/0.1041, allocations: 0 / 475.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002012/0.1043, allocations: 19.91 kB / 475.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001722/0.1045, allocations: 35.91 kB / 475.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002954/0.1048, allocations: 99.44 kB / 475.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.105, allocations: 55.78 kB / 475.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.395e-05/0.1051, allocations: 16 kB / 475.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.145e-05/0.1051, allocations: 19.91 kB / 475.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.1052, allocations: 23.86 kB / 475.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.1053, allocations: 0 / 475.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.1054, allocations: 47.97 kB / 475.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.308e-05/0.1054, allocations: 19.86 kB / 475.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.369e-05/0.1055, allocations: 41.58 kB / 475.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.1056, allocations: 59.91 kB / 475.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.1057, allocations: 0 / 475.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1057, allocations: 0 / 475.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.1057, allocations: 4 kB / 475.6 MB, free: 10.6 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.0004298/0.1061, allocations: 375.5 kB / 476 MB, free: 10.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.1061, allocations: 8.031 kB / 476 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.577e-05/0.1062, allocations: 12.88 kB / 476 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/0.1064, allocations: 184.2 kB / 476.2 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.1064, allocations: 4.375 kB / 476.2 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.1064, allocations: 4.375 kB / 476.2 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.1066, allocations: 75.45 kB / 476.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.547e-06/0.1066, allocations: 0 / 476.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.1066, allocations: 0 / 476.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.1066, allocations: 4 kB / 476.3 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.86e-05/0.1068, allocations: 23.98 kB / 476.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003766/0.1071, allocations: 288.8 kB / 476.6 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.1073, allocations: 46.5 kB / 476.6 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.304e-05/0.1074, allocations: 20.94 kB / 476.6 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.1074, allocations: 0 / 476.6 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.1075, allocations: 38.56 kB / 476.7 MB, free: 9.371 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.1075, allocations: 0 / 476.7 MB, free: 9.371 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000571/0.1081, allocations: 161.6 kB / 476.8 MB, free: 9.207 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.518e-05/0.1081, allocations: 81.11 kB / 476.9 MB, free: 9.109 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.1082, allocations: 133.8 kB / 477 MB, free: 8.969 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.1083, allocations: 25.7 kB / 477.1 MB, free: 8.938 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.315e-05/0.1083, allocations: 88.14 kB / 477.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.1084, allocations: 23.66 kB / 477.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-05/0.1084, allocations: 9.719 kB / 477.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.1085, allocations: 322.8 kB / 477.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.887e-05/0.1086, allocations: 27.98 kB / 477.5 MB, free: 8.457 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.202e-05/0.1087, allocations: 41.69 kB / 477.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.1089, allocations: 64.8 kB / 477.6 MB, free: 8.344 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1089, allocations: 0 / 477.6 MB, free: 8.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002067/0.1091, allocations: 85.67 kB / 477.7 MB, free: 8.254 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.1091, allocations: 11.94 kB / 477.7 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.1091, allocations: 3.984 kB / 477.7 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.1091, allocations: 7.984 kB / 477.7 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.482e-05/0.1092, allocations: 12 kB / 477.8 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.1092, allocations: 0 / 477.8 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.665e-05/0.1093, allocations: 7.984 kB / 477.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.1093, allocations: 4.25 kB / 477.8 MB, free: 8.207 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 8.264e-05/0.1094, allocations: 122.2 kB / 477.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.081e-05/0.1094, allocations: 7.906 kB / 477.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002507/0.1097, allocations: 109.6 kB / 478 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1097, allocations: 0 / 478 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1097, allocations: 0 / 478 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.1097, allocations: 0 / 478 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004324/0.1101, allocations: 374.3 kB / 478.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1101, allocations: 3.938 kB / 478.4 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.861e-05/0.1102, allocations: 19.98 kB / 478.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1102, allocations: 0 / 478.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.503e-06/0.1102, allocations: 0 / 478.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.1102, allocations: 3.938 kB / 478.4 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1102, allocations: 0 / 478.4 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/0.1105, allocations: 187.5 kB / 478.6 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.244e-05/0.1105, allocations: 88.95 kB / 478.7 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.1106, allocations: 4 kB / 478.7 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.465e-05/0.1106, allocations: 15.92 kB / 478.7 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.52e-05/0.1107, allocations: 4 kB / 478.7 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.1107, allocations: 0 / 478.7 MB, free: 7.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.359e-05/0.1108, allocations: 107.3 kB / 478.8 MB, free: 7.074 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1108, allocations: 0 / 478.8 MB, free: 7.074 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002596/0.1111, allocations: 19.98 kB / 478.8 MB, free: 7.055 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.000966/0.112, allocations: 449 kB / 479.3 MB, free: 6.781 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002033/0.1122, allocations: 55.97 kB / 479.3 MB, free: 6.727 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1123, allocations: 0 / 479.3 MB, free: 6.727 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.604e-05/0.1123, allocations: 39.91 kB / 479.3 MB, free: 6.688 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.1127, allocations: 12 kB / 479.4 MB, free: 6.676 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003792/0.1131, allocations: 206.3 kB / 479.6 MB, free: 6.441 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.1133, allocations: 0.6926 MB / 480.3 MB, free: 5.723 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.093e-05/0.1134, allocations: 19.44 kB / 480.3 MB, free: 5.703 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1134, allocations: 0 / 480.3 MB, free: 5.703 MB / 350.1 MB Notification: Performance of Templates: time 0.003266/0.1167, allocations: 1.564 MB / 481.8 MB, free: 4.141 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches