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.001306/0.001306, allocations: 108.4 kB / 17.86 MB, free: 5.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001515/0.001515, allocations: 209.7 kB / 18.79 MB, free: 4.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 227.4 MB / 246.9 MB, free: 9.059 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2089/0.2089, allocations: 46.1 MB / 344.3 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 75.06 kB / 417.5 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1076, allocations: 62.45 MB / 479.9 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.003059/0.1107, allocations: 1.641 MB / 481.6 MB, free: 4.031 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.1118, allocations: 0.5728 MB / 482.2 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.97e-05/0.1119, allocations: 0 / 482.2 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002292/0.1122, allocations: 19.94 kB / 482.2 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002457/0.1124, allocations: 67.75 kB / 482.2 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003052/0.1127, allocations: 99.19 kB / 482.3 MB, free: 3.273 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001466/0.1129, allocations: 59.84 kB / 482.4 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.113, allocations: 19.98 kB / 482.4 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.728e-05/0.1131, allocations: 31.84 kB / 482.4 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.775e-05/0.1132, allocations: 27.8 kB / 482.5 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.1132, allocations: 4 kB / 482.5 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001959/0.1134, allocations: 95.88 kB / 482.6 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.388e-05/0.1135, allocations: 19.91 kB / 482.6 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.611e-05/0.1135, allocations: 19.86 kB / 482.6 MB, free: 3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.1137, allocations: 103.8 kB / 482.7 MB, free: 2.898 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1137, allocations: 0 / 482.7 MB, free: 2.898 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.1137, allocations: 0 / 482.7 MB, free: 2.898 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.1137, allocations: 4 kB / 482.7 MB, free: 2.895 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.0005266/0.1143, allocations: 407.4 kB / 483.1 MB, free: 2.449 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.1143, allocations: 8.031 kB / 483.1 MB, free: 2.441 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.736e-05/0.1144, allocations: 8.844 kB / 483.1 MB, free: 2.434 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.1146, allocations: 196.1 kB / 483.3 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.1146, allocations: 8.375 kB / 483.3 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.1146, allocations: 384 / 483.3 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.1148, allocations: 71.52 kB / 483.4 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.1148, allocations: 0 / 483.4 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.1148, allocations: 8 kB / 483.4 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.1148, allocations: 0 / 483.4 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.352e-05/0.1149, allocations: 19.98 kB / 483.4 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004541/0.1154, allocations: 296.8 kB / 483.7 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.1155, allocations: 54.55 kB / 483.8 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.637e-05/0.1156, allocations: 20.86 kB / 483.8 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.1156, allocations: 4.078 kB / 483.8 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.1156, allocations: 34.5 kB / 483.8 MB, free: 1.613 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1157, allocations: 0 / 483.8 MB, free: 1.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006395/0.1163, allocations: 181.5 kB / 484 MB, free: 1.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.539e-05/0.1164, allocations: 85.05 kB / 484.1 MB, free: 1.328 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.1165, allocations: 148.1 kB / 484.2 MB, free: 1.176 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.1166, allocations: 25.7 kB / 484.3 MB, free: 1.145 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.899e-05/0.1166, allocations: 96.12 kB / 484.4 MB, free: 1.047 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.1167, allocations: 27.64 kB / 484.4 MB, free: 1.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.347e-05/0.1167, allocations: 25.7 kB / 484.4 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.1168, allocations: 322.8 kB / 484.7 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.1169, allocations: 31.97 kB / 484.8 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.364e-05/0.117, allocations: 45.69 kB / 484.8 MB, free: 0.582 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.1172, allocations: 64.83 kB / 484.9 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1172, allocations: 0 / 484.9 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002323/0.1174, allocations: 117.5 kB / 485 MB, free: 404 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.1175, allocations: 4 kB / 485 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1175, allocations: 0 / 485 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.1175, allocations: 0 / 485 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.1176, allocations: 27.91 kB / 485 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.1176, allocations: 320 / 485 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.023e-05/0.1177, allocations: 4 kB / 485 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.1177, allocations: 3.938 kB / 485 MB, free: 364 kB / 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 (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.163e-05/0.1178, allocations: 129.8 kB / 485.1 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.805e-05/0.1178, allocations: 7.906 kB / 485.1 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002671/0.1181, allocations: 122.2 kB / 485.3 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.1181, allocations: 0 / 485.3 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1181, allocations: 0 / 485.3 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1181, allocations: 0 / 485.3 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005186/0.1186, allocations: 402.3 kB / 485.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1187, allocations: 0 / 485.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.101e-05/0.1187, allocations: 15.98 kB / 485.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.1187, allocations: 0 / 485.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.1188, allocations: 7.938 kB / 485.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1188, allocations: 0 / 485.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1188, allocations: 0 / 485.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002587/0.119, allocations: 203.3 kB / 485.9 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.187e-05/0.1191, allocations: 81.11 kB / 486 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/0.1191, allocations: 7.922 kB / 486 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.908e-05/0.1192, allocations: 8 kB / 486 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.115e-05/0.1192, allocations: 4 kB / 486 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.1193, allocations: 7.984 kB / 486 MB, free: 15.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001125/0.1194, allocations: 117.7 kB / 486.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1194, allocations: 4 kB / 486.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002873/0.1197, allocations: 39.98 kB / 486.1 MB, free: 15.12 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.001094/0.1208, allocations: 499.4 kB / 486.6 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002219/0.121, allocations: 63.95 kB / 486.7 MB, free: 14.72 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.121, allocations: 0 / 486.7 MB, free: 14.72 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.95e-05/0.1211, allocations: 35.92 kB / 486.7 MB, free: 14.69 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.1214, allocations: 23.98 kB / 486.8 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004403/0.1219, allocations: 237.5 kB / 487 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.1222, allocations: 0.6965 MB / 487.7 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.848e-05/0.1222, allocations: 19.42 kB / 487.7 MB, free: 13.66 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1222, allocations: 0 / 487.7 MB, free: 13.66 MB / 366.1 MB Notification: Performance of Templates: time 0.003904/0.1261, allocations: 2.118 MB / 489.8 MB, free: 11.54 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