Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001232/0.001232, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.58/1.58, allocations: 222.9 MB / 242.9 MB, free: 15.17 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.2/0.2, allocations: 44.18 MB / 337.3 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 64.98 kB / 409.1 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1027, allocations: 60.82 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.002931/0.1057, allocations: 1.607 MB / 471.5 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007379/0.1064, allocations: 439.1 kB / 472 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.257e-05/0.1065, allocations: 0 / 472 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002471/0.1068, allocations: 95.67 kB / 472.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002022/0.107, allocations: 67.73 kB / 472.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003197/0.1073, allocations: 118.8 kB / 472.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.1075, allocations: 87.81 kB / 472.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.1076, allocations: 28.2 kB / 472.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.953e-05/0.1077, allocations: 43.89 kB / 472.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.858e-05/0.1078, allocations: 59.81 kB / 472.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.1078, allocations: 4 kB / 472.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.282e-05/0.1079, allocations: 47.98 kB / 472.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.473e-05/0.108, allocations: 27.86 kB / 472.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.419e-05/0.108, allocations: 35.73 kB / 472.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.1082, allocations: 135.5 kB / 472.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.1082, allocations: 0 / 472.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1082, allocations: 0 / 472.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.688e-06/0.1082, allocations: 0 / 472.7 MB, free: 11.59 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004456/0.1087, allocations: 425.8 kB / 473.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.1087, allocations: 16.03 kB / 473.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.754e-05/0.1088, allocations: 12.75 kB / 473.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/0.109, allocations: 200.1 kB / 473.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.109, allocations: 8.375 kB / 473.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.27e-05/0.109, allocations: 8.359 kB / 473.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.1092, allocations: 81.73 kB / 473.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.1092, allocations: 0 / 473.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.1093, allocations: 4 kB / 473.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-06/0.1093, allocations: 0 / 473.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001164/0.1094, allocations: 51.94 kB / 473.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004394/0.1098, allocations: 348.5 kB / 473.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.11, allocations: 58.56 kB / 473.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.46e-05/0.1101, allocations: 28.84 kB / 473.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.1101, allocations: 4 kB / 473.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.1101, allocations: 34.55 kB / 473.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.1101, allocations: 0 / 473.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001063/0.1112, allocations: 333.3 kB / 474.3 MB, free: 9.848 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.1112, allocations: 59.39 kB / 474.3 MB, free: 9.777 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001927/0.1114, allocations: 223.5 kB / 474.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.1115, allocations: 29.7 kB / 474.6 MB, free: 9.512 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.477e-05/0.1115, allocations: 112 kB / 474.7 MB, free: 9.398 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.1116, allocations: 39.45 kB / 474.7 MB, free: 9.359 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.922e-05/0.1116, allocations: 33.64 kB / 474.8 MB, free: 9.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.1117, allocations: 330.8 kB / 475.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.1119, allocations: 43.97 kB / 475.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.453e-05/0.112, allocations: 48.09 kB / 475.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002031/0.1122, allocations: 110.9 kB / 475.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.1122, allocations: 0 / 475.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002671/0.1125, allocations: 153.4 kB / 475.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.1125, allocations: 12 kB / 475.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1125, allocations: 0 / 475.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.1125, allocations: 3.938 kB / 475.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.1126, allocations: 31.97 kB / 475.5 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.1127, allocations: 0 / 475.5 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.507e-05/0.1127, allocations: 4 kB / 475.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.1127, allocations: 8 kB / 475.5 MB, free: 8.574 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 (13): * Single equations (assignments): 13 * 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 0.0001036/0.1128, allocations: 137.7 kB / 475.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.781e-05/0.1129, allocations: 19.81 kB / 475.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003791/0.1133, allocations: 190.6 kB / 475.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.1133, allocations: 0 / 475.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.1133, allocations: 3.984 kB / 475.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1133, allocations: 0 / 475.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006106/0.1139, allocations: 0.4951 MB / 476.3 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1139, allocations: 0 / 476.3 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.994e-05/0.114, allocations: 27.98 kB / 476.4 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.114, allocations: 0 / 476.4 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.114, allocations: 3.984 kB / 476.4 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.1141, allocations: 4 kB / 476.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1141, allocations: 0 / 476.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003096/0.1144, allocations: 260.1 kB / 476.6 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.735e-05/0.1144, allocations: 85.02 kB / 476.7 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.1145, allocations: 8 kB / 476.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.64e-05/0.1145, allocations: 3.984 kB / 476.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.1146, allocations: 15.98 kB / 476.7 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.1146, allocations: 4 kB / 476.7 MB, free: 7.227 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001283/0.1147, allocations: 176.2 kB / 476.9 MB, free: 7.055 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1147, allocations: 0 / 476.9 MB, free: 7.055 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000262/0.115, allocations: 27.98 kB / 476.9 MB, free: 7.027 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 (13): * Single equations (assignments): 13 * 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.001027/0.116, allocations: 473.2 kB / 477.4 MB, free: 6.738 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003044/0.1164, allocations: 115.8 kB / 477.5 MB, free: 6.625 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1164, allocations: 0 / 477.5 MB, free: 6.625 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.1165, allocations: 63.91 kB / 477.6 MB, free: 6.562 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004054/0.1169, allocations: 15.98 kB / 477.6 MB, free: 6.547 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005781/0.1175, allocations: 352.7 kB / 477.9 MB, free: 6.172 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.1178, allocations: 0.7236 MB / 478.7 MB, free: 5.422 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.581e-05/0.1179, allocations: 19.44 kB / 478.7 MB, free: 5.402 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1179, allocations: 0 / 478.7 MB, free: 5.402 MB / 350.1 MB Notification: Performance of Templates: time 0.004027/0.1219, allocations: 2.103 MB / 480.8 MB, free: 3.305 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches