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.001184/0.001191, allocations: 104.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.001171/0.001171, allocations: 187 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.501/1.501, allocations: 222.9 MB / 243 MB, free: 15.06 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.2116/0.2116, allocations: 44.18 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 70.64 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.107, allocations: 60.82 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.003075/0.1101, allocations: 1.606 MB / 472.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008148/0.111, allocations: 435.1 kB / 472.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.329e-05/0.111, allocations: 4 kB / 472.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002674/0.1113, allocations: 87.73 kB / 472.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002325/0.1116, allocations: 75.72 kB / 472.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003336/0.1119, allocations: 119.3 kB / 473 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001686/0.1121, allocations: 95.73 kB / 473.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.1122, allocations: 31.98 kB / 473.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.289e-05/0.1123, allocations: 31.91 kB / 473.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.1124, allocations: 63.75 kB / 473.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.1125, allocations: 8 kB / 473.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.938e-05/0.1126, allocations: 47.97 kB / 473.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.228e-05/0.1126, allocations: 23.92 kB / 473.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.006e-05/0.1127, allocations: 39.62 kB / 473.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001878/0.1129, allocations: 127.5 kB / 473.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.1129, allocations: 0 / 473.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1129, allocations: 0 / 473.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1129, allocations: 0 / 473.5 MB, free: 10.86 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.0004668/0.1134, allocations: 434.9 kB / 473.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.1134, allocations: 8.031 kB / 473.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.453e-05/0.1135, allocations: 16.75 kB / 473.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.1137, allocations: 208 kB / 474.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-06/0.1137, allocations: 384 / 474.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.443e-05/0.1137, allocations: 12.38 kB / 474.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.1139, allocations: 77.72 kB / 474.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.1139, allocations: 0 / 474.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.1139, allocations: 4 kB / 474.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.1139, allocations: 4 kB / 474.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.1141, allocations: 47.95 kB / 474.3 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004303/0.1145, allocations: 336.6 kB / 474.6 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.1146, allocations: 70.55 kB / 474.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.73e-05/0.1147, allocations: 28.84 kB / 474.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.1147, allocations: 4.094 kB / 474.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.1148, allocations: 30.56 kB / 474.7 MB, free: 9.445 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.1148, allocations: 0 / 474.7 MB, free: 9.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001014/0.1158, allocations: 337.3 kB / 475.1 MB, free: 9.109 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/0.1158, allocations: 51.41 kB / 475.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.116, allocations: 231.5 kB / 475.3 MB, free: 8.809 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.1161, allocations: 29.7 kB / 475.4 MB, free: 8.773 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.655e-05/0.1161, allocations: 116 kB / 475.5 MB, free: 8.656 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.1162, allocations: 39.44 kB / 475.5 MB, free: 8.617 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.455e-05/0.1162, allocations: 29.7 kB / 475.6 MB, free: 8.582 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.97e-05/0.1163, allocations: 326.8 kB / 475.9 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.1165, allocations: 43.97 kB / 475.9 MB, free: 8.211 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.1166, allocations: 47.97 kB / 476 MB, free: 8.164 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001921/0.1168, allocations: 111.9 kB / 476.1 MB, free: 8.055 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1168, allocations: 0 / 476.1 MB, free: 8.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002712/0.1171, allocations: 157.5 kB / 476.2 MB, free: 7.895 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.1171, allocations: 8 kB / 476.2 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.1171, allocations: 0 / 476.2 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.1171, allocations: 3.938 kB / 476.2 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.1172, allocations: 27.92 kB / 476.3 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.1172, allocations: 7.938 kB / 476.3 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.21e-05/0.1173, allocations: 3.984 kB / 476.3 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.1173, allocations: 4 kB / 476.3 MB, free: 7.84 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.0001031/0.1174, allocations: 141.8 kB / 476.4 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.884e-05/0.1175, allocations: 19.81 kB / 476.4 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003537/0.1178, allocations: 179.1 kB / 476.6 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1178, allocations: 3.938 kB / 476.6 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.1178, allocations: 0 / 476.6 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.1178, allocations: 3.938 kB / 476.6 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006018/0.1185, allocations: 0.4913 MB / 477.1 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1185, allocations: 4 kB / 477.1 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.805e-05/0.1186, allocations: 23.98 kB / 477.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1186, allocations: 0 / 477.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.1186, allocations: 4 kB / 477.1 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.1186, allocations: 0 / 477.1 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1186, allocations: 0 / 477.1 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002998/0.1189, allocations: 264.1 kB / 477.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.887e-05/0.119, allocations: 88.95 kB / 477.5 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.168e-05/0.119, allocations: 8 kB / 477.5 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.626e-05/0.1191, allocations: 7.984 kB / 477.5 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.525e-05/0.1192, allocations: 8 kB / 477.5 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.1192, allocations: 7.984 kB / 477.5 MB, free: 6.492 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001382/0.1193, allocations: 172.2 kB / 477.7 MB, free: 6.324 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1193, allocations: 0 / 477.7 MB, free: 6.324 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002594/0.1196, allocations: 32 kB / 477.7 MB, free: 6.293 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.0009925/0.1206, allocations: 462.7 kB / 478.2 MB, free: 6.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002678/0.1209, allocations: 123.8 kB / 478.3 MB, free: 5.898 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1209, allocations: 0 / 478.3 MB, free: 5.898 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.121, allocations: 59.91 kB / 478.3 MB, free: 5.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.1214, allocations: 19.5 kB / 478.4 MB, free: 5.824 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000502/0.1219, allocations: 319.6 kB / 478.7 MB, free: 5.484 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.1222, allocations: 0.7197 MB / 479.4 MB, free: 4.738 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.333e-05/0.1222, allocations: 24.55 kB / 479.4 MB, free: 4.715 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.784e-05/0.1223, allocations: 19.42 kB / 479.4 MB, free: 4.695 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1223, allocations: 3.938 kB / 479.4 MB, free: 4.691 MB / 350.1 MB Notification: Performance of Templates: time 0.003947/0.1262, allocations: 1.585 MB / 481 MB, free: 3.113 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 -s gbode -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