Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 110.1 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001864/0.001864, allocations: 199.3 kB / 19.23 MB, free: 3.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 242.9 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.204/0.204, allocations: 44.17 MB / 337.3 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 55.38 kB / 409.1 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09984/0.1011, allocations: 60.83 MB / 469.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003371/0.1045, allocations: 1.973 MB / 471.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001782/0.1063, allocations: 1.131 MB / 473 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.1065, allocations: 8 kB / 473 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002832/0.1067, allocations: 43.58 kB / 473.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003326/0.1071, allocations: 151.4 kB / 473.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.1084, allocations: 0.5749 MB / 473.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000372/0.1087, allocations: 279.2 kB / 474.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002132/0.109, allocations: 76.62 kB / 474.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000186/0.1092, allocations: 127.5 kB / 474.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002413/0.1094, allocations: 183.3 kB / 474.5 MB, free: 9.844 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.952e-05/0.1095, allocations: 12 kB / 474.5 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001498/0.1096, allocations: 51.98 kB / 474.5 MB, free: 9.781 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001651/0.1098, allocations: 143.6 kB / 474.7 MB, free: 9.641 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.1099, allocations: 158.7 kB / 474.8 MB, free: 9.484 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003783/0.1103, allocations: 362.7 kB / 475.2 MB, free: 9.129 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1103, allocations: 0 / 475.2 MB, free: 9.129 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1103, allocations: 0 / 475.2 MB, free: 9.129 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.1104, allocations: 0 / 475.2 MB, free: 9.129 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0009751/0.1113, allocations: 0.7463 MB / 475.9 MB, free: 8.332 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.1114, allocations: 8.031 kB / 475.9 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.703e-05/0.1115, allocations: 52.28 kB / 476 MB, free: 8.273 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000484/0.112, allocations: 443.9 kB / 476.4 MB, free: 7.797 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.112, allocations: 4.375 kB / 476.4 MB, free: 7.793 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.249e-05/0.112, allocations: 16.12 kB / 476.4 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002869/0.1123, allocations: 148.9 kB / 476.6 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.1123, allocations: 3.984 kB / 476.6 MB, free: 7.617 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.1124, allocations: 0 / 476.6 MB, free: 7.617 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.1124, allocations: 4 kB / 476.6 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002275/0.1126, allocations: 95.88 kB / 476.7 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008747/0.1135, allocations: 0.6876 MB / 477.4 MB, free: 6.777 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/0.1137, allocations: 109.2 kB / 477.5 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.782e-05/0.1138, allocations: 53.75 kB / 477.5 MB, free: 6.594 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.1139, allocations: 8 kB / 477.5 MB, free: 6.586 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.1139, allocations: 38.5 kB / 477.6 MB, free: 6.539 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.1139, allocations: 3.938 kB / 477.6 MB, free: 6.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001414/0.1153, allocations: 0.5255 MB / 478.1 MB, free: 6 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.1154, allocations: 85.09 kB / 478.2 MB, free: 5.898 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008252/0.1162, allocations: 0.8544 MB / 479 MB, free: 5.035 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.1162, allocations: 29.7 kB / 479.1 MB, free: 5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/0.1164, allocations: 248.2 kB / 479.3 MB, free: 4.754 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.069e-05/0.1165, allocations: 55.27 kB / 479.4 MB, free: 4.699 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.533e-05/0.1165, allocations: 33.7 kB / 479.4 MB, free: 4.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.1167, allocations: 366.7 kB / 479.8 MB, free: 4.293 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/0.1168, allocations: 63.95 kB / 479.8 MB, free: 4.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001827/0.117, allocations: 85.66 kB / 479.9 MB, free: 4.141 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003585/0.1174, allocations: 165.7 kB / 480.1 MB, free: 3.973 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1174, allocations: 0 / 480.1 MB, free: 3.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004827/0.1179, allocations: 232.9 kB / 480.3 MB, free: 3.738 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.1179, allocations: 4.219 kB / 480.3 MB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.1179, allocations: 3.938 kB / 480.3 MB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.118, allocations: 11.94 kB / 480.3 MB, free: 3.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002082/0.1182, allocations: 35.97 kB / 480.3 MB, free: 3.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.1182, allocations: 0 / 480.3 MB, free: 3.684 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/0.1183, allocations: 19.92 kB / 480.4 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.1184, allocations: 7.984 kB / 480.4 MB, free: 3.656 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.000213/0.1186, allocations: 213.7 kB / 480.6 MB, free: 3.438 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.655e-05/0.1187, allocations: 51.34 kB / 480.6 MB, free: 3.387 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005981/0.1193, allocations: 282.9 kB / 480.9 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.1193, allocations: 7.984 kB / 480.9 MB, free: 3.098 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.1193, allocations: 4 kB / 480.9 MB, free: 3.094 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.1193, allocations: 0 / 480.9 MB, free: 3.094 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/0.1205, allocations: 0.7942 MB / 481.7 MB, free: 2.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1205, allocations: 0 / 481.7 MB, free: 2.242 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001746/0.1207, allocations: 35.97 kB / 481.7 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.1207, allocations: 0 / 481.7 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.1207, allocations: 12 kB / 481.8 MB, free: 2.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.1207, allocations: 7.875 kB / 481.8 MB, free: 2.188 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1207, allocations: 0 / 481.8 MB, free: 2.188 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005257/0.1212, allocations: 406 kB / 482.2 MB, free: 1.773 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.1214, allocations: 140.4 kB / 482.3 MB, free: 1.617 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.674e-05/0.1214, allocations: 4 kB / 482.3 MB, free: 1.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.1216, allocations: 19.92 kB / 482.3 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.45e-05/0.1217, allocations: 11.98 kB / 482.3 MB, free: 1.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.1217, allocations: 7.984 kB / 482.3 MB, free: 1.574 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006371/0.1224, allocations: 0.6276 MB / 483 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1224, allocations: 0 / 483 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003583/0.1227, allocations: 55.94 kB / 483 MB, free: 0.8945 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0009135/0.1236, allocations: 423.1 kB / 483.4 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004612/0.1241, allocations: 159.8 kB / 483.6 MB, free: 492 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1241, allocations: 0 / 483.6 MB, free: 492 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001953/0.1243, allocations: 87.88 kB / 483.7 MB, free: 404 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006259/0.125, allocations: 70.55 kB / 483.7 MB, free: 336 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.1263, allocations: 0.9289 MB / 484.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004319/0.1267, allocations: 0.8602 MB / 485.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.1268, allocations: 39.42 kB / 485.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1269, allocations: 4 kB / 485.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of Templates: time 0.007992/0.1349, allocations: 5.566 MB / 491.1 MB, free: 8.871 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches