Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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.Test30,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.CombiTable1Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,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.CombiTable1Dv.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 103.3 kB / 18.4 MB, free: 4.57 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.0009935/0.0009936, allocations: 192 kB / 19.34 MB, free: 3.641 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.156/1.156, allocations: 222.9 MB / 243 MB, free: 15.08 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.1784/0.1784, allocations: 44.17 MB / 337.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 65.55 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09666/0.09782, allocations: 60.83 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.004104/0.102, allocations: 1.575 MB / 472.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008599/0.1029, allocations: 419.1 kB / 472.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.863e-05/0.103, allocations: 4 kB / 472.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000324/0.1033, allocations: 75.77 kB / 472.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002194/0.1036, allocations: 67.73 kB / 472.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000321/0.1039, allocations: 107.7 kB / 472.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001792/0.1041, allocations: 75.75 kB / 473 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.1042, allocations: 16.17 kB / 473 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.874e-05/0.1043, allocations: 31.91 kB / 473.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.1044, allocations: 63.81 kB / 473.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.1044, allocations: 4 kB / 473.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.935e-05/0.1045, allocations: 39.98 kB / 473.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.204e-05/0.1046, allocations: 19.92 kB / 473.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.15e-05/0.1047, allocations: 27.8 kB / 473.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001963/0.1049, allocations: 103.6 kB / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1049, allocations: 0 / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1049, allocations: 0 / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.1049, allocations: 0 / 473.3 MB, free: 11.02 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.0005071/0.1054, allocations: 411 kB / 473.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.1055, allocations: 12.02 kB / 473.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.55e-05/0.1055, allocations: 8.844 kB / 473.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.1057, allocations: 192.1 kB / 473.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.632e-06/0.1057, allocations: 384 / 473.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.1057, allocations: 4.375 kB / 473.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.1059, allocations: 61.55 kB / 474 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.1059, allocations: 3.906 kB / 474 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.1059, allocations: 4 kB / 474 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.1059, allocations: 4 kB / 474 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.291e-05/0.106, allocations: 27.97 kB / 474 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004046/0.1065, allocations: 296.8 kB / 474.3 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.442e-05/0.1066, allocations: 46.5 kB / 474.4 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.877e-05/0.1066, allocations: 24.88 kB / 474.4 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.1067, allocations: 7.984 kB / 474.4 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.1067, allocations: 30.56 kB / 474.4 MB, free: 9.742 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.1067, allocations: 3.938 kB / 474.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007628/0.1074, allocations: 241 kB / 474.7 MB, free: 9.496 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.1075, allocations: 51.41 kB / 474.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.1077, allocations: 214.1 kB / 474.9 MB, free: 9.215 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.1077, allocations: 25.7 kB / 475 MB, free: 9.184 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.952e-05/0.1077, allocations: 104 kB / 475.1 MB, free: 9.078 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.1078, allocations: 27.64 kB / 475.1 MB, free: 9.051 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/0.1078, allocations: 21.72 kB / 475.1 MB, free: 9.023 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.1079, allocations: 322.8 kB / 475.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.206e-05/0.108, allocations: 31.98 kB / 475.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.464e-05/0.1081, allocations: 35.98 kB / 475.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.1082, allocations: 72.81 kB / 475.6 MB, free: 8.559 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1082, allocations: 0 / 475.6 MB, free: 8.559 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001913/0.1084, allocations: 113.5 kB / 475.7 MB, free: 8.441 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.1084, allocations: 7.438 kB / 475.7 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.1084, allocations: 4 kB / 475.7 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.1085, allocations: 4 kB / 475.7 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.452e-05/0.1085, allocations: 15.98 kB / 475.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.1086, allocations: 7.875 kB / 475.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.86e-05/0.1086, allocations: 8 kB / 475.7 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.1086, allocations: 4.312 kB / 475.7 MB, free: 8.395 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 8.324e-05/0.1087, allocations: 125.8 kB / 475.8 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.264e-05/0.1087, allocations: 11.91 kB / 475.9 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002404/0.109, allocations: 126.3 kB / 476 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.109, allocations: 3.984 kB / 476 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.109, allocations: 7.938 kB / 476 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.109, allocations: 0 / 476 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004452/0.1095, allocations: 411.2 kB / 476.4 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.1095, allocations: 32 / 476.4 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.233e-05/0.1096, allocations: 31.86 kB / 476.4 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1096, allocations: 0 / 476.4 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.1096, allocations: 3.938 kB / 476.4 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1096, allocations: 4 kB / 476.4 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1096, allocations: 0 / 476.4 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/0.1098, allocations: 216.2 kB / 476.6 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.381e-05/0.1099, allocations: 88.95 kB / 476.7 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.1099, allocations: 4 kB / 476.7 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.718e-05/0.11, allocations: 11.94 kB / 476.7 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.293e-05/0.11, allocations: 7.984 kB / 476.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.11, allocations: 3.938 kB / 476.8 MB, free: 7.246 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001088/0.1101, allocations: 155.2 kB / 476.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1101, allocations: 0 / 476.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002288/0.1104, allocations: 20 kB / 476.9 MB, free: 7.074 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.0008694/0.1112, allocations: 451.1 kB / 477.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001972/0.1115, allocations: 87.86 kB / 477.5 MB, free: 6.727 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1115, allocations: 0 / 477.5 MB, free: 6.727 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.068e-05/0.1116, allocations: 39.92 kB / 477.5 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.000296/0.1119, allocations: 27.92 kB / 477.5 MB, free: 6.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003788/0.1122, allocations: 251.3 kB / 477.8 MB, free: 6.379 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.1125, allocations: 0.7158 MB / 478.5 MB, free: 5.637 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.636e-05/0.1126, allocations: 16.64 kB / 478.5 MB, free: 5.617 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.604e-05/0.1126, allocations: 15.44 kB / 478.5 MB, free: 5.605 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1126, allocations: 0 / 478.5 MB, free: 5.605 MB / 350.1 MB Notification: Performance of Templates: time 0.1482/0.2608, allocations: 1.359 MB / 479.9 MB, free: 4.258 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches