Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2") translateModel(ModelicaTest.Tables.CombiTable2D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00139/0.00139, allocations: 179.9 kB / 16.08 MB, free: 5.484 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.356/1.356, 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.000789/0.0007894, allocations: 95.5 kB / 270.8 MB, free: 8.113 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.3083/0.3083, allocations: 43.67 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002885/0.0002885, allocations: 8 kB / 432.3 MB, free: 4.789 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1109, allocations: 58.85 MB / 491.2 MB, free: 9.805 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test2): time 0.001954/0.1129, allocations: 1.309 MB / 492.5 MB, free: 8.484 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006692/0.1136, allocations: 388.9 kB / 492.9 MB, free: 8.082 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.469e-05/0.1137, allocations: 0 / 492.9 MB, free: 8.082 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004982/0.1142, allocations: 451.2 kB / 493.3 MB, free: 7.641 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000306/0.1145, allocations: 243.5 kB / 493.5 MB, free: 7.402 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003044/0.1148, allocations: 99.88 kB / 493.6 MB, free: 7.305 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002129/0.115, allocations: 163.6 kB / 493.8 MB, free: 7.145 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.759e-05/0.1151, allocations: 8.188 kB / 493.8 MB, free: 7.137 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.1153, allocations: 103.8 kB / 493.9 MB, free: 7.035 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002136/0.1155, allocations: 203.6 kB / 494.1 MB, free: 6.836 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.1155, allocations: 0 / 494.1 MB, free: 6.836 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.066e-05/0.1156, allocations: 27.98 kB / 494.1 MB, free: 6.809 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.1157, allocations: 79.69 kB / 494.2 MB, free: 6.73 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.384e-05/0.1158, allocations: 120.8 kB / 494.3 MB, free: 6.605 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002477/0.1161, allocations: 243.1 kB / 494.6 MB, free: 6.367 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.361e-06/0.1161, allocations: 4 kB / 494.6 MB, free: 6.363 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1161, allocations: 4 kB / 494.6 MB, free: 6.359 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.1161, allocations: 0 / 494.6 MB, free: 6.359 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.0006988/0.1168, allocations: 0.5795 MB / 495.1 MB, free: 5.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.1169, allocations: 8.031 kB / 495.2 MB, free: 5.723 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.445e-05/0.1169, allocations: 44.38 kB / 495.2 MB, free: 5.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002822/0.1172, allocations: 296.1 kB / 495.5 MB, free: 5.352 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.1173, allocations: 384 / 495.5 MB, free: 5.352 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.1173, allocations: 8.359 kB / 495.5 MB, free: 5.344 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.1174, allocations: 65.55 kB / 495.6 MB, free: 5.273 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.1175, allocations: 0 / 495.6 MB, free: 5.273 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.1175, allocations: 4 kB / 495.6 MB, free: 5.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.1175, allocations: 0 / 495.6 MB, free: 5.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.566e-05/0.1176, allocations: 27.98 kB / 495.6 MB, free: 5.242 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004384/0.118, allocations: 380.7 kB / 496 MB, free: 4.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.1182, allocations: 50.5 kB / 496 MB, free: 4.762 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.266e-05/0.1183, allocations: 16.94 kB / 496 MB, free: 4.742 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.1183, allocations: 0 / 496 MB, free: 4.742 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.1184, allocations: 38.56 kB / 496.1 MB, free: 4.695 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1184, allocations: 4 kB / 496.1 MB, free: 4.691 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005844/0.119, allocations: 236 kB / 496.3 MB, free: 4.453 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.119, allocations: 51.41 kB / 496.4 MB, free: 4.391 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000746/0.1197, allocations: 0.8573 MB / 497.2 MB, free: 3.523 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.1198, allocations: 25.7 kB / 497.2 MB, free: 3.492 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.1199, allocations: 220 kB / 497.4 MB, free: 3.273 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.12, allocations: 19.88 kB / 497.5 MB, free: 3.254 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-06/0.12, allocations: 0 / 497.5 MB, free: 3.254 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.1201, allocations: 362.8 kB / 497.8 MB, free: 2.891 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.642e-05/0.1202, allocations: 27.92 kB / 497.8 MB, free: 2.863 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.847e-05/0.1202, allocations: 19.98 kB / 497.9 MB, free: 2.844 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.1204, allocations: 56.97 kB / 497.9 MB, free: 2.785 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.1204, allocations: 4 kB / 497.9 MB, free: 2.781 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001961/0.1206, allocations: 121.2 kB / 498 MB, free: 2.656 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.1206, allocations: 4 kB / 498.1 MB, free: 2.652 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.1206, allocations: 4 kB / 498.1 MB, free: 2.648 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.1207, allocations: 3.938 kB / 498.1 MB, free: 2.645 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.846e-05/0.1207, allocations: 16 kB / 498.1 MB, free: 2.629 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.1207, allocations: 3.984 kB / 498.1 MB, free: 2.625 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.566e-05/0.1208, allocations: 15.84 kB / 498.1 MB, free: 2.609 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.1208, allocations: 0 / 498.1 MB, free: 2.609 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 (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 0.0001731/0.121, allocations: 205.8 kB / 498.3 MB, free: 2.398 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.177e-05/0.1211, allocations: 43.52 kB / 498.3 MB, free: 2.355 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002773/0.1213, allocations: 148.9 kB / 498.5 MB, free: 2.203 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.145e-06/0.1214, allocations: 0 / 498.5 MB, free: 2.203 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1214, allocations: 0 / 498.5 MB, free: 2.203 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.1214, allocations: 7.938 kB / 498.5 MB, free: 2.195 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005249/0.1219, allocations: 462.4 kB / 498.9 MB, free: 1.688 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1219, allocations: 0 / 498.9 MB, free: 1.688 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.542e-05/0.122, allocations: 15.98 kB / 499 MB, free: 1.672 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.122, allocations: 0 / 499 MB, free: 1.672 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.122, allocations: 3.938 kB / 499 MB, free: 1.668 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.122, allocations: 0 / 499 MB, free: 1.668 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.122, allocations: 4 kB / 499 MB, free: 1.664 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/0.1223, allocations: 215.2 kB / 499.2 MB, free: 1.438 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.528e-05/0.1224, allocations: 116.5 kB / 499.3 MB, free: 1.305 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.526e-05/0.1224, allocations: 11.94 kB / 499.3 MB, free: 1.293 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.943e-05/0.1225, allocations: 4 kB / 499.3 MB, free: 1.289 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.1225, allocations: 11.98 kB / 499.3 MB, free: 1.277 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.1225, allocations: 0 / 499.3 MB, free: 1.277 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005791/0.1231, allocations: 0.6472 MB / 500 MB, free: 0.6328 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1231, allocations: 0 / 500 MB, free: 0.6328 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002322/0.1234, allocations: 27.98 kB / 500 MB, free: 0.6055 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 (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.0008542/0.1242, allocations: 454.5 kB / 0.4887 GB, free: 284 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002085/0.1244, allocations: 55.97 kB / 0.4888 GB, free: 228 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1244, allocations: 0 / 0.4888 GB, free: 228 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.073e-05/0.1245, allocations: 35.91 kB / 0.4888 GB, free: 192 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.1249, allocations: 29.61 kB / 0.4888 GB, free: 164 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.17/0.2949, allocations: 0.8578 MB / 0.4897 GB, free: 43.27 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.2953, allocations: 0.8212 MB / 0.4905 GB, free: 42.57 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.186e-05/0.2953, allocations: 13.45 kB / 0.4905 GB, free: 42.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.322e-05/0.2954, allocations: 11.75 kB / 0.4905 GB, free: 42.57 MB / 378.7 MB Notification: Performance of SimCode: time 6.11e-07/0.2954, allocations: 0 / 0.4905 GB, free: 42.57 MB / 378.7 MB Notification: Performance of Templates: time 0.004593/0.3, allocations: 1.332 MB / 0.4918 GB, free: 42.52 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test2/Test2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches