Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001065/0.001064, 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.0012/0.0012, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.281/1.281, allocations: 227.4 MB / 247.5 MB, free: 10.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2014/0.2014, allocations: 46.09 MB / 344.9 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 75.88 kB / 419 MB, free: 19.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1119, allocations: 62.46 MB / 481.5 MB, free: 4.566 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.003186/0.1152, allocations: 1.587 MB / 483.1 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001007/0.1162, allocations: 0.5532 MB / 483.6 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.236e-05/0.1163, allocations: 8 kB / 483.6 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002141/0.1166, allocations: 23.84 kB / 483.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002924/0.1169, allocations: 79.61 kB / 483.7 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003094/0.1172, allocations: 91.7 kB / 483.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001585/0.1173, allocations: 71.81 kB / 483.9 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.1175, allocations: 12 kB / 483.9 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.357e-05/0.1175, allocations: 27.92 kB / 483.9 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.906e-05/0.1176, allocations: 39.77 kB / 484 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.1176, allocations: 4 kB / 484 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001854/0.1178, allocations: 103.9 kB / 484.1 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.248e-05/0.1179, allocations: 15.92 kB / 484.1 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.211e-05/0.1179, allocations: 23.81 kB / 484.1 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002573/0.1182, allocations: 159.6 kB / 484.3 MB, free: 1.762 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1182, allocations: 0 / 484.3 MB, free: 1.762 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1182, allocations: 0 / 484.3 MB, free: 1.762 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.1182, allocations: 0 / 484.3 MB, free: 1.762 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004653/0.1187, allocations: 403.1 kB / 484.7 MB, free: 1.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.1187, allocations: 8.031 kB / 484.7 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.096e-05/0.1188, allocations: 8.844 kB / 484.7 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.119, allocations: 204.2 kB / 484.9 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.286e-06/0.119, allocations: 384 / 484.9 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.119, allocations: 384 / 484.9 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.1192, allocations: 67.53 kB / 484.9 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.1192, allocations: 4 kB / 484.9 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.1192, allocations: 7.984 kB / 484.9 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1192, allocations: 11.94 kB / 485 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.671e-05/0.1193, allocations: 27.97 kB / 485 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004049/0.1197, allocations: 304.7 kB / 485.3 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.1199, allocations: 58.48 kB / 485.3 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.053e-05/0.1199, allocations: 32.97 kB / 485.4 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.12, allocations: 0 / 485.4 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.12, allocations: 34.56 kB / 485.4 MB, free: 456 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.91e-07/0.12, allocations: 0 / 485.4 MB, free: 456 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006091/0.1206, allocations: 181.2 kB / 485.6 MB, free: 268 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.1207, allocations: 77.11 kB / 485.7 MB, free: 172 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.1208, allocations: 161.2 kB / 485.8 MB, free: 0 / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.1209, allocations: 29.75 kB / 485.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.487e-05/0.1209, allocations: 96.02 kB / 485.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.868e-05/0.121, allocations: 27.56 kB / 486 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.229e-05/0.121, allocations: 29.7 kB / 486 MB, free: 15.8 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.63e-05/0.1211, allocations: 322.8 kB / 486.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.155e-05/0.1212, allocations: 27.97 kB / 486.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.745e-05/0.1213, allocations: 49.69 kB / 486.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.1215, allocations: 68.83 kB / 486.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1215, allocations: 0 / 486.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002103/0.1217, allocations: 113.5 kB / 486.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.1217, allocations: 8 kB / 486.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1217, allocations: 3.984 kB / 486.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.1218, allocations: 4.312 kB / 486.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.1219, allocations: 23.92 kB / 486.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1219, allocations: 4.062 kB / 486.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.758e-05/0.1219, allocations: 7.938 kB / 486.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.122, allocations: 0 / 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 (9): * Single equations (assignments): 9 * 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.517e-05/0.122, allocations: 125.8 kB / 486.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.697e-05/0.1221, allocations: 11.89 kB / 486.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002585/0.1223, allocations: 114.4 kB / 486.9 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.1224, allocations: 0 / 486.9 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.1224, allocations: 0 / 486.9 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1224, allocations: 0 / 486.9 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004518/0.1228, allocations: 402.3 kB / 487.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.1228, allocations: 7.938 kB / 487.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.199e-05/0.1229, allocations: 20.3 kB / 487.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1229, allocations: 4 kB / 487.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.1229, allocations: 3.938 kB / 487.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.123, allocations: 4 kB / 487.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.123, allocations: 4 kB / 487.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002388/0.1232, allocations: 199.4 kB / 487.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.729e-05/0.1233, allocations: 81.02 kB / 487.6 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/0.1233, allocations: 7.938 kB / 487.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.513e-05/0.1234, allocations: 7.984 kB / 487.6 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.179e-05/0.1234, allocations: 4 kB / 487.6 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.1234, allocations: 8 kB / 487.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.899e-05/0.1235, allocations: 115.2 kB / 487.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1235, allocations: 0 / 487.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002775/0.1238, allocations: 43.98 kB / 487.8 MB, free: 13.91 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 (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 Backend phase and start with SimCode phase: time 0.001074/0.1249, allocations: 0.493 MB / 488.2 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000225/0.1251, allocations: 79.94 kB / 488.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1251, allocations: 0 / 488.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.352e-05/0.1252, allocations: 35.92 kB / 488.4 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.1255, allocations: 21.41 kB / 488.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004371/0.126, allocations: 197.9 kB / 488.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/0.1262, allocations: 0.6963 MB / 489.3 MB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.136e-05/0.1263, allocations: 20.56 kB / 489.3 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.238e-05/0.1264, allocations: 23.42 kB / 489.3 MB, free: 12.47 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1264, allocations: 0 / 489.3 MB, free: 12.47 MB / 366.1 MB Notification: Performance of Templates: time 0.004439/0.1308, allocations: 1.959 MB / 491.3 MB, free: 10.51 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches