Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001023/0.001023, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001173/0.001173, allocations: 207.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.307/1.307, allocations: 227.4 MB / 247.5 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2074/0.2074, allocations: 46.11 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 79.88 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1114, allocations: 62.44 MB / 481.5 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.002862/0.1143, allocations: 1.599 MB / 483.1 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009167/0.1152, allocations: 0.5571 MB / 483.6 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.448e-05/0.1153, allocations: 4 kB / 483.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002062/0.1155, allocations: 31.83 kB / 483.7 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00024/0.1158, allocations: 71.64 kB / 483.7 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000284/0.1161, allocations: 119.6 kB / 483.8 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.1162, allocations: 67.83 kB / 483.9 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.1163, allocations: 15.98 kB / 483.9 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.165e-05/0.1164, allocations: 31.86 kB / 484 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.952e-05/0.1165, allocations: 31.83 kB / 484 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.1165, allocations: 4 kB / 484 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001505/0.1167, allocations: 95.94 kB / 484.1 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.469e-05/0.1167, allocations: 19.86 kB / 484.1 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.791e-05/0.1168, allocations: 27.86 kB / 484.1 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.117, allocations: 139.7 kB / 484.3 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.117, allocations: 0 / 484.3 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.117, allocations: 0 / 484.3 MB, free: 1.711 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.117, allocations: 0 / 484.3 MB, free: 1.711 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004316/0.1175, allocations: 419.1 kB / 484.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.1175, allocations: 8.031 kB / 484.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.98e-05/0.1175, allocations: 8.844 kB / 484.7 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.1177, allocations: 192.2 kB / 484.9 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.1177, allocations: 4.375 kB / 484.9 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.1178, allocations: 4.375 kB / 484.9 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.1179, allocations: 67.52 kB / 485 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.1179, allocations: 4 kB / 485 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.1179, allocations: 4 kB / 485 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.118, allocations: 0 / 485 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.181e-05/0.118, allocations: 19.98 kB / 485 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004054/0.1185, allocations: 296.8 kB / 485.3 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.1186, allocations: 50.56 kB / 485.3 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.874e-05/0.1186, allocations: 24.94 kB / 485.3 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.1187, allocations: 0 / 485.3 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.1187, allocations: 30.56 kB / 485.4 MB, free: 444 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.1187, allocations: 4 kB / 485.4 MB, free: 440 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005594/0.1193, allocations: 185.2 kB / 485.6 MB, free: 248 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.1193, allocations: 88.97 kB / 485.6 MB, free: 140 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.1195, allocations: 152.1 kB / 485.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.1195, allocations: 25.7 kB / 485.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.096e-05/0.1196, allocations: 92.14 kB / 485.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.1196, allocations: 27.64 kB / 485.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.921e-05/0.1196, allocations: 21.72 kB / 486 MB, free: 15.8 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.124e-05/0.1197, allocations: 322.8 kB / 486.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.724e-05/0.1198, allocations: 31.97 kB / 486.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.533e-05/0.1199, allocations: 49.64 kB / 486.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.1201, allocations: 72.81 kB / 486.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1201, allocations: 0 / 486.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002065/0.1203, allocations: 117.7 kB / 486.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.1203, allocations: 8.031 kB / 486.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1203, allocations: 0 / 486.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.1203, allocations: 0 / 486.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.515e-05/0.1204, allocations: 19.98 kB / 486.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1204, allocations: 0 / 486.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.558e-05/0.1205, allocations: 4 kB / 486.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.1205, allocations: 3.938 kB / 486.6 MB, free: 15.16 MB / 366.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 (8): * Single equations (assignments): 8 * 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 7.353e-05/0.1206, allocations: 121.8 kB / 486.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.559e-05/0.1206, allocations: 11.91 kB / 486.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002635/0.1209, allocations: 118.3 kB / 486.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.1209, allocations: 0 / 486.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.1209, allocations: 4 kB / 486.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1209, allocations: 0 / 486.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004545/0.1214, allocations: 398.3 kB / 487.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1214, allocations: 4 kB / 487.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.986e-05/0.1215, allocations: 12 kB / 487.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1215, allocations: 288 / 487.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.1215, allocations: 7.922 kB / 487.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.1215, allocations: 0 / 487.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1215, allocations: 0 / 487.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/0.1217, allocations: 199.4 kB / 487.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.888e-05/0.1218, allocations: 85.11 kB / 487.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.1218, allocations: 3.938 kB / 487.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.364e-05/0.1219, allocations: 11.92 kB / 487.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.501e-05/0.1219, allocations: 0 / 487.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.1219, allocations: 4 kB / 487.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.889e-05/0.122, allocations: 125.5 kB / 487.7 MB, free: 13.97 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.122, allocations: 0 / 487.7 MB, free: 13.97 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002795/0.1223, allocations: 35.98 kB / 487.7 MB, free: 13.94 MB / 366.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.001025/0.1234, allocations: 0.5006 MB / 488.2 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002244/0.1236, allocations: 67.95 kB / 488.3 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1236, allocations: 4 kB / 488.3 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.938e-05/0.1237, allocations: 31.92 kB / 488.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.124, allocations: 19.55 kB / 488.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003996/0.1244, allocations: 197.8 kB / 488.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.1247, allocations: 0.6962 MB / 489.2 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.307e-05/0.1247, allocations: 24.94 kB / 489.2 MB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.776e-05/0.1248, allocations: 15.44 kB / 489.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1248, allocations: 0 / 489.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of Templates: time 0.004574/0.1294, allocations: 1.944 MB / 491.2 MB, free: 10.55 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches