Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.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.Test10,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.Test10") translateModel(ModelicaTest.Tables.CombiTable2D.Test10,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.Test10") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001518/0.001518, allocations: 183.7 kB / 16.08 MB, free: 5.523 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.493/1.493, allocations: 205.6 MB / 222.4 MB, free: 13.65 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.0007801/0.0007801, allocations: 82.3 kB / 270.8 MB, free: 13.18 MB / 234.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.2255/0.2255, allocations: 43.69 MB / 362.7 MB, free: 11.04 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003298/0.0003302, allocations: 11.98 kB / 432.3 MB, free: 19.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1239, allocations: 58.86 MB / 491.2 MB, free: 8.125 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test10): time 0.001948/0.1259, allocations: 1.309 MB / 492.5 MB, free: 6.797 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001505/0.1274, allocations: 1.053 MB / 493.5 MB, free: 5.699 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.168e-05/0.1275, allocations: 0 / 493.5 MB, free: 5.699 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001893/0.1277, allocations: 19.92 kB / 493.6 MB, free: 5.68 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001976/0.1279, allocations: 39.84 kB / 493.6 MB, free: 5.641 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003406/0.1283, allocations: 107.8 kB / 493.7 MB, free: 5.535 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.1284, allocations: 55.84 kB / 493.8 MB, free: 5.48 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.1285, allocations: 16.17 kB / 493.8 MB, free: 5.465 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.362e-05/0.1286, allocations: 23.86 kB / 493.8 MB, free: 5.441 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.1287, allocations: 23.86 kB / 493.8 MB, free: 5.418 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.1288, allocations: 0 / 493.8 MB, free: 5.418 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001305/0.1289, allocations: 43.97 kB / 493.9 MB, free: 5.375 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.389e-05/0.129, allocations: 15.92 kB / 493.9 MB, free: 5.359 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.411e-05/0.129, allocations: 41.58 kB / 493.9 MB, free: 5.312 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.1292, allocations: 95.97 kB / 494 MB, free: 5.219 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1292, allocations: 0 / 494 MB, free: 5.219 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1292, allocations: 0 / 494 MB, free: 5.219 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.1292, allocations: 0 / 494 MB, free: 5.219 MB / 330.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.0004739/0.1297, allocations: 387.3 kB / 494.4 MB, free: 4.793 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.1298, allocations: 8.031 kB / 494.4 MB, free: 4.785 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.005e-05/0.1298, allocations: 12.84 kB / 494.4 MB, free: 4.773 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.13, allocations: 180.3 kB / 494.6 MB, free: 4.559 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.13, allocations: 384 / 494.6 MB, free: 4.559 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/0.13, allocations: 4.375 kB / 494.6 MB, free: 4.555 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.1302, allocations: 83.31 kB / 494.7 MB, free: 4.461 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.1302, allocations: 0 / 494.7 MB, free: 4.461 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.1303, allocations: 3.984 kB / 494.7 MB, free: 4.457 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.1303, allocations: 7.938 kB / 494.7 MB, free: 4.449 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.1304, allocations: 47.97 kB / 494.7 MB, free: 4.402 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003318/0.1307, allocations: 280.8 kB / 495 MB, free: 4.078 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.1309, allocations: 42.66 kB / 495 MB, free: 4.027 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.373e-05/0.131, allocations: 36.77 kB / 495.1 MB, free: 3.988 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.131, allocations: 4 kB / 495.1 MB, free: 3.984 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.131, allocations: 30.56 kB / 495.1 MB, free: 3.945 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.131, allocations: 0 / 495.1 MB, free: 3.945 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007449/0.1318, allocations: 237.2 kB / 495.3 MB, free: 3.707 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.523e-05/0.1318, allocations: 85.17 kB / 495.4 MB, free: 3.605 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.132, allocations: 129.8 kB / 495.6 MB, free: 3.469 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.132, allocations: 29.64 kB / 495.6 MB, free: 3.434 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.163e-05/0.1321, allocations: 96.11 kB / 495.7 MB, free: 3.336 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/0.1321, allocations: 23.66 kB / 495.7 MB, free: 3.312 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-06/0.1321, allocations: 4 kB / 495.7 MB, free: 3.309 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.1322, allocations: 318.8 kB / 496 MB, free: 2.988 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.1323, allocations: 43.97 kB / 496.1 MB, free: 2.945 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.1325, allocations: 53.69 kB / 496.1 MB, free: 2.887 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002194/0.1327, allocations: 88.84 kB / 496.2 MB, free: 2.797 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1327, allocations: 0 / 496.2 MB, free: 2.797 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003154/0.133, allocations: 129.5 kB / 496.3 MB, free: 2.664 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.133, allocations: 4 kB / 496.3 MB, free: 2.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1331, allocations: 3.938 kB / 496.3 MB, free: 2.656 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.1331, allocations: 0 / 496.3 MB, free: 2.656 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.1332, allocations: 23.98 kB / 496.4 MB, free: 2.633 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.1332, allocations: 0 / 496.4 MB, free: 2.633 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.672e-05/0.1333, allocations: 23.92 kB / 496.4 MB, free: 2.609 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.1333, allocations: 4 kB / 496.4 MB, free: 2.605 MB / 330.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 0.0001002/0.1334, allocations: 117.8 kB / 496.5 MB, free: 2.48 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.093e-05/0.1335, allocations: 7.906 kB / 496.5 MB, free: 2.473 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003533/0.1338, allocations: 154.2 kB / 496.7 MB, free: 2.312 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.1338, allocations: 0 / 496.7 MB, free: 2.312 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1338, allocations: 0 / 496.7 MB, free: 2.312 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1339, allocations: 3.938 kB / 496.7 MB, free: 2.309 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005343/0.1344, allocations: 406.5 kB / 497.1 MB, free: 1.855 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1344, allocations: 0 / 497.1 MB, free: 1.855 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.433e-05/0.1345, allocations: 20.27 kB / 497.1 MB, free: 1.836 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.1345, allocations: 4 kB / 497.1 MB, free: 1.832 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.1345, allocations: 7.938 kB / 497.1 MB, free: 1.824 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.1345, allocations: 0 / 497.1 MB, free: 1.824 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1345, allocations: 0 / 497.1 MB, free: 1.824 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003317/0.1349, allocations: 223.4 kB / 497.3 MB, free: 1.59 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.705e-05/0.1349, allocations: 89 kB / 497.4 MB, free: 1.484 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.135, allocations: 7.938 kB / 497.4 MB, free: 1.477 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.825e-05/0.1351, allocations: 11.98 kB / 497.4 MB, free: 1.465 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.849e-05/0.1351, allocations: 11.98 kB / 497.4 MB, free: 1.453 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.1351, allocations: 3.938 kB / 497.4 MB, free: 1.449 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.588e-05/0.1352, allocations: 107.3 kB / 497.5 MB, free: 1.344 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1352, allocations: 0 / 497.5 MB, free: 1.344 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002483/0.1355, allocations: 20 kB / 497.6 MB, free: 1.324 MB / 330.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.001034/0.1365, allocations: 0.5074 MB / 498.1 MB, free: 0.957 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003144/0.1369, allocations: 91.92 kB / 498.2 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.1369, allocations: 4 kB / 498.2 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.137, allocations: 59.84 kB / 498.2 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.1373, allocations: 11.98 kB / 498.2 MB, free: 0.793 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004265/0.1378, allocations: 209.2 kB / 498.4 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.1381, allocations: 0.6965 MB / 499.1 MB, free: 15.84 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.256e-05/0.1382, allocations: 8 kB / 499.1 MB, free: 15.83 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.211e-05/0.1382, allocations: 19.42 kB / 499.2 MB, free: 15.81 MB / 346.7 MB Notification: Performance of SimCode: time 1.864e-06/0.1382, allocations: 0 / 499.2 MB, free: 15.81 MB / 346.7 MB Notification: Performance of Templates: time 0.004296/0.1425, allocations: 1.412 MB / 0.4888 GB, free: 14.41 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test10/Test10.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches