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.001306/0.001306, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001474/0.001474, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, allocations: 227.4 MB / 246.9 MB, free: 9.008 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2203/0.2203, allocations: 46.1 MB / 344.3 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 79.33 kB / 417.5 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1062, allocations: 62.45 MB / 479.9 MB, free: 5.668 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.003137/0.1093, allocations: 1.649 MB / 481.6 MB, free: 4.004 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.1104, allocations: 0.5611 MB / 482.2 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.655e-05/0.1105, allocations: 0 / 482.2 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002072/0.1107, allocations: 11.94 kB / 482.2 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002355/0.111, allocations: 67.75 kB / 482.2 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002648/0.1113, allocations: 87.2 kB / 482.3 MB, free: 3.277 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001347/0.1114, allocations: 63.84 kB / 482.4 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.932e-05/0.1115, allocations: 19.98 kB / 482.4 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.793e-05/0.1116, allocations: 23.86 kB / 482.4 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.235e-05/0.1116, allocations: 31.84 kB / 482.5 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.1117, allocations: 0 / 482.5 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001926/0.1119, allocations: 103.9 kB / 482.6 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.659e-05/0.1119, allocations: 19.86 kB / 482.6 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.077e-05/0.112, allocations: 23.8 kB / 482.6 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002055/0.1122, allocations: 107.8 kB / 482.7 MB, free: 2.891 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1122, allocations: 0 / 482.7 MB, free: 2.891 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.1122, allocations: 0 / 482.7 MB, free: 2.891 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.1122, allocations: 0 / 482.7 MB, free: 2.891 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.0005489/0.1128, allocations: 411.4 kB / 483.1 MB, free: 2.441 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.1128, allocations: 8.031 kB / 483.1 MB, free: 2.434 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.491e-05/0.1129, allocations: 8.844 kB / 483.1 MB, free: 2.426 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002126/0.1131, allocations: 206.5 kB / 483.3 MB, free: 2.188 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.271e-06/0.1131, allocations: 384 / 483.3 MB, free: 2.188 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.567e-05/0.1131, allocations: 4.375 kB / 483.3 MB, free: 2.184 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.1133, allocations: 63.53 kB / 483.4 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.1133, allocations: 4 kB / 483.4 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.1133, allocations: 11.98 kB / 483.4 MB, free: 2.094 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.1133, allocations: 0 / 483.4 MB, free: 2.094 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.979e-05/0.1134, allocations: 23.98 kB / 483.4 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000507/0.114, allocations: 308.7 kB / 483.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.1141, allocations: 58.55 kB / 483.8 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.369e-05/0.1142, allocations: 28.97 kB / 483.8 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.1142, allocations: 4 kB / 483.8 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.1142, allocations: 30.56 kB / 483.8 MB, free: 1.578 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.263e-06/0.1142, allocations: 0 / 483.8 MB, free: 1.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006416/0.1149, allocations: 185.2 kB / 484 MB, free: 1.391 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.1149, allocations: 81.11 kB / 484.1 MB, free: 1.293 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.1151, allocations: 158.1 kB / 484.3 MB, free: 1.129 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.1151, allocations: 29.64 kB / 484.3 MB, free: 1.094 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.005e-05/0.1152, allocations: 96.12 kB / 484.4 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.633e-05/0.1152, allocations: 27.56 kB / 484.4 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.44e-05/0.1153, allocations: 25.7 kB / 484.4 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.1154, allocations: 326.8 kB / 484.8 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.255e-05/0.1155, allocations: 27.97 kB / 484.8 MB, free: 0.582 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.683e-05/0.1156, allocations: 49.69 kB / 484.8 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.1158, allocations: 68.95 kB / 484.9 MB, free: 468 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.1158, allocations: 0 / 484.9 MB, free: 468 kB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002897/0.1161, allocations: 121.5 kB / 485 MB, free: 340 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.1161, allocations: 4 kB / 485 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.1161, allocations: 3.984 kB / 485 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.1161, allocations: 0 / 485 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.1163, allocations: 23.92 kB / 485 MB, free: 308 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.1163, allocations: 0 / 485 MB, free: 308 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.163e-05/0.1163, allocations: 4 kB / 485.1 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.1163, allocations: 4 kB / 485.1 MB, free: 300 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 (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.079e-05/0.1164, allocations: 121.8 kB / 485.2 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.391e-05/0.1165, allocations: 15.89 kB / 485.2 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002738/0.1168, allocations: 110.4 kB / 485.3 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.1168, allocations: 0 / 485.3 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.1168, allocations: 0 / 485.3 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.1168, allocations: 3.938 kB / 485.3 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005485/0.1174, allocations: 410.5 kB / 485.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1174, allocations: 0 / 485.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.595e-05/0.1175, allocations: 19.92 kB / 485.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.1175, allocations: 0 / 485.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.1175, allocations: 12.3 kB / 485.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1175, allocations: 0 / 485.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1175, allocations: 0 / 485.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002861/0.1178, allocations: 207.4 kB / 485.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.708e-05/0.1179, allocations: 85.02 kB / 486 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.1179, allocations: 3.938 kB / 486 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.763e-05/0.118, allocations: 7.984 kB / 486 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.298e-05/0.118, allocations: 0 / 486 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.118, allocations: 11.94 kB / 486 MB, free: 15.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.852e-05/0.1181, allocations: 121.7 kB / 486.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1181, allocations: 0 / 486.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002973/0.1184, allocations: 40.08 kB / 486.2 MB, free: 15.04 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.001208/0.1197, allocations: 0.4921 MB / 486.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002378/0.1199, allocations: 71.94 kB / 486.8 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1199, allocations: 0 / 486.8 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.301e-05/0.12, allocations: 43.91 kB / 486.8 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.1204, allocations: 12.73 kB / 486.8 MB, free: 14.58 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004329/0.1208, allocations: 245.4 kB / 487.1 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.1211, allocations: 0.6965 MB / 487.8 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.845e-05/0.1212, allocations: 23.42 kB / 487.8 MB, free: 13.56 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1212, allocations: 192 / 487.8 MB, free: 13.56 MB / 366.1 MB Notification: Performance of Templates: time 0.004243/0.1254, allocations: 2.146 MB / 489.9 MB, free: 11.41 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 -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