Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 108.2 kB / 18.39 MB, free: 4.754 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.001013/0.001013, allocations: 182.9 kB / 19.32 MB, free: 3.824 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.374/1.374, allocations: 222.9 MB / 243 MB, free: 15.09 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.2114/0.2114, allocations: 44.18 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.001211, allocations: 68.42 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1131, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.003123/0.1163, allocations: 1.614 MB / 472.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001553/0.1179, allocations: 1.058 MB / 473.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.241e-05/0.118, allocations: 4 kB / 473.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002135/0.1182, allocations: 31.77 kB / 473.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002373/0.1185, allocations: 43.78 kB / 473.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004749/0.1189, allocations: 167.1 kB / 473.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001634/0.1191, allocations: 67.78 kB / 473.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.1192, allocations: 19.98 kB / 473.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.887e-05/0.1193, allocations: 27.91 kB / 473.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001341/0.1194, allocations: 27.86 kB / 473.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.1195, allocations: 4 kB / 473.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001308/0.1196, allocations: 63.89 kB / 473.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.931e-05/0.1197, allocations: 11.94 kB / 473.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.092e-05/0.1197, allocations: 23.86 kB / 473.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.12, allocations: 103.7 kB / 474 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.12, allocations: 0 / 474 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.12, allocations: 4 kB / 474 MB, free: 10.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.034e-06/0.12, allocations: 0 / 474 MB, free: 10.38 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006026/0.1206, allocations: 387.2 kB / 474.3 MB, free: 9.957 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.1207, allocations: 12.03 kB / 474.4 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.039e-05/0.1207, allocations: 4.844 kB / 474.4 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.121, allocations: 192.2 kB / 474.5 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.121, allocations: 384 / 474.5 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.121, allocations: 4.375 kB / 474.5 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002265/0.1213, allocations: 79.5 kB / 474.6 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.1213, allocations: 4 kB / 474.6 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.1213, allocations: 8 kB / 474.6 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.1213, allocations: 0 / 474.6 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001577/0.1215, allocations: 39.89 kB / 474.7 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004996/0.122, allocations: 308.7 kB / 475 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.1221, allocations: 46.56 kB / 475 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.53e-05/0.1222, allocations: 24.94 kB / 475 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.1223, allocations: 3.938 kB / 475.1 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.961e-05/0.1223, allocations: 34.55 kB / 475.1 MB, free: 9.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 2.995e-06/0.1223, allocations: 4 kB / 475.1 MB, free: 9.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008146/0.1232, allocations: 225.1 kB / 475.3 MB, free: 8.859 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.208e-05/0.1232, allocations: 81.12 kB / 475.4 MB, free: 8.762 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.1234, allocations: 135.4 kB / 475.5 MB, free: 8.621 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.1234, allocations: 33.7 kB / 475.6 MB, free: 8.582 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.141e-05/0.1235, allocations: 96.11 kB / 475.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/0.1235, allocations: 27.59 kB / 475.7 MB, free: 8.457 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.197e-05/0.1236, allocations: 25.7 kB / 475.7 MB, free: 8.426 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.1237, allocations: 318.8 kB / 476 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.1239, allocations: 39.95 kB / 476 MB, free: 8.066 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.124, allocations: 57.69 kB / 476.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002373/0.1242, allocations: 80.8 kB / 476.2 MB, free: 7.922 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1243, allocations: 0 / 476.2 MB, free: 7.922 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000291/0.1246, allocations: 129.5 kB / 476.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.1246, allocations: 8.031 kB / 476.3 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1246, allocations: 320 / 476.3 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.1246, allocations: 0 / 476.3 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.1247, allocations: 19.98 kB / 476.3 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.1247, allocations: 0 / 476.3 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.89e-05/0.1248, allocations: 11.92 kB / 476.4 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.1248, allocations: 7.984 kB / 476.4 MB, free: 7.742 MB / 350.1 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.784e-05/0.1249, allocations: 113.8 kB / 476.5 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.518e-05/0.125, allocations: 15.89 kB / 476.5 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003384/0.1253, allocations: 137.9 kB / 476.6 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1253, allocations: 0 / 476.6 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1253, allocations: 0 / 476.6 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.1254, allocations: 11.92 kB / 476.6 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005608/0.1259, allocations: 402.5 kB / 477 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.1259, allocations: 0 / 477 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.202e-05/0.126, allocations: 23.92 kB / 477 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.126, allocations: 0 / 477 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.126, allocations: 3.938 kB / 477.1 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.1261, allocations: 3.938 kB / 477.1 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1261, allocations: 0 / 477.1 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003188/0.1264, allocations: 219.4 kB / 477.3 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.349e-05/0.1264, allocations: 89.02 kB / 477.4 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/0.1265, allocations: 3.938 kB / 477.4 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.539e-05/0.1266, allocations: 11.98 kB / 477.4 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.108e-05/0.1266, allocations: 7.984 kB / 477.4 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.1266, allocations: 4 kB / 477.4 MB, free: 6.609 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.491e-05/0.1267, allocations: 110.2 kB / 477.5 MB, free: 6.504 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1267, allocations: 0 / 477.5 MB, free: 6.504 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002806/0.127, allocations: 27.98 kB / 477.5 MB, free: 6.477 MB / 350.1 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.001288/0.1283, allocations: 463 kB / 478 MB, free: 6.191 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00033/0.1286, allocations: 91.92 kB / 478.1 MB, free: 6.102 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.1286, allocations: 0 / 478.1 MB, free: 6.102 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001278/0.1288, allocations: 47.91 kB / 478.1 MB, free: 6.055 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.1292, allocations: 19.48 kB / 478.1 MB, free: 6.039 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005074/0.1297, allocations: 206.3 kB / 478.3 MB, free: 5.801 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004581/0.1301, allocations: 0.6963 MB / 479 MB, free: 5.078 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.091e-05/0.1302, allocations: 19.94 kB / 479 MB, free: 5.059 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.247e-05/0.1303, allocations: 19.42 kB / 479.1 MB, free: 5.039 MB / 350.1 MB Notification: Performance of SimCode: time 7.71e-07/0.1303, allocations: 4 kB / 479.1 MB, free: 5.035 MB / 350.1 MB Notification: Performance of Templates: time 0.004686/0.135, allocations: 1.525 MB / 480.6 MB, free: 3.52 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches