Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable1D.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16") translateModel(ModelicaTest.Tables.CombiTable1D.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 101 kB / 16.27 MB, free: 5.898 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.001373/0.001373, allocations: 187.3 kB / 17.2 MB, free: 5.539 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.554/1.554, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2377/0.2377, allocations: 43.52 MB / 313.9 MB, free: 0.5352 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 67.89 kB / 382.7 MB, free: 56.79 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1147, allocations: 57.78 MB / 440.5 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test16): time 0.003269/0.118, allocations: 1.555 MB / 442.1 MB, free: 5.352 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006472/0.1187, allocations: 323.5 kB / 442.4 MB, free: 5.031 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.055e-05/0.1188, allocations: 0 / 442.4 MB, free: 5.031 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000343/0.1191, allocations: 79.77 kB / 442.5 MB, free: 4.953 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002682/0.1195, allocations: 59.8 kB / 442.5 MB, free: 4.895 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003555/0.1198, allocations: 99.25 kB / 442.6 MB, free: 4.801 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001949/0.12, allocations: 63.88 kB / 442.7 MB, free: 4.738 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.1202, allocations: 15.94 kB / 442.7 MB, free: 4.723 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.306e-05/0.1202, allocations: 31.91 kB / 442.7 MB, free: 4.691 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.1204, allocations: 55.77 kB / 442.8 MB, free: 4.637 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.1204, allocations: 0 / 442.8 MB, free: 4.637 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.1205, allocations: 35.98 kB / 442.8 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.123e-05/0.1206, allocations: 23.91 kB / 442.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.107e-05/0.1206, allocations: 27.75 kB / 442.9 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001969/0.1208, allocations: 83.78 kB / 442.9 MB, free: 4.469 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.1208, allocations: 0 / 442.9 MB, free: 4.469 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1208, allocations: 0 / 442.9 MB, free: 4.469 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.675e-06/0.1208, allocations: 0 / 442.9 MB, free: 4.469 MB / 318.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.0005083/0.1214, allocations: 395 kB / 443.3 MB, free: 4.035 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.1214, allocations: 15.89 kB / 443.4 MB, free: 4.02 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.071e-05/0.1215, allocations: 8.844 kB / 443.4 MB, free: 4.012 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.1216, allocations: 204.9 kB / 443.6 MB, free: 3.773 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.1217, allocations: 4.375 kB / 443.6 MB, free: 3.77 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.843e-05/0.1217, allocations: 4.375 kB / 443.6 MB, free: 3.766 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.1219, allocations: 49.81 kB / 443.6 MB, free: 3.711 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.1219, allocations: 0 / 443.6 MB, free: 3.711 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.1219, allocations: 0 / 443.6 MB, free: 3.711 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.1219, allocations: 0 / 443.6 MB, free: 3.711 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.26e-05/0.122, allocations: 23.98 kB / 443.6 MB, free: 3.688 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000369/0.1224, allocations: 296.8 kB / 443.9 MB, free: 3.348 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002289/0.1226, allocations: 42.56 kB / 444 MB, free: 3.297 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.805e-05/0.1227, allocations: 16.94 kB / 444 MB, free: 3.277 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/0.1227, allocations: 4 kB / 444 MB, free: 3.273 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.827e-05/0.1228, allocations: 34.56 kB / 444 MB, free: 3.23 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.1228, allocations: 0 / 444 MB, free: 3.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005987/0.1234, allocations: 157.4 kB / 444.2 MB, free: 3.07 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/0.1234, allocations: 55.34 kB / 444.2 MB, free: 3.004 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.1236, allocations: 202.2 kB / 444.4 MB, free: 2.797 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.1236, allocations: 29.7 kB / 444.5 MB, free: 2.762 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.006e-05/0.1236, allocations: 108.1 kB / 444.6 MB, free: 2.652 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.1237, allocations: 15.66 kB / 444.6 MB, free: 2.637 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.843e-05/0.1237, allocations: 21.7 kB / 444.6 MB, free: 2.609 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.396e-05/0.1238, allocations: 322.8 kB / 444.9 MB, free: 2.285 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.701e-05/0.1239, allocations: 27.91 kB / 444.9 MB, free: 2.258 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.512e-05/0.1239, allocations: 23.92 kB / 445 MB, free: 2.234 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.124, allocations: 56.83 kB / 445 MB, free: 2.176 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.124, allocations: 0 / 445 MB, free: 2.176 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001572/0.1242, allocations: 81.58 kB / 445.1 MB, free: 2.09 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.1242, allocations: 11.98 kB / 445.1 MB, free: 2.078 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.1242, allocations: 0 / 445.1 MB, free: 2.078 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.1243, allocations: 3.984 kB / 445.1 MB, free: 2.074 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.656e-05/0.1243, allocations: 8 kB / 445.1 MB, free: 2.066 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.1243, allocations: 0 / 445.1 MB, free: 2.066 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.921e-05/0.1244, allocations: 15.92 kB / 445.1 MB, free: 2.051 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.1244, allocations: 4 kB / 445.1 MB, free: 2.047 MB / 318.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 5.896e-05/0.1245, allocations: 133.7 kB / 445.3 MB, free: 1.906 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.141e-05/0.1245, allocations: 7.906 kB / 445.3 MB, free: 1.898 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002046/0.1247, allocations: 94.22 kB / 445.4 MB, free: 1.805 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-06/0.1247, allocations: 4 kB / 445.4 MB, free: 1.801 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1247, allocations: 4.062 kB / 445.4 MB, free: 1.797 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1247, allocations: 4 kB / 445.4 MB, free: 1.793 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003164/0.1251, allocations: 366.4 kB / 445.7 MB, free: 1.379 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1251, allocations: 0 / 445.7 MB, free: 1.379 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.09e-05/0.1251, allocations: 8 kB / 445.8 MB, free: 1.371 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.1251, allocations: 4 kB / 445.8 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.1251, allocations: 0 / 445.8 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1252, allocations: 3.938 kB / 445.8 MB, free: 1.363 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1252, allocations: 0 / 445.8 MB, free: 1.363 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001819/0.1253, allocations: 195.3 kB / 446 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.873e-05/0.1254, allocations: 85.02 kB / 446 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.1254, allocations: 3.984 kB / 446 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.26e-05/0.1255, allocations: 7.938 kB / 446 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.1255, allocations: 4 kB / 446.1 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.1255, allocations: 0 / 446.1 MB, free: 1.039 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.724e-05/0.1256, allocations: 159.2 kB / 446.2 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1256, allocations: 0 / 446.2 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002516/0.1259, allocations: 15.98 kB / 446.2 MB, free: 0.8672 MB / 318.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.0009291/0.1268, allocations: 400.5 kB / 446.6 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002262/0.1271, allocations: 55.91 kB / 446.7 MB, free: 0.5 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1271, allocations: 0 / 446.7 MB, free: 0.5 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.248e-05/0.1272, allocations: 27.98 kB / 446.7 MB, free: 484 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004076/0.1276, allocations: 23.92 kB / 446.7 MB, free: 460 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004712/0.128, allocations: 214.1 kB / 446.9 MB, free: 220 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.1284, allocations: 0.708 MB / 447.6 MB, free: 15.48 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.267e-05/0.1285, allocations: 7.984 kB / 447.6 MB, free: 15.47 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.627e-05/0.1285, allocations: 15.44 kB / 447.7 MB, free: 15.46 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1285, allocations: 0 / 447.7 MB, free: 15.46 MB / 334.1 MB Notification: Performance of Templates: time 0.004236/0.1328, allocations: 1.13 MB / 448.8 MB, free: 14.34 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches