Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 95.17 kB / 18 MB, free: 5.609 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.001037/0.001037, allocations: 176.6 kB / 18.91 MB, free: 4.738 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.375/1.375, allocations: 223.3 MB / 242.9 MB, free: 180 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1825/0.1825, allocations: 44.26 MB / 338.3 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004606/0.0004613, allocations: 8.281 kB / 411 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1234, allocations: 61.92 MB / 472.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.001849/0.1253, allocations: 1.329 MB / 474.2 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007664/0.1261, allocations: 407.3 kB / 474.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.123e-05/0.1261, allocations: 4 kB / 474.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002779/0.1264, allocations: 91.8 kB / 474.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000168/0.1266, allocations: 55.86 kB / 474.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000282/0.1269, allocations: 79.23 kB / 474.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001738/0.1271, allocations: 87.8 kB / 474.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.1272, allocations: 23.98 kB / 475 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.248e-05/0.1273, allocations: 31.84 kB / 475 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.672e-05/0.1274, allocations: 51.83 kB / 475.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.1274, allocations: 4 kB / 475.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.1275, allocations: 43.97 kB / 475.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.709e-05/0.1276, allocations: 27.86 kB / 475.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.345e-05/0.1277, allocations: 65.38 kB / 475.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.1278, allocations: 88.08 kB / 475.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1278, allocations: 0 / 475.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1278, allocations: 3.938 kB / 475.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.1278, allocations: 3.938 kB / 475.3 MB, free: 10.95 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004622/0.1283, allocations: 403.1 kB / 475.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.1283, allocations: 8.031 kB / 475.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.262e-05/0.1284, allocations: 16.83 kB / 475.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/0.1286, allocations: 216 kB / 475.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.1286, allocations: 384 / 475.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.1287, allocations: 4.375 kB / 475.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.1288, allocations: 81.67 kB / 476 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.1289, allocations: 0 / 476 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.1289, allocations: 4 kB / 476 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.1289, allocations: 4 kB / 476 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.129, allocations: 43.91 kB / 476 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004114/0.1294, allocations: 328.6 kB / 476.4 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.1296, allocations: 62.55 kB / 476.4 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.149e-05/0.1297, allocations: 28.84 kB / 476.5 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.1297, allocations: 4.156 kB / 476.5 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.1297, allocations: 34.55 kB / 476.5 MB, free: 9.574 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.1297, allocations: 0 / 476.5 MB, free: 9.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.00108/0.1308, allocations: 337.3 kB / 476.8 MB, free: 9.238 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.1308, allocations: 51.41 kB / 476.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000224/0.1311, allocations: 235.2 kB / 477.1 MB, free: 8.934 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.1311, allocations: 25.7 kB / 477.1 MB, free: 8.902 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.013e-05/0.1312, allocations: 120 kB / 477.2 MB, free: 8.781 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.442e-05/0.1312, allocations: 47.34 kB / 477.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-05/0.1313, allocations: 17.72 kB / 477.3 MB, free: 8.711 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.1314, allocations: 326.8 kB / 477.6 MB, free: 8.383 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.955e-05/0.1315, allocations: 43.98 kB / 477.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.368e-05/0.1316, allocations: 43.97 kB / 477.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/0.1318, allocations: 99.2 kB / 477.8 MB, free: 8.199 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1318, allocations: 0 / 477.8 MB, free: 8.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002626/0.1321, allocations: 141.4 kB / 477.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.1321, allocations: 6.812 kB / 478 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1321, allocations: 4 kB / 478 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.1321, allocations: 3.938 kB / 478 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.1322, allocations: 36.09 kB / 478 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.1323, allocations: 7.938 kB / 478 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.779e-05/0.1323, allocations: 4 kB / 478 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.1323, allocations: 4 kB / 478 MB, free: 7.992 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.0001019/0.1324, allocations: 133.8 kB / 478.1 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.585e-05/0.1325, allocations: 11.91 kB / 478.2 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003313/0.1328, allocations: 171.1 kB / 478.3 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.864e-06/0.1328, allocations: 7.938 kB / 478.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1328, allocations: 3.938 kB / 478.3 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.1329, allocations: 3.984 kB / 478.3 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005955/0.1335, allocations: 479.2 kB / 478.8 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.1335, allocations: 4 kB / 478.8 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.111e-05/0.1336, allocations: 27.92 kB / 478.8 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.1336, allocations: 4 kB / 478.8 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.1336, allocations: 8.031 kB / 478.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.1336, allocations: 0 / 478.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.1336, allocations: 0 / 478.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003072/0.1339, allocations: 266.7 kB / 479.1 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.522e-05/0.134, allocations: 88.92 kB / 479.2 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.134, allocations: 4 kB / 479.2 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.278e-05/0.1341, allocations: 11.98 kB / 479.2 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.851e-05/0.1341, allocations: 7.984 kB / 479.2 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.804e-06/0.1342, allocations: 4 kB / 479.2 MB, free: 6.676 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001316/0.1343, allocations: 167.2 kB / 479.4 MB, free: 6.512 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1343, allocations: 0 / 479.4 MB, free: 6.512 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002641/0.1346, allocations: 32 kB / 479.4 MB, free: 6.48 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.001011/0.1356, allocations: 446 kB / 479.9 MB, free: 6.219 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002559/0.1359, allocations: 115.8 kB / 480 MB, free: 6.105 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1359, allocations: 0 / 480 MB, free: 6.105 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.136, allocations: 55.92 kB / 480 MB, free: 6.051 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003498/0.1363, allocations: 27.67 kB / 480.1 MB, free: 6.027 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005519/0.1369, allocations: 364.7 kB / 480.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/0.1373, allocations: 0.72 MB / 481.1 MB, free: 4.891 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.003e-05/0.1373, allocations: 23.42 kB / 481.1 MB, free: 4.867 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1373, allocations: 3.938 kB / 481.2 MB, free: 4.863 MB / 350.1 MB Notification: Performance of Templates: time 0.003926/0.1413, allocations: 1.968 MB / 483.1 MB, free: 2.895 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches