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.0007253/0.0007254, allocations: 95.95 kB / 18 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008651/0.0008651, allocations: 201.4 kB / 18.93 MB, free: 4.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.299/1.299, allocations: 227.7 MB / 247.5 MB, free: 11.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1904/0.1904, allocations: 46.18 MB / 345.9 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002565/0.0002565, allocations: 8.375 kB / 420.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1124, allocations: 63.57 MB / 483.7 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.002144/0.1146, allocations: 1.318 MB / 485.1 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.1156, allocations: 0.538 MB / 485.6 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.37e-05/0.1157, allocations: 7.875 kB / 485.6 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002263/0.116, allocations: 23.92 kB / 485.6 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002673/0.1163, allocations: 63.81 kB / 485.7 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003223/0.1166, allocations: 103.2 kB / 485.8 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001468/0.1167, allocations: 59.84 kB / 485.8 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.882e-05/0.1169, allocations: 11.98 kB / 485.9 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.672e-05/0.1169, allocations: 31.8 kB / 485.9 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.798e-05/0.117, allocations: 31.84 kB / 485.9 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.117, allocations: 4 kB / 485.9 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001841/0.1172, allocations: 87.94 kB / 486 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.777e-05/0.1173, allocations: 19.86 kB / 486 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.506e-05/0.1173, allocations: 45.56 kB / 486.1 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001987/0.1175, allocations: 103.8 kB / 486.2 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1175, allocations: 4 kB / 486.2 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1176, allocations: 0 / 486.2 MB, free: 1.711 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.1176, allocations: 0 / 486.2 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.0004724/0.118, allocations: 395.5 kB / 486.6 MB, free: 1.277 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.1181, allocations: 12.03 kB / 486.6 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.044e-05/0.1181, allocations: 8.844 kB / 486.6 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.1184, allocations: 188.2 kB / 486.8 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.1184, allocations: 384 / 486.8 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.1184, allocations: 12.31 kB / 486.8 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.1186, allocations: 71.47 kB / 486.9 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.1186, allocations: 7.984 kB / 486.9 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.1186, allocations: 0 / 486.9 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.1186, allocations: 0 / 486.9 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.453e-05/0.1187, allocations: 23.98 kB / 486.9 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004492/0.1192, allocations: 304.8 kB / 487.2 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.1193, allocations: 54.5 kB / 487.2 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.135e-05/0.1194, allocations: 24.94 kB / 487.3 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.1194, allocations: 4 kB / 487.3 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.1194, allocations: 30.56 kB / 487.3 MB, free: 440 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.1194, allocations: 4 kB / 487.3 MB, free: 436 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006659/0.1201, allocations: 201.5 kB / 487.5 MB, free: 228 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/0.1202, allocations: 85.11 kB / 487.6 MB, free: 124 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.1204, allocations: 148.5 kB / 487.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.1204, allocations: 29.64 kB / 487.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.283e-05/0.1204, allocations: 92.14 kB / 487.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.983e-05/0.1205, allocations: 27.64 kB / 487.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.819e-05/0.1205, allocations: 9.719 kB / 487.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.1207, allocations: 326.8 kB / 488.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.1208, allocations: 35.98 kB / 488.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.579e-05/0.1209, allocations: 53.62 kB / 488.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/0.121, allocations: 80.84 kB / 488.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1211, allocations: 0 / 488.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002518/0.1213, allocations: 117.8 kB / 488.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.1213, allocations: 4 kB / 488.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1214, allocations: 0 / 488.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.1214, allocations: 4 kB / 488.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.1215, allocations: 27.92 kB / 488.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1215, allocations: 0 / 488.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.249e-05/0.1216, allocations: 7.984 kB / 488.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.1216, allocations: 7.938 kB / 488.5 MB, free: 15.12 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 8.645e-05/0.1217, allocations: 117.8 kB / 488.6 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.343e-05/0.1217, allocations: 7.906 kB / 488.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000282/0.122, allocations: 122.3 kB / 488.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.122, allocations: 0 / 488.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.122, allocations: 7.938 kB / 488.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.122, allocations: 3.984 kB / 488.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005145/0.1225, allocations: 406.3 kB / 489.2 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1226, allocations: 0 / 489.2 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.586e-05/0.1226, allocations: 19.92 kB / 489.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.1227, allocations: 0 / 489.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.1227, allocations: 11.94 kB / 489.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1227, allocations: 0 / 489.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1227, allocations: 4 kB / 489.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002646/0.123, allocations: 199.4 kB / 489.4 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.58e-05/0.123, allocations: 85.02 kB / 489.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.123, allocations: 7.938 kB / 489.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.085e-05/0.1231, allocations: 15.98 kB / 489.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.853e-05/0.1232, allocations: 0 / 489.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.1232, allocations: 4 kB / 489.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.924e-05/0.1233, allocations: 115.2 kB / 489.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1233, allocations: 0 / 489.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000301/0.1236, allocations: 43.98 kB / 489.7 MB, free: 13.87 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.00111/0.1247, allocations: 499.6 kB / 490.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002315/0.125, allocations: 75.95 kB / 490.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.125, allocations: 0 / 490.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.753e-05/0.1251, allocations: 43.92 kB / 490.3 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.1254, allocations: 15.98 kB / 490.3 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000543/0.1259, allocations: 243 kB / 490.5 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.1262, allocations: 0.7005 MB / 491.2 MB, free: 12.4 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.716e-05/0.1263, allocations: 19.42 kB / 491.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1263, allocations: 0 / 491.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of Templates: time 0.0052/0.1315, allocations: 2.1 MB / 493.4 MB, free: 10.29 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 -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