Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.CombiTable1Dv.Test1,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.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,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.CombiTable1Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.001529/0.001529, allocations: 195.3 kB / 19.23 MB, free: 3.961 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.416/1.416, allocations: 222.9 MB / 242.9 MB, free: 15.23 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.2206/0.2206, allocations: 44.19 MB / 337.3 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 59.19 kB / 409.1 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1251, allocations: 60.82 MB / 469.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.003145/0.1283, allocations: 1.553 MB / 471.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007584/0.1291, allocations: 411.2 kB / 471.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.043e-05/0.1292, allocations: 3.938 kB / 471.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001951/0.1294, allocations: 19.91 kB / 471.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001904/0.1296, allocations: 39.8 kB / 471.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002985/0.1299, allocations: 115 kB / 472.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001448/0.13, allocations: 59.83 kB / 472.1 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.1301, allocations: 8 kB / 472.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.279e-05/0.1302, allocations: 19.92 kB / 472.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.356e-05/0.1303, allocations: 15.88 kB / 472.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.1303, allocations: 4 kB / 472.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.521e-05/0.1304, allocations: 31.98 kB / 472.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.019e-05/0.1304, allocations: 23.91 kB / 472.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.751e-05/0.1305, allocations: 23.81 kB / 472.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001694/0.1306, allocations: 71.8 kB / 472.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.1306, allocations: 0 / 472.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1307, allocations: 0 / 472.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.1307, allocations: 0 / 472.3 MB, free: 11.99 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.0004526/0.1311, allocations: 371.6 kB / 472.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.1312, allocations: 8.031 kB / 472.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.946e-05/0.1312, allocations: 8.844 kB / 472.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.1314, allocations: 188.2 kB / 472.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.1314, allocations: 4.375 kB / 472.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.1314, allocations: 8.312 kB / 472.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.1316, allocations: 53.73 kB / 472.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.1316, allocations: 7.906 kB / 472.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.1316, allocations: 4 kB / 472.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1316, allocations: 0 / 472.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.1317, allocations: 19.98 kB / 473 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003756/0.1321, allocations: 280.9 kB / 473.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/0.1324, allocations: 46.48 kB / 473.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.203e-05/0.1324, allocations: 16.86 kB / 473.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.1324, allocations: 0 / 473.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.1325, allocations: 42.58 kB / 473.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.1325, allocations: 4 kB / 473.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005469/0.133, allocations: 137.3 kB / 473.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.1331, allocations: 59.41 kB / 473.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.1332, allocations: 145.7 kB / 473.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.1333, allocations: 29.69 kB / 473.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.889e-05/0.1333, allocations: 88.14 kB / 473.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/0.1334, allocations: 15.81 kB / 473.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.011e-05/0.1334, allocations: 21.7 kB / 473.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.1335, allocations: 322.8 kB / 474.1 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.233e-05/0.1336, allocations: 19.98 kB / 474.2 MB, free: 9.914 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.256e-05/0.1337, allocations: 23.97 kB / 474.2 MB, free: 9.891 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.1338, allocations: 49.02 kB / 474.2 MB, free: 9.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1338, allocations: 8 kB / 474.2 MB, free: 9.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001769/0.134, allocations: 85.52 kB / 474.3 MB, free: 9.742 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.134, allocations: 4 kB / 474.3 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1341, allocations: 0 / 474.3 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.1341, allocations: 3.984 kB / 474.3 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.155e-05/0.1341, allocations: 12 kB / 474.3 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.1342, allocations: 0 / 474.3 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.966e-05/0.1342, allocations: 11.98 kB / 474.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.1342, allocations: 4 kB / 474.4 MB, free: 9.707 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.837e-05/0.1343, allocations: 121.7 kB / 474.5 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.219e-05/0.1343, allocations: 7.906 kB / 474.5 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002337/0.1346, allocations: 101.9 kB / 474.6 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1346, allocations: 3.938 kB / 474.6 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.1346, allocations: 0 / 474.6 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1346, allocations: 288 / 474.6 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004118/0.135, allocations: 350.5 kB / 474.9 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.135, allocations: 7.922 kB / 474.9 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.193e-05/0.1351, allocations: 8 kB / 475 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.1351, allocations: 4 kB / 475 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.1351, allocations: 3.984 kB / 475 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.1351, allocations: 3.938 kB / 475 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1351, allocations: 0 / 475 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002296/0.1354, allocations: 187.6 kB / 475.1 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.911e-05/0.1354, allocations: 81.02 kB / 475.2 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.1355, allocations: 3.984 kB / 475.2 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.697e-05/0.1355, allocations: 11.94 kB / 475.2 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.558e-05/0.1356, allocations: 4 kB / 475.2 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-06/0.1356, allocations: 0 / 475.2 MB, free: 8.719 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.499e-05/0.1357, allocations: 111.2 kB / 475.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.166e-06/0.1357, allocations: 7.938 kB / 475.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002482/0.1359, allocations: 19.94 kB / 475.4 MB, free: 8.582 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.0008924/0.1368, allocations: 398.4 kB / 475.8 MB, free: 8.344 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002031/0.137, allocations: 55.95 kB / 475.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1371, allocations: 0 / 475.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.958e-05/0.1371, allocations: 35.92 kB / 475.9 MB, free: 8.254 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.1375, allocations: 22.94 kB / 475.9 MB, free: 8.234 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003988/0.1379, allocations: 199.2 kB / 476.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002524/0.1382, allocations: 0.6963 MB / 476.8 MB, free: 7.285 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.228e-05/0.1382, allocations: 15.44 kB / 476.8 MB, free: 7.27 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1383, allocations: 3.938 kB / 476.8 MB, free: 7.266 MB / 350.1 MB Notification: Performance of Templates: time 0.003013/0.1413, allocations: 1.381 MB / 478.2 MB, free: 5.891 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches