Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.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.CombiTable2Ds.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001375, 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.001365/0.001365, 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.384/1.384, allocations: 222.9 MB / 242.9 MB, free: 15.16 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.2156/0.2156, allocations: 44.18 MB / 337.3 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 65.17 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1051, allocations: 60.82 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test26): time 0.00295/0.1081, allocations: 1.643 MB / 471.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007181/0.1088, allocations: 427.1 kB / 472 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.578e-05/0.1089, allocations: 0 / 472 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002235/0.1091, allocations: 51.81 kB / 472 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002179/0.1094, allocations: 63.73 kB / 472.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003314/0.1097, allocations: 127.4 kB / 472.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.1098, allocations: 75.77 kB / 472.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.896e-05/0.1099, allocations: 19.98 kB / 472.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.431e-05/0.11, allocations: 35.91 kB / 472.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.147e-05/0.1101, allocations: 35.84 kB / 472.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.1101, allocations: 4 kB / 472.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.1102, allocations: 51.97 kB / 472.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.991e-05/0.1103, allocations: 23.92 kB / 472.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.038e-05/0.1104, allocations: 31.73 kB / 472.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001783/0.1105, allocations: 103.6 kB / 472.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.1106, allocations: 7.938 kB / 472.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1106, allocations: 0 / 472.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.1106, allocations: 0 / 472.6 MB, free: 11.68 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.0004774/0.1111, allocations: 403.4 kB / 473 MB, free: 11.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.1111, allocations: 8.031 kB / 473 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.122e-05/0.1112, allocations: 12.75 kB / 473 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001864/0.1113, allocations: 192.8 kB / 473.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.457e-06/0.1114, allocations: 384 / 473.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.114e-05/0.1114, allocations: 15.84 kB / 473.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.1116, allocations: 61.61 kB / 473.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.1116, allocations: 4 kB / 473.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.1116, allocations: 7.984 kB / 473.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1116, allocations: 0 / 473.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001345/0.1118, allocations: 39.95 kB / 473.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003577/0.1121, allocations: 296.8 kB / 473.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002353/0.1124, allocations: 58.55 kB / 473.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.164e-05/0.1125, allocations: 24.97 kB / 473.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.1125, allocations: 8 kB / 473.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.1125, allocations: 30.56 kB / 473.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.1125, allocations: 0 / 473.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001399/0.1139, allocations: 397.1 kB / 474.1 MB, free: 9.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.114, allocations: 51.41 kB / 474.2 MB, free: 9.918 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.1141, allocations: 180.1 kB / 474.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.1142, allocations: 25.7 kB / 474.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.099e-05/0.1142, allocations: 104.1 kB / 474.5 MB, free: 9.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.67e-05/0.1143, allocations: 35.47 kB / 474.5 MB, free: 9.555 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-05/0.1143, allocations: 25.7 kB / 474.5 MB, free: 9.523 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.708e-05/0.1144, allocations: 326.8 kB / 474.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.1145, allocations: 39.97 kB / 474.9 MB, free: 9.156 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.1147, allocations: 39.97 kB / 474.9 MB, free: 9.117 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002353/0.1149, allocations: 100.8 kB / 475 MB, free: 9.016 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1149, allocations: 0 / 475 MB, free: 9.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002982/0.1152, allocations: 149.7 kB / 475.2 MB, free: 8.863 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.1152, allocations: 4 kB / 475.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1153, allocations: 0 / 475.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.1153, allocations: 3.938 kB / 475.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.1154, allocations: 27.98 kB / 475.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.1154, allocations: 8 kB / 475.2 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.799e-05/0.1155, allocations: 7.984 kB / 475.2 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.1155, allocations: 4 kB / 475.2 MB, free: 8.809 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 (11): * Single equations (assignments): 11 * 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.701e-05/0.1156, allocations: 125.8 kB / 475.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.766e-05/0.1156, allocations: 19.73 kB / 475.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003623/0.116, allocations: 162.3 kB / 475.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.116, allocations: 0 / 475.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.116, allocations: 0 / 475.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.116, allocations: 3.984 kB / 475.5 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005944/0.1166, allocations: 476 kB / 476 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.1166, allocations: 0 / 476 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.1167, allocations: 23.98 kB / 476 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1168, allocations: 0 / 476 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.647e-06/0.1168, allocations: 4 kB / 476 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.1168, allocations: 0 / 476 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.1168, allocations: 7.938 kB / 476 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003343/0.1171, allocations: 257 kB / 476.3 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.834e-05/0.1172, allocations: 85.02 kB / 476.4 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.1172, allocations: 0 / 476.4 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.351e-05/0.1173, allocations: 16.17 kB / 476.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.949e-05/0.1173, allocations: 11.98 kB / 476.4 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.1174, allocations: 11.94 kB / 476.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.708e-05/0.1175, allocations: 141.1 kB / 476.6 MB, free: 7.375 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1175, allocations: 0 / 476.6 MB, free: 7.375 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002627/0.1177, allocations: 27.98 kB / 476.6 MB, free: 7.348 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001014/0.1188, allocations: 461.4 kB / 477 MB, free: 7.074 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003225/0.1191, allocations: 111.8 kB / 477.1 MB, free: 6.965 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1191, allocations: 0 / 477.1 MB, free: 6.965 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.1193, allocations: 60.03 kB / 477.2 MB, free: 6.906 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.1196, allocations: 15.98 kB / 477.2 MB, free: 6.891 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005126/0.1202, allocations: 301.3 kB / 477.5 MB, free: 6.555 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.1205, allocations: 0.708 MB / 478.2 MB, free: 5.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.629e-05/0.1205, allocations: 15.44 kB / 478.2 MB, free: 5.805 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1205, allocations: 0 / 478.2 MB, free: 5.805 MB / 350.1 MB Notification: Performance of Templates: time 0.003531/0.124, allocations: 1.863 MB / 480.1 MB, free: 3.957 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches