Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 108.9 kB / 17.33 MB, free: 5.996 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.00117/0.00117, allocations: 193.3 kB / 18.25 MB, free: 5.086 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.39/1.39, allocations: 222.9 MB / 241.9 MB, free: 15.34 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.215/0.215, allocations: 44.17 MB / 336.2 MB, free: 2.934 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 60.84 kB / 407.9 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.119, allocations: 60.83 MB / 468.7 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test26): time 0.003102/0.1222, allocations: 1.692 MB / 470.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008332/0.123, allocations: 443.2 kB / 470.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.155e-05/0.1231, allocations: 0 / 470.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003021/0.1234, allocations: 63.8 kB / 470.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002039/0.1236, allocations: 47.88 kB / 470.9 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004446/0.1241, allocations: 161.7 kB / 471.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002263/0.1243, allocations: 83.77 kB / 471.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.1245, allocations: 27.95 kB / 471.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.153e-05/0.1245, allocations: 27.92 kB / 471.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.432e-05/0.1246, allocations: 51.7 kB / 471.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.1247, allocations: 4 kB / 471.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.1248, allocations: 43.98 kB / 471.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.1249, allocations: 23.91 kB / 471.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.379e-05/0.1249, allocations: 31.81 kB / 471.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.1251, allocations: 108 kB / 471.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1251, allocations: 0 / 471.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.1251, allocations: 4 kB / 471.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.216e-06/0.1252, allocations: 0 / 471.5 MB, free: 11.92 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.0005256/0.1257, allocations: 411 kB / 471.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.1257, allocations: 8.031 kB / 471.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.588e-05/0.1258, allocations: 12.78 kB / 471.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.126, allocations: 204.7 kB / 472.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.126, allocations: 384 / 472.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.1261, allocations: 7.938 kB / 472.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.1263, allocations: 69.67 kB / 472.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.1263, allocations: 0 / 472.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.1263, allocations: 3.938 kB / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.1263, allocations: 0 / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.1264, allocations: 43.95 kB / 472.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004331/0.1269, allocations: 316.7 kB / 472.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000252/0.1271, allocations: 58.58 kB / 472.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.79e-05/0.1272, allocations: 32.95 kB / 472.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.1273, allocations: 0 / 472.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.1273, allocations: 34.56 kB / 472.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.1273, allocations: 4 kB / 472.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001506/0.1288, allocations: 412.8 kB / 473.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.1289, allocations: 59.34 kB / 473.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.129, allocations: 176.1 kB / 473.3 MB, free: 9.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.1291, allocations: 25.7 kB / 473.3 MB, free: 9.879 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.273e-05/0.1291, allocations: 115.9 kB / 473.5 MB, free: 9.762 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.473e-05/0.1292, allocations: 35.53 kB / 473.5 MB, free: 9.727 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.94e-05/0.1292, allocations: 29.66 kB / 473.5 MB, free: 9.691 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.1294, allocations: 322.8 kB / 473.8 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.1295, allocations: 51.95 kB / 473.9 MB, free: 9.316 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.1296, allocations: 59.95 kB / 473.9 MB, free: 9.258 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002696/0.1299, allocations: 121.1 kB / 474.1 MB, free: 9.137 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1299, allocations: 0 / 474.1 MB, free: 9.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003424/0.1303, allocations: 169.3 kB / 474.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.1303, allocations: 4 kB / 474.2 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.1303, allocations: 8.438 kB / 474.2 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.1304, allocations: 4 kB / 474.2 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.1305, allocations: 31.97 kB / 474.3 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.1305, allocations: 0 / 474.3 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.068e-05/0.1306, allocations: 12 kB / 474.3 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.1306, allocations: 4 kB / 474.3 MB, free: 8.902 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 0.0001174/0.1307, allocations: 130.4 kB / 474.4 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.507e-05/0.1307, allocations: 7.906 kB / 474.4 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000432/0.1312, allocations: 198.2 kB / 474.6 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.1312, allocations: 0 / 474.6 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1312, allocations: 0 / 474.6 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1312, allocations: 0 / 474.6 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007332/0.1319, allocations: 0.4959 MB / 475.1 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.132, allocations: 0 / 475.1 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.1321, allocations: 23.98 kB / 475.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.1321, allocations: 4 kB / 475.1 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.1321, allocations: 4 kB / 475.1 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1321, allocations: 0 / 475.1 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1321, allocations: 4 kB / 475.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003689/0.1325, allocations: 269 kB / 475.4 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.608e-05/0.1325, allocations: 85.02 kB / 475.5 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.1326, allocations: 4 kB / 475.5 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.591e-05/0.1327, allocations: 15.98 kB / 475.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.664e-05/0.1327, allocations: 11.98 kB / 475.5 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.1327, allocations: 4.094 kB / 475.5 MB, free: 7.543 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001008/0.1328, allocations: 150.8 kB / 475.7 MB, free: 7.398 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.073e-06/0.1329, allocations: 0 / 475.7 MB, free: 7.398 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00027/0.1331, allocations: 27.84 kB / 475.7 MB, free: 7.371 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.00105/0.1342, allocations: 464.7 kB / 476.2 MB, free: 7.098 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000413/0.1346, allocations: 139.8 kB / 476.3 MB, free: 6.961 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.1346, allocations: 4 kB / 476.3 MB, free: 6.957 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001642/0.1348, allocations: 59.91 kB / 476.4 MB, free: 6.898 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004202/0.1352, allocations: 23.98 kB / 476.4 MB, free: 6.875 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006123/0.1359, allocations: 327.8 kB / 476.7 MB, free: 6.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.1362, allocations: 0.7235 MB / 477.4 MB, free: 5.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001036/0.1363, allocations: 32.53 kB / 477.5 MB, free: 5.738 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.525e-05/0.1364, allocations: 15.44 kB / 477.5 MB, free: 5.723 MB / 350.1 MB Notification: Performance of SimCode: time 2.053e-06/0.1364, allocations: 0 / 477.5 MB, free: 5.723 MB / 350.1 MB Notification: Performance of Templates: time 0.004169/0.1405, allocations: 1.543 MB / 479 MB, free: 4.191 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test26/Test26.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches