Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.00154/0.00154, allocations: 194 kB / 18.77 MB, free: 4.742 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.334/1.334, allocations: 222.9 MB / 242.5 MB, free: 13.77 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.2045/0.2045, allocations: 44.18 MB / 336.8 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002291/0.002291, allocations: 62.23 kB / 408.4 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.125, allocations: 60.83 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003138/0.1282, allocations: 1.61 MB / 470.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001431/0.1296, allocations: 0.992 MB / 471.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.949e-05/0.1297, allocations: 0 / 471.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001967/0.1299, allocations: 23.92 kB / 471.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001626/0.1301, allocations: 39.84 kB / 471.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000259/0.1304, allocations: 75.84 kB / 471.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001249/0.1305, allocations: 47.84 kB / 472 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.724e-05/0.1306, allocations: 12 kB / 472 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.91e-05/0.1307, allocations: 23.86 kB / 472 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001438/0.1308, allocations: 27.84 kB / 472 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.1309, allocations: 4 kB / 472 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.131, allocations: 43.98 kB / 472.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.99e-05/0.131, allocations: 19.91 kB / 472.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.598e-05/0.1311, allocations: 15.88 kB / 472.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001494/0.1312, allocations: 63.91 kB / 472.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1312, allocations: 0 / 472.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.1313, allocations: 0 / 472.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.1313, allocations: 0 / 472.2 MB, free: 11.82 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.0004816/0.1317, allocations: 383.5 kB / 472.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.1318, allocations: 12.03 kB / 472.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.332e-05/0.1318, allocations: 8.844 kB / 472.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001966/0.132, allocations: 191.3 kB / 472.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.537e-06/0.1321, allocations: 8.375 kB / 472.8 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/0.1321, allocations: 384 / 472.8 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.1323, allocations: 67.52 kB / 472.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.1323, allocations: 0 / 472.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.1323, allocations: 0 / 472.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1323, allocations: 4 kB / 472.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.305e-05/0.1324, allocations: 27.92 kB / 472.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003347/0.1327, allocations: 268.9 kB / 473.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000198/0.133, allocations: 42.5 kB / 473.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.326e-05/0.133, allocations: 20.94 kB / 473.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.133, allocations: 4 kB / 473.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.1331, allocations: 34.5 kB / 473.2 MB, free: 10.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.1331, allocations: 0 / 473.2 MB, free: 10.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005439/0.1336, allocations: 137.3 kB / 473.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.1337, allocations: 77.11 kB / 473.4 MB, free: 10.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.1338, allocations: 137.8 kB / 473.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.1338, allocations: 25.7 kB / 473.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.383e-05/0.1339, allocations: 88.14 kB / 473.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.1339, allocations: 19.73 kB / 473.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.603e-05/0.134, allocations: 17.72 kB / 473.7 MB, free: 10.06 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.1341, allocations: 326.8 kB / 474 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.936e-05/0.1342, allocations: 15.98 kB / 474.1 MB, free: 9.719 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.381e-05/0.1342, allocations: 33.7 kB / 474.1 MB, free: 9.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.1344, allocations: 40.84 kB / 474.1 MB, free: 9.637 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.1344, allocations: 3.984 kB / 474.1 MB, free: 9.633 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001843/0.1346, allocations: 85.52 kB / 474.2 MB, free: 9.543 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.1346, allocations: 7.938 kB / 474.2 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1346, allocations: 0 / 474.2 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.1346, allocations: 0 / 474.2 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.288e-05/0.1347, allocations: 20.02 kB / 474.2 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.1347, allocations: 256 / 474.2 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.215e-05/0.1348, allocations: 4 kB / 474.2 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.1348, allocations: 4 kB / 474.3 MB, free: 9.508 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 0.0001/0.1349, allocations: 118.3 kB / 474.4 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.05e-05/0.1349, allocations: 7.906 kB / 474.4 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000235/0.1352, allocations: 93.56 kB / 474.5 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.1352, allocations: 4.281 kB / 474.5 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.1352, allocations: 3.984 kB / 474.5 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1352, allocations: 0 / 474.5 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000407/0.1356, allocations: 342.5 kB / 474.8 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1356, allocations: 0 / 474.8 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.308e-05/0.1357, allocations: 15.98 kB / 474.8 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.1357, allocations: 0 / 474.8 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.1357, allocations: 4 kB / 474.8 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.1357, allocations: 11.86 kB / 474.8 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1357, allocations: 0 / 474.8 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002193/0.136, allocations: 175.4 kB / 475 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.451e-05/0.136, allocations: 85.11 kB / 475.1 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.136, allocations: 0 / 475.1 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.192e-05/0.1361, allocations: 11.94 kB / 475.1 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.637e-05/0.1362, allocations: 7.922 kB / 475.1 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.1362, allocations: 4 kB / 475.1 MB, free: 8.535 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.986e-05/0.1362, allocations: 99.27 kB / 475.2 MB, free: 8.438 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1363, allocations: 4 kB / 475.2 MB, free: 8.434 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002543/0.1365, allocations: 23.91 kB / 475.2 MB, free: 8.41 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.0009818/0.1375, allocations: 444.9 kB / 475.7 MB, free: 8.141 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001953/0.1377, allocations: 47.91 kB / 475.7 MB, free: 8.094 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1377, allocations: 0 / 475.7 MB, free: 8.094 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.347e-05/0.1378, allocations: 23.98 kB / 475.7 MB, free: 8.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003539/0.1382, allocations: 23.14 kB / 475.8 MB, free: 8.055 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004002/0.1386, allocations: 201.2 kB / 476 MB, free: 7.824 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.1389, allocations: 0.6887 MB / 476.7 MB, free: 7.109 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.476e-05/0.1389, allocations: 19.42 kB / 476.7 MB, free: 7.09 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1389, allocations: 0 / 476.7 MB, free: 7.09 MB / 350.1 MB Notification: Performance of Templates: time 0.003363/0.1423, allocations: 1.552 MB / 478.2 MB, free: 5.539 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches