Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 113.9 kB / 17.33 MB, free: 6.008 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.001221/0.001222, allocations: 193.3 kB / 18.25 MB, free: 5.105 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.377/1.377, allocations: 222.9 MB / 241.9 MB, free: 15.48 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.2121/0.2122, allocations: 44.18 MB / 336.2 MB, free: 2.941 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 67.27 kB / 407.9 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1139, allocations: 60.83 MB / 468.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.004021/0.118, allocations: 1.625 MB / 470.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009399/0.119, allocations: 411.3 kB / 470.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.423e-05/0.1191, allocations: 0 / 470.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003541/0.1195, allocations: 71.84 kB / 470.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002733/0.1198, allocations: 55.8 kB / 470.9 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003672/0.1202, allocations: 87.23 kB / 471 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000201/0.1204, allocations: 71.88 kB / 471 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.1205, allocations: 20.17 kB / 471 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.767e-05/0.1206, allocations: 39.78 kB / 471.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.1207, allocations: 47.89 kB / 471.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.1208, allocations: 4 kB / 471.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.1209, allocations: 47.97 kB / 471.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.814e-05/0.1209, allocations: 19.92 kB / 471.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.47e-05/0.121, allocations: 31.75 kB / 471.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000197/0.1212, allocations: 95.98 kB / 471.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1212, allocations: 0 / 471.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1212, allocations: 0 / 471.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.1212, allocations: 0 / 471.3 MB, free: 12.08 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004517/0.1217, allocations: 411 kB / 471.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.1217, allocations: 11.97 kB / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.152e-05/0.1218, allocations: 8.844 kB / 471.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.122, allocations: 204.1 kB / 471.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.743e-06/0.122, allocations: 4.375 kB / 471.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.122, allocations: 4.375 kB / 472 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.1222, allocations: 53.62 kB / 472 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.1222, allocations: 3.906 kB / 472 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.1222, allocations: 0 / 472 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.1222, allocations: 4 kB / 472 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.305e-05/0.1223, allocations: 27.91 kB / 472 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004777/0.1228, allocations: 296.8 kB / 472.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.1229, allocations: 38.56 kB / 472.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.072e-05/0.123, allocations: 16.86 kB / 472.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.123, allocations: 4.031 kB / 472.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.123, allocations: 38.48 kB / 472.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.123, allocations: 4 kB / 472.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009034/0.124, allocations: 221.5 kB / 472.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.124, allocations: 55.39 kB / 472.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/0.1242, allocations: 210.1 kB / 472.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.1242, allocations: 33.7 kB / 472.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.663e-05/0.1243, allocations: 104 kB / 473 MB, free: 10.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/0.1243, allocations: 23.64 kB / 473.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-05/0.1244, allocations: 21.72 kB / 473.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001932/0.1246, allocations: 322.8 kB / 473.4 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.519e-05/0.1247, allocations: 23.98 kB / 473.4 MB, free: 9.762 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.623e-05/0.1247, allocations: 27.97 kB / 473.5 MB, free: 9.734 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.1249, allocations: 56.84 kB / 473.5 MB, free: 9.676 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1249, allocations: 0 / 473.5 MB, free: 9.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002041/0.1251, allocations: 109.4 kB / 473.6 MB, free: 9.562 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.1251, allocations: 6.5 kB / 473.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1251, allocations: 0 / 473.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.1251, allocations: 3.938 kB / 473.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.323e-05/0.1252, allocations: 19.98 kB / 473.6 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.1253, allocations: 4.25 kB / 473.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.216e-05/0.1253, allocations: 8 kB / 473.7 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.1253, allocations: 0 / 473.7 MB, free: 9.523 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 (8): * Single equations (assignments): 8 * 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.624e-05/0.1254, allocations: 130.4 kB / 473.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.306e-05/0.1255, allocations: 7.906 kB / 473.8 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002575/0.1257, allocations: 122.3 kB / 473.9 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.1257, allocations: 4 kB / 473.9 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1258, allocations: 7.938 kB / 473.9 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1258, allocations: 0 / 473.9 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004772/0.1262, allocations: 399.2 kB / 474.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.1263, allocations: 4 kB / 474.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.771e-05/0.1263, allocations: 27.92 kB / 474.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.1263, allocations: 0 / 474.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.1264, allocations: 8.031 kB / 474.4 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1264, allocations: 0 / 474.4 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.1264, allocations: 3.938 kB / 474.4 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.1266, allocations: 196.3 kB / 474.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.483e-05/0.1267, allocations: 88.95 kB / 474.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.1267, allocations: 0 / 474.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.657e-05/0.1268, allocations: 15.98 kB / 474.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.782e-05/0.1268, allocations: 4 kB / 474.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.1269, allocations: 0 / 474.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001168/0.127, allocations: 159.2 kB / 474.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.127, allocations: 0 / 474.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002575/0.1272, allocations: 24 kB / 474.8 MB, free: 8.234 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0009985/0.1283, allocations: 451.2 kB / 475.3 MB, free: 7.969 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002276/0.1285, allocations: 67.95 kB / 475.3 MB, free: 7.902 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1285, allocations: 0 / 475.3 MB, free: 7.902 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.955e-05/0.1286, allocations: 35.98 kB / 475.4 MB, free: 7.867 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003644/0.129, allocations: 31.09 kB / 475.4 MB, free: 7.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005234/0.1295, allocations: 271.4 kB / 475.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/0.1299, allocations: 0.708 MB / 476.4 MB, free: 6.809 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.589e-05/0.13, allocations: 12.64 kB / 476.4 MB, free: 6.789 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.716e-05/0.13, allocations: 15.44 kB / 476.4 MB, free: 6.777 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.13, allocations: 0 / 476.4 MB, free: 6.777 MB / 350.1 MB Notification: Performance of Templates: time 0.004644/0.1347, allocations: 1.301 MB / 477.7 MB, free: 5.488 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches