Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.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.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009731/0.0009732, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.0009371/0.0009372, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.306/1.306, allocations: 222.9 MB / 242.2 MB, free: 15.19 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.2104/0.2104, allocations: 44.18 MB / 336.6 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 65.17 kB / 408.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1196, allocations: 60.82 MB / 469.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.002971/0.1226, allocations: 1.614 MB / 470.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007821/0.1234, allocations: 435.1 kB / 471.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.852e-05/0.1235, allocations: 0 / 471.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002365/0.1237, allocations: 27.84 kB / 471.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002058/0.124, allocations: 47.77 kB / 471.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003015/0.1243, allocations: 111.7 kB / 471.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000159/0.1245, allocations: 79.78 kB / 471.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.1246, allocations: 32.25 kB / 471.6 MB, free: 12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.088e-05/0.1246, allocations: 23.92 kB / 471.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.25e-05/0.1247, allocations: 39.78 kB / 471.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.1248, allocations: 4 kB / 471.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.396e-05/0.1249, allocations: 51.97 kB / 471.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.994e-05/0.1249, allocations: 15.92 kB / 471.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.942e-05/0.125, allocations: 35.69 kB / 471.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001766/0.1252, allocations: 115.6 kB / 471.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1252, allocations: 0 / 471.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1252, allocations: 0 / 471.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1252, allocations: 0 / 471.9 MB, free: 11.72 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004645/0.1257, allocations: 395.2 kB / 472.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.1257, allocations: 8.031 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.643e-05/0.1258, allocations: 8.844 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/0.1259, allocations: 200.1 kB / 472.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.736e-06/0.126, allocations: 8.312 kB / 472.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/0.126, allocations: 8.375 kB / 472.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.1262, allocations: 81.78 kB / 472.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.1262, allocations: 0 / 472.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.1262, allocations: 4 kB / 472.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.1262, allocations: 0 / 472.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.1263, allocations: 47.95 kB / 472.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004225/0.1268, allocations: 332.6 kB / 472.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.1269, allocations: 58.56 kB / 473 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.042e-05/0.127, allocations: 24.84 kB / 473 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.127, allocations: 4 kB / 473 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.127, allocations: 34.56 kB / 473 MB, free: 10.37 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 2.665e-06/0.127, allocations: 0 / 473 MB, free: 10.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001016/0.1281, allocations: 331.7 kB / 473.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.1281, allocations: 51.41 kB / 473.4 MB, free: 9.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.1283, allocations: 156.3 kB / 473.6 MB, free: 9.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.1283, allocations: 29.7 kB / 473.6 MB, free: 9.785 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.691e-05/0.1283, allocations: 112 kB / 473.7 MB, free: 9.672 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.652e-05/0.1284, allocations: 43.36 kB / 473.8 MB, free: 9.629 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.256e-05/0.1284, allocations: 21.72 kB / 473.8 MB, free: 9.602 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.1285, allocations: 322.8 kB / 474.1 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.584e-05/0.1286, allocations: 43.97 kB / 474.1 MB, free: 9.234 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.087e-05/0.1287, allocations: 52.09 kB / 474.2 MB, free: 9.184 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001998/0.129, allocations: 112.8 kB / 474.3 MB, free: 9.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.129, allocations: 0 / 474.3 MB, free: 9.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002464/0.1292, allocations: 153.6 kB / 474.4 MB, free: 8.918 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.1292, allocations: 4 kB / 474.5 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.1292, allocations: 3.938 kB / 474.5 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.1293, allocations: 0 / 474.5 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.1294, allocations: 35.91 kB / 474.5 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.1294, allocations: 4 kB / 474.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.816e-05/0.1294, allocations: 4 kB / 474.5 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.1295, allocations: 0 / 474.5 MB, free: 8.867 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 (13): * Single equations (assignments): 13 * 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 8.914e-05/0.1295, allocations: 129.8 kB / 474.6 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.495e-05/0.1296, allocations: 11.91 kB / 474.6 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003475/0.1299, allocations: 182.3 kB / 474.8 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.13, allocations: 8 kB / 474.8 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.13, allocations: 0 / 474.8 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.13, allocations: 0 / 474.8 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005801/0.1306, allocations: 495 kB / 475.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1306, allocations: 0 / 475.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.674e-05/0.1307, allocations: 32.02 kB / 475.3 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1307, allocations: 0 / 475.3 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.1307, allocations: 4 kB / 475.3 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.1307, allocations: 3.984 kB / 475.3 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1307, allocations: 0 / 475.3 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003028/0.131, allocations: 256 kB / 475.6 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.198e-05/0.1311, allocations: 89.02 kB / 475.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.1311, allocations: 0 / 475.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.243e-05/0.1312, allocations: 11.98 kB / 475.7 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.845e-05/0.1312, allocations: 11.98 kB / 475.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/0.1312, allocations: 4 kB / 475.7 MB, free: 7.539 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.947e-05/0.1313, allocations: 119.3 kB / 475.8 MB, free: 7.422 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1313, allocations: 3.938 kB / 475.8 MB, free: 7.418 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002487/0.1316, allocations: 23.98 kB / 475.9 MB, free: 7.395 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 (13): * Single equations (assignments): 13 * 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.00101/0.1326, allocations: 459.5 kB / 476.3 MB, free: 7.121 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002975/0.1329, allocations: 119.6 kB / 476.4 MB, free: 7.008 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1329, allocations: 7.938 kB / 476.4 MB, free: 7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.1331, allocations: 67.84 kB / 476.5 MB, free: 6.934 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.1334, allocations: 18.17 kB / 476.5 MB, free: 6.918 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004661/0.1339, allocations: 258.9 kB / 476.8 MB, free: 6.637 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.1342, allocations: 0.708 MB / 477.5 MB, free: 5.902 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.183e-05/0.1343, allocations: 24.53 kB / 477.5 MB, free: 5.879 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.878e-05/0.1343, allocations: 19.42 kB / 477.5 MB, free: 5.859 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1343, allocations: 4 kB / 477.5 MB, free: 5.855 MB / 350.1 MB Notification: Performance of Templates: time 0.004001/0.1383, allocations: 1.532 MB / 479 MB, free: 4.332 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches