Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009117/0.0009118, allocations: 173.8 kB / 16.08 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.34/1.34, allocations: 205.6 MB / 222.4 MB, free: 8.938 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007437/0.0007439, allocations: 87.45 kB / 270.8 MB, free: 8.137 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3255/0.3255, allocations: 43.67 MB / 362.7 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003174/0.0003174, allocations: 15.94 kB / 432.3 MB, free: 5.02 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1159, allocations: 58.84 MB / 491.2 MB, free: 10.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.001803/0.1178, allocations: 1.27 MB / 492.4 MB, free: 8.766 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006137/0.1184, allocations: 396.9 kB / 492.8 MB, free: 8.355 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.335e-05/0.1185, allocations: 0 / 492.8 MB, free: 8.355 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000501/0.119, allocations: 455.2 kB / 493.3 MB, free: 7.91 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000277/0.1193, allocations: 239.6 kB / 493.5 MB, free: 7.676 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003443/0.1196, allocations: 143.7 kB / 493.6 MB, free: 7.535 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.1198, allocations: 155.7 kB / 493.8 MB, free: 7.383 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.856e-05/0.1199, allocations: 23.95 kB / 493.8 MB, free: 7.359 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.614e-05/0.12, allocations: 91.8 kB / 493.9 MB, free: 7.27 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001978/0.1203, allocations: 203.6 kB / 494.1 MB, free: 7.07 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.1203, allocations: 4 kB / 494.1 MB, free: 7.066 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.309e-05/0.1203, allocations: 20 kB / 494.1 MB, free: 7.047 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.1205, allocations: 83.67 kB / 494.2 MB, free: 6.965 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.655e-05/0.1206, allocations: 120.8 kB / 494.3 MB, free: 6.84 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.1208, allocations: 227.3 kB / 494.5 MB, free: 6.617 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1208, allocations: 0 / 494.5 MB, free: 6.617 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1208, allocations: 3.938 kB / 494.5 MB, free: 6.613 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1208, allocations: 0 / 494.5 MB, free: 6.613 MB / 378.7 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.00059/0.1214, allocations: 0.5794 MB / 495.1 MB, free: 5.984 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.108e-05/0.1215, allocations: 12.03 kB / 495.1 MB, free: 5.973 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.85e-05/0.1215, allocations: 40.47 kB / 495.2 MB, free: 5.934 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.1218, allocations: 296.1 kB / 495.5 MB, free: 5.605 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.1218, allocations: 8.359 kB / 495.5 MB, free: 5.598 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.888e-06/0.1218, allocations: 4.375 kB / 495.5 MB, free: 5.594 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.122, allocations: 49.81 kB / 495.5 MB, free: 5.539 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.122, allocations: 0 / 495.5 MB, free: 5.539 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.122, allocations: 0 / 495.5 MB, free: 5.539 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.122, allocations: 4 kB / 495.5 MB, free: 5.535 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.032e-05/0.1221, allocations: 35.91 kB / 495.6 MB, free: 5.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004314/0.1225, allocations: 380.8 kB / 495.9 MB, free: 5.078 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.427e-05/0.1226, allocations: 30.58 kB / 496 MB, free: 5.039 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.671e-05/0.1227, allocations: 28.78 kB / 496 MB, free: 5.008 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.1227, allocations: 4 kB / 496 MB, free: 5.004 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.1227, allocations: 38.5 kB / 496 MB, free: 4.957 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1228, allocations: 0 / 496 MB, free: 4.957 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002475/0.123, allocations: 109.2 kB / 496.1 MB, free: 4.844 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.123, allocations: 51.41 kB / 496.2 MB, free: 4.781 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000737/0.1238, allocations: 0.8535 MB / 497.1 MB, free: 3.918 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.1238, allocations: 29.7 kB / 497.1 MB, free: 3.883 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/0.124, allocations: 216.1 kB / 497.3 MB, free: 3.668 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.352e-05/0.124, allocations: 7.906 kB / 497.3 MB, free: 3.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-06/0.124, allocations: 0 / 497.3 MB, free: 3.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.1241, allocations: 362.7 kB / 497.7 MB, free: 3.297 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.752e-05/0.1242, allocations: 16.03 kB / 497.7 MB, free: 3.281 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.531e-05/0.1242, allocations: 15.92 kB / 497.7 MB, free: 3.266 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.713e-05/0.1243, allocations: 28.84 kB / 497.7 MB, free: 3.234 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1243, allocations: 0 / 497.7 MB, free: 3.234 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00014/0.1245, allocations: 97.28 kB / 497.8 MB, free: 3.133 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.1245, allocations: 11.98 kB / 497.8 MB, free: 3.121 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.1245, allocations: 0 / 497.8 MB, free: 3.121 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.1245, allocations: 0 / 497.8 MB, free: 3.121 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.978e-05/0.1246, allocations: 4 kB / 497.8 MB, free: 3.117 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.1246, allocations: 0 / 497.8 MB, free: 3.117 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.797e-05/0.1246, allocations: 7.906 kB / 497.8 MB, free: 3.109 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.1247, allocations: 0 / 497.8 MB, free: 3.109 MB / 378.7 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 (2): * Single equations (assignments): 2 * 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 0.0001686/0.1248, allocations: 221.7 kB / 498 MB, free: 2.883 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.828e-05/0.1249, allocations: 39.53 kB / 498.1 MB, free: 2.844 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001947/0.1251, allocations: 116.6 kB / 498.2 MB, free: 2.723 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.1251, allocations: 0 / 498.2 MB, free: 2.723 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.1251, allocations: 0 / 498.2 MB, free: 2.723 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1251, allocations: 3.984 kB / 498.2 MB, free: 2.719 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002461/0.1254, allocations: 277.5 kB / 498.5 MB, free: 2.398 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1254, allocations: 4.031 kB / 498.5 MB, free: 2.395 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.456e-05/0.1254, allocations: 11.98 kB / 498.5 MB, free: 2.383 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1254, allocations: 0 / 498.5 MB, free: 2.383 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.1255, allocations: 0 / 498.5 MB, free: 2.383 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.1255, allocations: 4 kB / 498.5 MB, free: 2.379 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1255, allocations: 3.938 kB / 498.5 MB, free: 2.375 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000181/0.1257, allocations: 206.8 kB / 498.7 MB, free: 2.156 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.211e-05/0.1257, allocations: 104.6 kB / 498.8 MB, free: 2.035 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.1258, allocations: 0 / 498.8 MB, free: 2.035 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.342e-05/0.1258, allocations: 8 kB / 498.8 MB, free: 2.027 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.967e-05/0.1259, allocations: 3.984 kB / 498.8 MB, free: 2.023 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.1259, allocations: 3.938 kB / 498.8 MB, free: 2.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005798/0.1265, allocations: 0.6433 MB / 499.5 MB, free: 1.379 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1265, allocations: 0 / 499.5 MB, free: 1.379 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002213/0.1267, allocations: 23.94 kB / 499.5 MB, free: 1.355 MB / 378.7 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 (2): * Single equations (assignments): 2 * 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.0007897/0.1275, allocations: 406.5 kB / 499.9 MB, free: 1.062 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000137/0.1276, allocations: 27.98 kB / 499.9 MB, free: 1.035 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.1277, allocations: 4 kB / 499.9 MB, free: 1.031 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.552e-05/0.1277, allocations: 19.92 kB / 499.9 MB, free: 1.012 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.1281, allocations: 21.95 kB / 500 MB, free: 0.9883 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009847/0.1291, allocations: 0.8407 MB / 0.4891 GB, free: 120 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1778/0.3069, allocations: 0.8172 MB / 0.4899 GB, free: 42.78 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.165e-05/0.307, allocations: 10.95 kB / 0.4899 GB, free: 42.78 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.143e-05/0.3071, allocations: 11.66 kB / 0.4899 GB, free: 42.77 MB / 378.7 MB Notification: Performance of SimCode: time 6.31e-07/0.3071, allocations: 0 / 0.4899 GB, free: 42.77 MB / 378.7 MB Notification: Performance of Templates: time 0.004179/0.3112, allocations: 1.164 MB / 0.491 GB, free: 42.74 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches