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.001112/0.001112, allocations: 113 kB / 17.99 MB, free: 5.344 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.001227/0.001227, allocations: 193.3 kB / 18.9 MB, free: 4.426 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.284/1.284, allocations: 222.9 MB / 242.6 MB, free: 15.37 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.2036/0.2036, allocations: 44.18 MB / 336.9 MB, free: 2.832 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 65.3 kB / 408.5 MB, free: 27.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1217, allocations: 60.83 MB / 469.4 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003034/0.1248, allocations: 1.614 MB / 471 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001328/0.1261, allocations: 0.996 MB / 472 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.76e-05/0.1262, allocations: 0 / 472 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000224/0.1264, allocations: 19.92 kB / 472 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001737/0.1266, allocations: 31.86 kB / 472 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002242/0.1269, allocations: 79.78 kB / 472.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.127, allocations: 55.91 kB / 472.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.1271, allocations: 19.91 kB / 472.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.748e-05/0.1272, allocations: 27.86 kB / 472.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.1273, allocations: 23.86 kB / 472.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.1273, allocations: 8 kB / 472.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.778e-05/0.1274, allocations: 47.97 kB / 472.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.277e-05/0.1275, allocations: 15.92 kB / 472.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.501e-05/0.1275, allocations: 19.88 kB / 472.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001395/0.1277, allocations: 59.91 kB / 472.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1277, allocations: 0 / 472.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.1277, allocations: 3.984 kB / 472.4 MB, free: 11.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.1277, allocations: 4 kB / 472.4 MB, free: 11.65 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.0004465/0.1281, allocations: 379.5 kB / 472.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.1282, allocations: 15.97 kB / 472.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.036e-05/0.1282, allocations: 8.844 kB / 472.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001937/0.1284, allocations: 188.2 kB / 473 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.296e-06/0.1285, allocations: 384 / 473 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.1285, allocations: 384 / 473 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.1286, allocations: 67.52 kB / 473 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.1287, allocations: 0 / 473 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.1287, allocations: 4 kB / 473 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1287, allocations: 0 / 473 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.825e-05/0.1288, allocations: 27.92 kB / 473.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003336/0.1291, allocations: 268.9 kB / 473.3 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001853/0.1293, allocations: 38.56 kB / 473.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.494e-05/0.1294, allocations: 12.86 kB / 473.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.1294, allocations: 4 kB / 473.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.667e-05/0.1295, allocations: 46.58 kB / 473.4 MB, free: 10.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1295, allocations: 0 / 473.4 MB, free: 10.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005094/0.13, allocations: 133.6 kB / 473.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.236e-05/0.1301, allocations: 81.05 kB / 473.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.1302, allocations: 144.8 kB / 473.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.1302, allocations: 25.7 kB / 473.8 MB, free: 10.03 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.51e-05/0.1303, allocations: 92.14 kB / 473.9 MB, free: 9.934 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.1303, allocations: 11.75 kB / 473.9 MB, free: 9.922 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.1303, allocations: 21.7 kB / 473.9 MB, free: 9.895 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.1305, allocations: 322.8 kB / 474.3 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.283e-05/0.1305, allocations: 11.98 kB / 474.3 MB, free: 9.559 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.151e-05/0.1306, allocations: 41.7 kB / 474.3 MB, free: 9.512 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.1308, allocations: 41.02 kB / 474.3 MB, free: 9.469 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.1308, allocations: 4 kB / 474.3 MB, free: 9.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001648/0.131, allocations: 85.45 kB / 474.4 MB, free: 9.375 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.131, allocations: 4 kB / 474.4 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.131, allocations: 7.922 kB / 474.4 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.131, allocations: 3.984 kB / 474.4 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.712e-05/0.1311, allocations: 16.03 kB / 474.5 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1311, allocations: 3.984 kB / 474.5 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.488e-05/0.1312, allocations: 11.98 kB / 474.5 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.1312, allocations: 0 / 474.5 MB, free: 9.328 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 8.416e-05/0.1313, allocations: 118.3 kB / 474.6 MB, free: 9.203 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.053e-05/0.1313, allocations: 7.906 kB / 474.6 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002094/0.1315, allocations: 93.56 kB / 474.7 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1315, allocations: 0 / 474.7 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.1315, allocations: 0 / 474.7 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1315, allocations: 0 / 474.7 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003974/0.1319, allocations: 346.5 kB / 475 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1319, allocations: 0 / 475 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.179e-05/0.132, allocations: 11.98 kB / 475 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.132, allocations: 0 / 475 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.984e-06/0.132, allocations: 4 kB / 475 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/0.132, allocations: 7.938 kB / 475.1 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.132, allocations: 0 / 475.1 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002052/0.1322, allocations: 175.6 kB / 475.2 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.1323, allocations: 81.11 kB / 475.3 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.1323, allocations: 3.984 kB / 475.3 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.198e-05/0.1324, allocations: 15.94 kB / 475.3 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.045e-05/0.1324, allocations: 4 kB / 475.3 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.1324, allocations: 0 / 475.3 MB, free: 8.371 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.888e-05/0.1325, allocations: 107.2 kB / 475.4 MB, free: 8.266 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1325, allocations: 0 / 475.4 MB, free: 8.266 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000245/0.1328, allocations: 23.91 kB / 475.5 MB, free: 8.242 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.0009731/0.1338, allocations: 447.3 kB / 475.9 MB, free: 7.969 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001819/0.1339, allocations: 47.91 kB / 475.9 MB, free: 7.922 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.134, allocations: 0 / 475.9 MB, free: 7.922 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.299e-05/0.134, allocations: 27.97 kB / 476 MB, free: 7.895 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.1343, allocations: 19.31 kB / 476 MB, free: 7.879 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003368/0.1347, allocations: 203.1 kB / 476.2 MB, free: 7.648 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.135, allocations: 0.6885 MB / 476.9 MB, free: 6.934 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.788e-05/0.1351, allocations: 15.42 kB / 476.9 MB, free: 6.918 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1351, allocations: 0 / 476.9 MB, free: 6.918 MB / 350.1 MB Notification: Performance of Templates: time 0.003179/0.1383, allocations: 1.567 MB / 478.5 MB, free: 5.359 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