Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001364/0.001364, allocations: 109.4 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001207/0.001207, allocations: 207.2 kB / 19.79 MB, free: 2.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 230.2 MB / 250.8 MB, free: 8.801 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2105/0.2105, allocations: 46.88 MB / 351.8 MB, free: 7.309 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002158/0.002158, allocations: 83.88 kB / 496.5 MB, free: 11.26 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2856, allocations: 65.97 MB / 0.5493 GB, free: 5.398 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.003117/0.2887, allocations: 1.632 MB / 0.5509 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001009/0.2897, allocations: 0.5533 MB / 0.5514 GB, free: 3.457 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.346e-05/0.2898, allocations: 0 / 0.5514 GB, free: 3.457 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002565/0.29, allocations: 75.77 kB / 0.5515 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003382/0.2904, allocations: 103.6 kB / 0.5516 GB, free: 3.281 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003535/0.2907, allocations: 111.7 kB / 0.5517 GB, free: 3.172 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001585/0.2909, allocations: 79.83 kB / 0.5518 GB, free: 3.094 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.291, allocations: 19.97 kB / 0.5518 GB, free: 3.074 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.52e-05/0.291, allocations: 35.86 kB / 0.5519 GB, free: 3.039 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.2911, allocations: 67.73 kB / 0.5519 GB, free: 2.973 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.2912, allocations: 0 / 0.5519 GB, free: 2.973 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.826e-05/0.2913, allocations: 47.98 kB / 0.552 GB, free: 2.926 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.131e-05/0.2913, allocations: 23.91 kB / 0.552 GB, free: 2.902 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.823e-05/0.2913, allocations: 27.75 kB / 0.552 GB, free: 2.875 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001932/0.2915, allocations: 112.5 kB / 0.5521 GB, free: 2.766 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.2915, allocations: 4 kB / 0.5521 GB, free: 2.762 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2915, allocations: 0 / 0.5521 GB, free: 2.762 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.2915, allocations: 0 / 0.5521 GB, free: 2.762 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004774/0.292, allocations: 418.7 kB / 0.5525 GB, free: 2.305 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.2921, allocations: 12.03 kB / 0.5525 GB, free: 2.293 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.712e-05/0.2921, allocations: 16.84 kB / 0.5525 GB, free: 2.277 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.2923, allocations: 204.8 kB / 0.5527 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.691e-06/0.2923, allocations: 384 / 0.5527 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.2923, allocations: 4.375 kB / 0.5527 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.2925, allocations: 61.8 kB / 0.5528 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.2925, allocations: 3.938 kB / 0.5528 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.934e-06/0.2925, allocations: 0 / 0.5528 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.2925, allocations: 4 kB / 0.5528 GB, free: 1.957 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.282e-05/0.2926, allocations: 31.97 kB / 0.5528 GB, free: 1.926 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00039/0.293, allocations: 296.8 kB / 0.5531 GB, free: 1.586 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.2931, allocations: 54.5 kB / 0.5532 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.964e-05/0.2931, allocations: 12.94 kB / 0.5532 GB, free: 1.508 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.2932, allocations: 4 kB / 0.5532 GB, free: 1.504 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.2932, allocations: 34.56 kB / 0.5532 GB, free: 1.461 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.2932, allocations: 0 / 0.5532 GB, free: 1.461 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008371/0.294, allocations: 241.3 kB / 0.5535 GB, free: 1.219 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.2941, allocations: 55.41 kB / 0.5535 GB, free: 1.152 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002242/0.2943, allocations: 218.3 kB / 0.5537 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.2943, allocations: 25.7 kB / 0.5537 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.705e-05/0.2944, allocations: 108 kB / 0.5538 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.87e-05/0.2944, allocations: 27.73 kB / 0.5539 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.133e-05/0.2944, allocations: 29.72 kB / 0.5539 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.2946, allocations: 322.8 kB / 0.5542 GB, free: 412 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.726e-05/0.2946, allocations: 31.97 kB / 0.5542 GB, free: 380 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.81e-05/0.2947, allocations: 27.97 kB / 0.5543 GB, free: 352 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.2949, allocations: 72.77 kB / 0.5543 GB, free: 276 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.2949, allocations: 3.938 kB / 0.5543 GB, free: 272 kB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002138/0.2951, allocations: 113.6 kB / 0.5544 GB, free: 152 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.2951, allocations: 4 kB / 0.5545 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.2951, allocations: 0 / 0.5545 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.2951, allocations: 4 kB / 0.5545 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.225e-05/0.2952, allocations: 16.41 kB / 0.5545 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.2952, allocations: 0 / 0.5545 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.768e-05/0.2953, allocations: 11.92 kB / 0.5545 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.2953, allocations: 4 kB / 0.5545 GB, free: 112 kB / 398.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 0.0001207/0.2954, allocations: 141.6 kB / 0.5546 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.718e-05/0.2954, allocations: 15.91 kB / 0.5546 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000286/0.2957, allocations: 127.3 kB / 0.5548 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.2957, allocations: 3.984 kB / 0.5548 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.2957, allocations: 3.984 kB / 0.5548 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.2957, allocations: 3.938 kB / 0.5548 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005175/0.2962, allocations: 431.3 kB / 0.5552 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2962, allocations: 0 / 0.5552 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.56e-05/0.2963, allocations: 27.92 kB / 0.5552 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.2963, allocations: 3.938 kB / 0.5552 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.2963, allocations: 0 / 0.5552 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.2963, allocations: 4 kB / 0.5552 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2963, allocations: 0 / 0.5552 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.2966, allocations: 208.4 kB / 0.5554 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.628e-05/0.2966, allocations: 96.94 kB / 0.5555 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.2967, allocations: 0 / 0.5555 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.318e-05/0.2967, allocations: 8 kB / 0.5555 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.76e-05/0.2968, allocations: 11.92 kB / 0.5555 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.2968, allocations: 0 / 0.5555 GB, free: 14.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001418/0.2969, allocations: 172.2 kB / 0.5557 GB, free: 14.76 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2969, allocations: 0 / 0.5557 GB, free: 14.76 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002315/0.2972, allocations: 16 kB / 0.5557 GB, free: 14.74 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.001604/0.2988, allocations: 463.7 kB / 0.5561 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002192/0.299, allocations: 67.89 kB / 0.5562 GB, free: 14.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.299, allocations: 0 / 0.5562 GB, free: 14.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.281e-05/0.2991, allocations: 39.97 kB / 0.5563 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.2994, allocations: 26.02 kB / 0.5563 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004884/0.2999, allocations: 266.6 kB / 0.5565 GB, free: 14.03 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.3002, allocations: 0.7119 MB / 0.5572 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.144e-05/0.3003, allocations: 20.95 kB / 0.5572 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.095e-05/0.3003, allocations: 11.44 kB / 0.5573 GB, free: 13.26 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3003, allocations: 4 kB / 0.5573 GB, free: 13.26 MB / 414.1 MB Notification: Performance of Templates: time 0.004163/0.3045, allocations: 1.415 MB / 0.5586 GB, free: 11.85 MB / 414.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" Variables in the reference:time,t_new.y[1],d_t_new.y,clock.y,d2_t_new.y Variables in the result:clock.offset,clock.startTime,clock.y,d2_t_new.u,d2_t_new.y,d_t_new.u,d_t_new.y,t_new.columns[1],t_new.extrapolation,t_new.isCsvExt,t_new.n,t_new.nHeaderLines,t_new.smoothness,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.table[6,1],t_new.table[6,2],t_new.u[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time