Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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.001252/0.001252, allocations: 174 kB / 16.08 MB, free: 5.73 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.394/1.394, allocations: 205.6 MB / 222.4 MB, free: 8.926 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.0007918/0.0007919, allocations: 86.75 kB / 270.8 MB, free: 8.129 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.3325/0.3325, allocations: 43.67 MB / 362.7 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004175/0.0004175, allocations: 8 kB / 432.3 MB, free: 4.793 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1152, allocations: 58.84 MB / 491.2 MB, free: 9.812 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.00193/0.1172, allocations: 1.325 MB / 492.5 MB, free: 8.477 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.1185, allocations: 1.073 MB / 493.6 MB, free: 7.359 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.797e-05/0.1185, allocations: 4 kB / 493.6 MB, free: 7.355 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001865/0.1187, allocations: 11.92 kB / 493.6 MB, free: 7.344 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001507/0.1189, allocations: 43.84 kB / 493.6 MB, free: 7.301 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003748/0.1193, allocations: 139.8 kB / 493.7 MB, free: 7.164 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.1194, allocations: 59.78 kB / 493.8 MB, free: 7.105 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.1195, allocations: 32.11 kB / 493.8 MB, free: 7.074 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.573e-05/0.1196, allocations: 23.91 kB / 493.9 MB, free: 7.051 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.1197, allocations: 23.86 kB / 493.9 MB, free: 7.027 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.1197, allocations: 0 / 493.9 MB, free: 7.027 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.733e-05/0.1198, allocations: 43.92 kB / 493.9 MB, free: 6.984 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.81e-05/0.1199, allocations: 19.91 kB / 493.9 MB, free: 6.965 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.077e-05/0.12, allocations: 45.58 kB / 494 MB, free: 6.914 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.1202, allocations: 111.6 kB / 494.1 MB, free: 6.805 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1202, allocations: 0 / 494.1 MB, free: 6.805 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1202, allocations: 0 / 494.1 MB, free: 6.805 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.1202, allocations: 0 / 494.1 MB, free: 6.805 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.0004879/0.1207, allocations: 375.3 kB / 494.5 MB, free: 6.391 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.1207, allocations: 8.031 kB / 494.5 MB, free: 6.383 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.141e-05/0.1208, allocations: 8.844 kB / 494.5 MB, free: 6.375 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001853/0.1209, allocations: 188.2 kB / 494.7 MB, free: 6.152 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.121, allocations: 12.31 kB / 494.7 MB, free: 6.141 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.121, allocations: 4.375 kB / 494.7 MB, free: 6.137 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.1212, allocations: 79.52 kB / 494.8 MB, free: 6.047 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.1212, allocations: 0 / 494.8 MB, free: 6.047 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.1212, allocations: 0 / 494.8 MB, free: 6.047 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1213, allocations: 3.984 kB / 494.8 MB, free: 6.043 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001418/0.1214, allocations: 51.97 kB / 494.8 MB, free: 5.992 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004284/0.1218, allocations: 312.6 kB / 495.1 MB, free: 5.637 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.122, allocations: 54.55 kB / 495.2 MB, free: 5.574 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.082e-05/0.1221, allocations: 28.94 kB / 495.2 MB, free: 5.543 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.1221, allocations: 0 / 495.2 MB, free: 5.543 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.1221, allocations: 42.5 kB / 495.2 MB, free: 5.492 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1221, allocations: 0 / 495.2 MB, free: 5.492 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007531/0.1229, allocations: 257.1 kB / 495.5 MB, free: 5.234 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.277e-05/0.1229, allocations: 81.11 kB / 495.6 MB, free: 5.137 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.1231, allocations: 133.8 kB / 495.7 MB, free: 4.996 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.1231, allocations: 29.7 kB / 495.7 MB, free: 4.961 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.19e-05/0.1231, allocations: 92.12 kB / 495.8 MB, free: 4.867 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.1232, allocations: 19.66 kB / 495.8 MB, free: 4.848 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-06/0.1232, allocations: 4 kB / 495.8 MB, free: 4.844 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.1233, allocations: 326.8 kB / 496.2 MB, free: 4.516 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.1234, allocations: 43.97 kB / 496.2 MB, free: 4.473 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.1236, allocations: 57.69 kB / 496.3 MB, free: 4.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002234/0.1238, allocations: 112.9 kB / 496.4 MB, free: 4.297 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.1238, allocations: 0 / 496.4 MB, free: 4.297 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002901/0.1241, allocations: 137.8 kB / 496.5 MB, free: 4.156 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.1241, allocations: 4 kB / 496.5 MB, free: 4.152 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.1241, allocations: 3.938 kB / 496.5 MB, free: 4.148 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.1242, allocations: 4 kB / 496.5 MB, free: 4.145 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.1243, allocations: 23.98 kB / 496.5 MB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1243, allocations: 3.984 kB / 496.5 MB, free: 4.117 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.125e-05/0.1244, allocations: 19.94 kB / 496.6 MB, free: 4.098 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.1244, allocations: 0 / 496.6 MB, free: 4.098 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 9.678e-05/0.1245, allocations: 121.8 kB / 496.7 MB, free: 3.969 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.141e-05/0.1245, allocations: 7.906 kB / 496.7 MB, free: 3.961 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003374/0.1249, allocations: 153.9 kB / 496.8 MB, free: 3.809 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.1249, allocations: 4 kB / 496.8 MB, free: 3.805 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.1249, allocations: 0 / 496.8 MB, free: 3.805 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.1249, allocations: 7.938 kB / 496.9 MB, free: 3.797 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005303/0.1254, allocations: 422.5 kB / 497.3 MB, free: 3.328 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1255, allocations: 0 / 497.3 MB, free: 3.328 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.12e-05/0.1255, allocations: 19.98 kB / 497.3 MB, free: 3.309 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.1256, allocations: 3.938 kB / 497.3 MB, free: 3.305 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.1256, allocations: 11.88 kB / 497.3 MB, free: 3.293 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1256, allocations: 0 / 497.3 MB, free: 3.293 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.1256, allocations: 0 / 497.3 MB, free: 3.293 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003548/0.126, allocations: 239.3 kB / 497.5 MB, free: 3.043 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.442e-05/0.126, allocations: 97 kB / 497.6 MB, free: 2.93 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.126, allocations: 3.938 kB / 497.6 MB, free: 2.926 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.954e-05/0.1261, allocations: 15.98 kB / 497.7 MB, free: 2.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.133e-05/0.1262, allocations: 4 kB / 497.7 MB, free: 2.906 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.1262, allocations: 3.984 kB / 497.7 MB, free: 2.902 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.06e-05/0.1263, allocations: 103.8 kB / 497.8 MB, free: 2.801 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1263, allocations: 0 / 497.8 MB, free: 2.801 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002375/0.1265, allocations: 24 kB / 497.8 MB, free: 2.777 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.0009737/0.1275, allocations: 0.5128 MB / 498.3 MB, free: 2.391 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003067/0.1278, allocations: 111.9 kB / 498.4 MB, free: 2.281 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1278, allocations: 0 / 498.4 MB, free: 2.281 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.128, allocations: 55.97 kB / 498.5 MB, free: 2.227 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.1283, allocations: 23.8 kB / 498.5 MB, free: 2.203 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003977/0.1287, allocations: 221.2 kB / 498.7 MB, free: 1.961 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.129, allocations: 0.7043 MB / 499.4 MB, free: 1.23 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.794e-05/0.1291, allocations: 19.97 kB / 499.4 MB, free: 1.211 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.842e-05/0.1291, allocations: 11.44 kB / 499.4 MB, free: 1.199 MB / 378.7 MB Notification: Performance of SimCode: time 3.31e-07/0.1291, allocations: 0 / 499.4 MB, free: 1.199 MB / 378.7 MB Notification: Performance of Templates: time 0.1685/0.2976, allocations: 1.437 MB / 0.4891 GB, free: 42.87 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches