Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.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.Test11,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.Test11") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test11,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.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, 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.001246/0.001246, 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.359/1.359, 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.2156/0.2156, allocations: 44.18 MB / 336.8 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 70.08 kB / 408.4 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1213, allocations: 60.82 MB / 469.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.003117/0.1245, allocations: 1.629 MB / 470.8 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007746/0.1253, allocations: 411.3 kB / 471.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.47e-05/0.1253, allocations: 0 / 471.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002316/0.1256, allocations: 27.92 kB / 471.2 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001343/0.1257, allocations: 31.84 kB / 471.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002722/0.126, allocations: 95.81 kB / 471.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.1262, allocations: 51.84 kB / 471.4 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.1263, allocations: 16 kB / 471.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.803e-05/0.1263, allocations: 23.91 kB / 471.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.496e-05/0.1264, allocations: 15.86 kB / 471.5 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.1264, allocations: 4 kB / 471.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.694e-05/0.1265, allocations: 28 kB / 471.5 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.941e-05/0.1266, allocations: 15.92 kB / 471.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.291e-05/0.1266, allocations: 23.8 kB / 471.5 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001221/0.1267, allocations: 59.92 kB / 471.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.1267, allocations: 0 / 471.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1267, allocations: 3.938 kB / 471.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.1268, allocations: 0 / 471.6 MB, free: 12.38 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.0004728/0.1272, allocations: 387.5 kB / 472 MB, free: 11.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.1273, allocations: 8.031 kB / 472 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.911e-05/0.1273, allocations: 8.844 kB / 472 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.1275, allocations: 188.2 kB / 472.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.125e-06/0.1275, allocations: 384 / 472.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.1276, allocations: 8.312 kB / 472.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.1277, allocations: 49.81 kB / 472.2 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.1277, allocations: 0 / 472.2 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-06/0.1277, allocations: 8 kB / 472.2 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1277, allocations: 0 / 472.2 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.274e-05/0.1278, allocations: 27.91 kB / 472.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003775/0.1282, allocations: 284.8 kB / 472.5 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002087/0.1284, allocations: 50.55 kB / 472.6 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.802e-05/0.1285, allocations: 12.86 kB / 472.6 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.1285, allocations: 7.938 kB / 472.6 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.1286, allocations: 30.56 kB / 472.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1286, allocations: 0 / 472.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005671/0.1291, allocations: 149.4 kB / 472.8 MB, free: 11.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.1292, allocations: 55.41 kB / 472.8 MB, free: 10.95 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.1293, allocations: 168.2 kB / 473 MB, free: 10.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.1294, allocations: 25.7 kB / 473 MB, free: 10.74 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.274e-05/0.1294, allocations: 96.12 kB / 473.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.601e-05/0.1294, allocations: 23.66 kB / 473.1 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.343e-05/0.1295, allocations: 13.72 kB / 473.2 MB, free: 10.6 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.1296, allocations: 326.8 kB / 473.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.4e-05/0.1297, allocations: 19.98 kB / 473.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.171e-05/0.1297, allocations: 23.98 kB / 473.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.1299, allocations: 52.81 kB / 473.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1299, allocations: 3.938 kB / 473.6 MB, free: 10.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001793/0.1301, allocations: 93.77 kB / 473.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.1301, allocations: 6.656 kB / 473.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1301, allocations: 0 / 473.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.1301, allocations: 4 kB / 473.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.396e-05/0.1302, allocations: 15.98 kB / 473.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.1302, allocations: 0 / 473.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.638e-05/0.1303, allocations: 4 kB / 473.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.1303, allocations: 3.984 kB / 473.7 MB, free: 10.04 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.549e-05/0.1304, allocations: 122.3 kB / 473.8 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/0.1304, allocations: 7.906 kB / 473.8 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000245/0.1306, allocations: 101.9 kB / 473.9 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1307, allocations: 7.938 kB / 473.9 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1307, allocations: 0 / 473.9 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1307, allocations: 288 / 473.9 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004/0.1311, allocations: 354.5 kB / 474.3 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1311, allocations: 0 / 474.3 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.204e-05/0.1311, allocations: 12 kB / 474.3 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.1312, allocations: 7.984 kB / 474.3 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.1312, allocations: 3.938 kB / 474.3 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/0.1312, allocations: 7.922 kB / 474.3 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1312, allocations: 0 / 474.3 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002117/0.1314, allocations: 175.4 kB / 474.5 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.702e-05/0.1315, allocations: 85 kB / 474.6 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.1315, allocations: 4 kB / 474.6 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.684e-05/0.1316, allocations: 12.12 kB / 474.6 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.112e-05/0.1316, allocations: 7.984 kB / 474.6 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.1316, allocations: 4 kB / 474.6 MB, free: 9.043 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.861e-05/0.1317, allocations: 127.2 kB / 474.7 MB, free: 8.918 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1317, allocations: 0 / 474.7 MB, free: 8.918 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002487/0.132, allocations: 16 kB / 474.7 MB, free: 8.902 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.001071/0.1331, allocations: 400.8 kB / 475.1 MB, free: 8.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002024/0.1333, allocations: 51.91 kB / 475.2 MB, free: 8.609 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1333, allocations: 0 / 475.2 MB, free: 8.609 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.248e-05/0.1334, allocations: 31.97 kB / 475.2 MB, free: 8.578 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003922/0.1338, allocations: 12 kB / 475.2 MB, free: 8.566 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004802/0.1343, allocations: 245.9 kB / 475.5 MB, free: 8.289 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.1346, allocations: 0.7004 MB / 476.2 MB, free: 7.562 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.29e-05/0.1346, allocations: 11.44 kB / 476.2 MB, free: 7.551 MB / 350.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1346, allocations: 0 / 476.2 MB, free: 7.551 MB / 350.1 MB Notification: Performance of Templates: time 0.003285/0.1379, allocations: 1.442 MB / 477.6 MB, free: 6.113 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches