Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 108.3 kB / 18.4 MB, free: 4.699 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.001573/0.001573, allocations: 191 kB / 19.34 MB, free: 3.766 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.368/1.368, allocations: 222.9 MB / 243 MB, free: 15.14 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.21/0.21, allocations: 44.18 MB / 337.4 MB, free: 2.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 66.62 kB / 409.9 MB, free: 26.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.107, allocations: 60.83 MB / 470.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.00307/0.1101, allocations: 1.627 MB / 472.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007814/0.1109, allocations: 459.1 kB / 472.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.37e-05/0.111, allocations: 0 / 472.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005195/0.1115, allocations: 459 kB / 473.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000362/0.1119, allocations: 251.5 kB / 473.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004585/0.1124, allocations: 174.6 kB / 473.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002598/0.1126, allocations: 171.6 kB / 473.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.1128, allocations: 23.98 kB / 473.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.1129, allocations: 107.7 kB / 474 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002417/0.1131, allocations: 215.6 kB / 474.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.379e-05/0.1132, allocations: 4 kB / 474.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.1133, allocations: 47.98 kB / 474.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.1135, allocations: 87.62 kB / 474.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.406e-05/0.1136, allocations: 99 kB / 474.4 MB, free: 9.984 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003261/0.1139, allocations: 267 kB / 474.7 MB, free: 9.723 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1139, allocations: 0 / 474.7 MB, free: 9.723 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.1139, allocations: 7.984 kB / 474.7 MB, free: 9.715 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.1139, allocations: 0 / 474.7 MB, free: 9.715 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007414/0.1147, allocations: 0.6375 MB / 475.3 MB, free: 9.027 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.1147, allocations: 12.03 kB / 475.3 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.93e-05/0.1148, allocations: 44.38 kB / 475.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002812/0.1151, allocations: 296.1 kB / 475.6 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.1151, allocations: 4.375 kB / 475.6 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/0.1151, allocations: 4.375 kB / 475.7 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.1153, allocations: 65.8 kB / 475.7 MB, free: 8.562 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.1153, allocations: 4 kB / 475.7 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.1153, allocations: 0 / 475.7 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.1153, allocations: 0 / 475.7 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.1155, allocations: 39.91 kB / 475.8 MB, free: 8.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006154/0.1161, allocations: 404.6 kB / 476.2 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.1162, allocations: 46.59 kB / 476.2 MB, free: 8.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.308e-05/0.1163, allocations: 20.94 kB / 476.2 MB, free: 7.996 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.1163, allocations: 0 / 476.2 MB, free: 7.996 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.1163, allocations: 38.56 kB / 476.3 MB, free: 7.949 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 2.364e-06/0.1164, allocations: 3.984 kB / 476.3 MB, free: 7.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009233/0.1173, allocations: 311.8 kB / 476.6 MB, free: 7.633 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.1173, allocations: 59.34 kB / 476.6 MB, free: 7.562 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007402/0.1181, allocations: 0.8535 MB / 477.5 MB, free: 6.699 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.1181, allocations: 29.7 kB / 477.5 MB, free: 6.664 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.1183, allocations: 231.9 kB / 477.7 MB, free: 6.434 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.1183, allocations: 23.66 kB / 477.8 MB, free: 6.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.039e-05/0.1184, allocations: 21.7 kB / 477.8 MB, free: 6.383 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.1185, allocations: 362.8 kB / 478.1 MB, free: 6.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.58e-05/0.1186, allocations: 27.97 kB / 478.2 MB, free: 5.992 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.823e-05/0.1187, allocations: 35.92 kB / 478.2 MB, free: 5.957 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.1188, allocations: 76.81 kB / 478.3 MB, free: 5.879 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1188, allocations: 0 / 478.3 MB, free: 5.879 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002551/0.1191, allocations: 145.1 kB / 478.4 MB, free: 5.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.1191, allocations: 4 kB / 478.4 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.1191, allocations: 0 / 478.4 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.1192, allocations: 8 kB / 478.4 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.946e-05/0.1193, allocations: 15.98 kB / 478.4 MB, free: 5.703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.1193, allocations: 7.875 kB / 478.4 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.423e-05/0.1193, allocations: 7.938 kB / 478.5 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.1194, allocations: 8 kB / 478.5 MB, free: 5.68 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 0.0002042/0.1196, allocations: 213.8 kB / 478.7 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.907e-05/0.1196, allocations: 43.44 kB / 478.7 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003513/0.12, allocations: 173.7 kB / 478.9 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.12, allocations: 0 / 478.9 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.12, allocations: 3.938 kB / 478.9 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.12, allocations: 0 / 478.9 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006791/0.1207, allocations: 0.507 MB / 479.4 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1207, allocations: 3.938 kB / 479.4 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.351e-05/0.1208, allocations: 31.95 kB / 479.4 MB, free: 4.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1208, allocations: 0 / 479.4 MB, free: 4.633 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.1208, allocations: 4 kB / 479.4 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.1208, allocations: 4 kB / 479.4 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1209, allocations: 0 / 479.4 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002746/0.1211, allocations: 243.8 kB / 479.7 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.1213, allocations: 116.5 kB / 479.8 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/0.1213, allocations: 0 / 479.8 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.133e-05/0.1214, allocations: 8 kB / 479.8 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.192e-05/0.1214, allocations: 11.92 kB / 479.8 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.1215, allocations: 4 kB / 479.8 MB, free: 4.211 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005885/0.122, allocations: 0.6472 MB / 480.5 MB, free: 3.566 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1221, allocations: 0 / 480.5 MB, free: 3.566 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002751/0.1223, allocations: 31.98 kB / 480.5 MB, free: 3.535 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.001035/0.1234, allocations: 470.6 kB / 481 MB, free: 3.258 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002386/0.1236, allocations: 75.89 kB / 481 MB, free: 3.184 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.1236, allocations: 4 kB / 481 MB, free: 3.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.583e-05/0.1237, allocations: 39.97 kB / 481.1 MB, free: 3.141 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004093/0.1242, allocations: 29.89 kB / 481.1 MB, free: 3.113 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.1252, allocations: 0.8313 MB / 481.9 MB, free: 2.246 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003995/0.1256, allocations: 0.826 MB / 482.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.165e-05/0.1257, allocations: 24.72 kB / 482.8 MB, free: 1.371 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.997e-05/0.1257, allocations: 19.42 kB / 482.8 MB, free: 1.352 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1257, allocations: 0 / 482.8 MB, free: 1.352 MB / 350.1 MB Notification: Performance of Templates: time 0.005095/0.1308, allocations: 1.724 MB / 484.5 MB, free: 15.64 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches