Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.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.CombiTable2D.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31") translateModel(ModelicaTest.Tables.CombiTable2D.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001507/0.001507, allocations: 175.7 kB / 16.08 MB, free: 5.586 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.412/1.412, allocations: 205.6 MB / 222.4 MB, free: 8.945 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.0007073/0.0007075, allocations: 83.7 kB / 270.8 MB, free: 8.125 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.333/0.333, allocations: 43.68 MB / 362.7 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003168/0.0003169, allocations: 8 kB / 432.3 MB, free: 5.031 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1167, allocations: 58.84 MB / 491.2 MB, free: 10.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test31): time 0.001995/0.1188, allocations: 1.321 MB / 492.5 MB, free: 8.723 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001451/0.1202, allocations: 1.061 MB / 493.5 MB, free: 7.617 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.074e-05/0.1203, allocations: 0 / 493.5 MB, free: 7.617 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001719/0.1205, allocations: 11.94 kB / 493.5 MB, free: 7.605 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001803/0.1207, allocations: 39.83 kB / 493.6 MB, free: 7.566 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003104/0.121, allocations: 95.88 kB / 493.7 MB, free: 7.473 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.1212, allocations: 59.78 kB / 493.7 MB, free: 7.414 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.688e-05/0.1213, allocations: 20.17 kB / 493.8 MB, free: 7.395 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.904e-05/0.1213, allocations: 19.92 kB / 493.8 MB, free: 7.375 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.1214, allocations: 27.84 kB / 493.8 MB, free: 7.348 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.1215, allocations: 3.938 kB / 493.8 MB, free: 7.344 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.1216, allocations: 43.97 kB / 493.9 MB, free: 7.301 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.192e-05/0.1217, allocations: 11.94 kB / 493.9 MB, free: 7.289 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.338e-05/0.1217, allocations: 45.56 kB / 493.9 MB, free: 7.238 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.1219, allocations: 95.97 kB / 494 MB, free: 7.145 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1219, allocations: 4 kB / 494 MB, free: 7.141 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1219, allocations: 0 / 494 MB, free: 7.141 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.1219, allocations: 0 / 494 MB, free: 7.141 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004768/0.1224, allocations: 383.3 kB / 494.4 MB, free: 6.719 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.1224, allocations: 8.031 kB / 494.4 MB, free: 6.711 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.545e-05/0.1225, allocations: 8.844 kB / 494.4 MB, free: 6.703 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.1227, allocations: 188.2 kB / 494.6 MB, free: 6.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.105e-06/0.1227, allocations: 4.375 kB / 494.6 MB, free: 6.477 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.1227, allocations: 4.375 kB / 494.6 MB, free: 6.473 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.1229, allocations: 79.31 kB / 494.7 MB, free: 6.383 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.1229, allocations: 0 / 494.7 MB, free: 6.383 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.1229, allocations: 4 kB / 494.7 MB, free: 6.379 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.1229, allocations: 4 kB / 494.7 MB, free: 6.375 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.1231, allocations: 43.97 kB / 494.7 MB, free: 6.332 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003989/0.1235, allocations: 292.7 kB / 495 MB, free: 5.996 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.1236, allocations: 46.56 kB / 495.1 MB, free: 5.941 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.25e-05/0.1237, allocations: 24.94 kB / 495.1 MB, free: 5.914 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.1237, allocations: 4 kB / 495.1 MB, free: 5.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.1238, allocations: 34.56 kB / 495.1 MB, free: 5.867 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.1238, allocations: 0 / 495.1 MB, free: 5.867 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.000731/0.1245, allocations: 233.2 kB / 495.3 MB, free: 5.633 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.1246, allocations: 88.98 kB / 495.4 MB, free: 5.527 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.1247, allocations: 137.7 kB / 495.6 MB, free: 5.383 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.1247, allocations: 29.7 kB / 495.6 MB, free: 5.348 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.025e-05/0.1248, allocations: 92.14 kB / 495.7 MB, free: 5.254 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.739e-05/0.1248, allocations: 27.64 kB / 495.7 MB, free: 5.227 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-06/0.1248, allocations: 0 / 495.7 MB, free: 5.227 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.125, allocations: 314.8 kB / 496 MB, free: 4.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.1251, allocations: 39.97 kB / 496.1 MB, free: 4.871 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.1252, allocations: 61.75 kB / 496.1 MB, free: 4.805 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002104/0.1254, allocations: 88.83 kB / 496.2 MB, free: 4.715 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1254, allocations: 0 / 496.2 MB, free: 4.715 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002634/0.1257, allocations: 133.5 kB / 496.3 MB, free: 4.578 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.1257, allocations: 4 kB / 496.3 MB, free: 4.574 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1257, allocations: 0 / 496.3 MB, free: 4.574 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.1258, allocations: 0 / 496.3 MB, free: 4.574 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.1259, allocations: 24.27 kB / 496.4 MB, free: 4.551 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.1259, allocations: 7.938 kB / 496.4 MB, free: 4.543 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.983e-05/0.126, allocations: 15.92 kB / 496.4 MB, free: 4.527 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.126, allocations: 4 kB / 496.4 MB, free: 4.523 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 (7): * Single equations (assignments): 7 * 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 7.333e-05/0.126, allocations: 113.8 kB / 496.5 MB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.1261, allocations: 7.906 kB / 496.5 MB, free: 4.395 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003084/0.1264, allocations: 145.9 kB / 496.6 MB, free: 4.246 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1264, allocations: 0 / 496.6 MB, free: 4.246 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.1264, allocations: 0 / 496.6 MB, free: 4.246 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.1264, allocations: 3.938 kB / 496.7 MB, free: 4.242 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000462/0.1269, allocations: 402.9 kB / 497 MB, free: 3.793 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1269, allocations: 4 kB / 497 MB, free: 3.789 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.348e-05/0.127, allocations: 27.91 kB / 497.1 MB, free: 3.762 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.127, allocations: 0 / 497.1 MB, free: 3.762 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.127, allocations: 7.938 kB / 497.1 MB, free: 3.754 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.127, allocations: 4 kB / 497.1 MB, free: 3.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.127, allocations: 0 / 497.1 MB, free: 3.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/0.1273, allocations: 227.5 kB / 497.3 MB, free: 3.512 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.148e-05/0.1274, allocations: 89.02 kB / 497.4 MB, free: 3.406 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.1274, allocations: 7.922 kB / 497.4 MB, free: 3.398 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.564e-05/0.1275, allocations: 12 kB / 497.4 MB, free: 3.387 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.1275, allocations: 7.984 kB / 497.4 MB, free: 3.379 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/0.1276, allocations: 4 kB / 497.4 MB, free: 3.375 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.317e-05/0.1276, allocations: 99.27 kB / 497.5 MB, free: 3.277 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1276, allocations: 0 / 497.5 MB, free: 3.277 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002298/0.1279, allocations: 27.98 kB / 497.6 MB, free: 3.25 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 (7): * Single equations (assignments): 7 * 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.0009154/0.1288, allocations: 0.5085 MB / 498.1 MB, free: 2.867 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002805/0.1291, allocations: 99.86 kB / 498.2 MB, free: 2.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1291, allocations: 0 / 498.2 MB, free: 2.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.1292, allocations: 51.91 kB / 498.2 MB, free: 2.719 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.1295, allocations: 15.98 kB / 498.2 MB, free: 2.703 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000387/0.1299, allocations: 209.6 kB / 498.4 MB, free: 2.473 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.1302, allocations: 0.6965 MB / 499.1 MB, free: 1.75 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.501e-05/0.1303, allocations: 19.95 kB / 499.1 MB, free: 1.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.838e-05/0.1303, allocations: 15.44 kB / 499.2 MB, free: 1.715 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1303, allocations: 0 / 499.2 MB, free: 1.715 MB / 378.7 MB Notification: Performance of Templates: time 0.003649/0.134, allocations: 1.397 MB / 0.4888 GB, free: 332 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test31/Test31.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches