Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 111.9 kB / 17.86 MB, free: 5.504 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.001551/0.001551, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.459/1.459, allocations: 222.9 MB / 242.4 MB, free: 15.49 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.2105/0.2105, allocations: 44.17 MB / 336.8 MB, free: 3 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 65.19 kB / 408.3 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1215, allocations: 60.83 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.003186/0.1247, allocations: 1.61 MB / 470.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00077/0.1255, allocations: 399.3 kB / 471.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.543e-05/0.1256, allocations: 7.938 kB / 471.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002306/0.1258, allocations: 31.83 kB / 471.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001687/0.126, allocations: 31.91 kB / 471.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002922/0.1263, allocations: 75.11 kB / 471.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001424/0.1265, allocations: 51.91 kB / 471.4 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.1266, allocations: 15.98 kB / 471.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.043e-05/0.1267, allocations: 19.86 kB / 471.4 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.498e-05/0.1268, allocations: 23.86 kB / 471.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.1268, allocations: 0 / 471.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.478e-05/0.1269, allocations: 20 kB / 471.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.339e-05/0.1269, allocations: 23.91 kB / 471.5 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.615e-05/0.127, allocations: 19.81 kB / 471.5 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001395/0.1271, allocations: 59.92 kB / 471.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1272, allocations: 0 / 471.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1272, allocations: 0 / 471.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1272, allocations: 0 / 471.5 MB, free: 12.45 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004849/0.1277, allocations: 391.4 kB / 471.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/0.1277, allocations: 8.031 kB / 471.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.648e-05/0.1278, allocations: 8.844 kB / 471.9 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.128, allocations: 188.2 kB / 472.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.128, allocations: 4.359 kB / 472.1 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.128, allocations: 8.312 kB / 472.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.1282, allocations: 45.81 kB / 472.2 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.1282, allocations: 4 kB / 472.2 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.447e-06/0.1282, allocations: 4 kB / 472.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1282, allocations: 4 kB / 472.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.489e-05/0.1283, allocations: 23.97 kB / 472.2 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003976/0.1287, allocations: 284.8 kB / 472.5 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002194/0.129, allocations: 38.56 kB / 472.5 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.212e-05/0.129, allocations: 16.86 kB / 472.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.129, allocations: 4 kB / 472.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.1291, allocations: 30.56 kB / 472.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 2.424e-06/0.1291, allocations: 0 / 472.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005694/0.1297, allocations: 137.4 kB / 472.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.1297, allocations: 59.39 kB / 472.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.1299, allocations: 168.2 kB / 472.9 MB, free: 10.87 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.1299, allocations: 29.7 kB / 473 MB, free: 10.83 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.834e-05/0.1299, allocations: 92.14 kB / 473.1 MB, free: 10.74 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.603e-05/0.13, allocations: 23.64 kB / 473.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.989e-05/0.13, allocations: 17.72 kB / 473.1 MB, free: 10.69 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.1301, allocations: 322.8 kB / 473.4 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.552e-05/0.1302, allocations: 23.98 kB / 473.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.227e-05/0.1303, allocations: 23.92 kB / 473.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.1304, allocations: 41.03 kB / 473.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1304, allocations: 0 / 473.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001729/0.1306, allocations: 81.58 kB / 473.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.1306, allocations: 7.984 kB / 473.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1307, allocations: 0 / 473.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.1307, allocations: 8 kB / 473.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.121e-05/0.1307, allocations: 11.94 kB / 473.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.1308, allocations: 0 / 473.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.082e-05/0.1308, allocations: 7.984 kB / 473.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.1308, allocations: 0 / 473.6 MB, free: 10.16 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 (5): * Single equations (assignments): 5 * 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 9.039e-05/0.1309, allocations: 122.3 kB / 473.7 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.287e-05/0.131, allocations: 7.906 kB / 473.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002363/0.1312, allocations: 97.95 kB / 473.8 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-06/0.1312, allocations: 3.938 kB / 473.8 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.1312, allocations: 0 / 473.8 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.1312, allocations: 0 / 473.8 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004144/0.1316, allocations: 342.5 kB / 474.2 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1317, allocations: 0 / 474.2 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.427e-05/0.1317, allocations: 15.98 kB / 474.2 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.1317, allocations: 4 kB / 474.2 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.1318, allocations: 0 / 474.2 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.1318, allocations: 3.938 kB / 474.2 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.1318, allocations: 192 / 474.2 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002362/0.132, allocations: 183.4 kB / 474.4 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.234e-05/0.1321, allocations: 89 kB / 474.5 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.1321, allocations: 0 / 474.5 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.093e-05/0.1322, allocations: 11.94 kB / 474.5 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/0.1322, allocations: 8.266 kB / 474.5 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.1322, allocations: 0 / 474.5 MB, free: 9.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.189e-05/0.1323, allocations: 127.2 kB / 474.6 MB, free: 9.055 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1323, allocations: 0 / 474.6 MB, free: 9.055 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002423/0.1326, allocations: 16 kB / 474.6 MB, free: 9.039 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0008935/0.1335, allocations: 408.6 kB / 475 MB, free: 8.793 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002046/0.1337, allocations: 55.91 kB / 475.1 MB, free: 8.738 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1337, allocations: 0 / 475.1 MB, free: 8.738 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.392e-05/0.1338, allocations: 23.98 kB / 475.1 MB, free: 8.715 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.1342, allocations: 19.64 kB / 475.1 MB, free: 8.699 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004234/0.1346, allocations: 233.9 kB / 475.4 MB, free: 8.434 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.1349, allocations: 0.6926 MB / 476 MB, free: 7.715 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.555e-05/0.1349, allocations: 11.44 kB / 476.1 MB, free: 7.703 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1349, allocations: 0 / 476.1 MB, free: 7.703 MB / 350.1 MB Notification: Performance of Templates: time 0.003025/0.1379, allocations: 1.403 MB / 477.5 MB, free: 6.301 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches