Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.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.Test5,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.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,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.Test5") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001222/0.001222, 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.001244/0.001244, 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.341/1.341, allocations: 230.2 MB / 250.8 MB, free: 8.82 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.2144/0.2144, allocations: 46.89 MB / 351.8 MB, free: 7.348 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.002213/0.002213, allocations: 79.88 kB / 496.5 MB, free: 11.33 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2913, allocations: 65.98 MB / 0.5493 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.002902/0.2942, allocations: 1.636 MB / 0.5509 GB, free: 3.891 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009745/0.2952, allocations: 0.5494 MB / 0.5514 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.919e-05/0.2952, allocations: 0 / 0.5514 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002644/0.2955, allocations: 95.73 kB / 0.5515 GB, free: 3.242 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002718/0.2958, allocations: 111.6 kB / 0.5516 GB, free: 3.133 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002986/0.296, allocations: 123.2 kB / 0.5518 GB, free: 3.016 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001513/0.2962, allocations: 79.81 kB / 0.5518 GB, free: 2.938 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.699e-05/0.2963, allocations: 15.98 kB / 0.5518 GB, free: 2.922 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.026e-05/0.2964, allocations: 35.84 kB / 0.5519 GB, free: 2.887 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.2965, allocations: 63.73 kB / 0.5519 GB, free: 2.824 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.2965, allocations: 4 kB / 0.5519 GB, free: 2.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.727e-05/0.2966, allocations: 39.98 kB / 0.552 GB, free: 2.781 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.779e-05/0.2966, allocations: 23.92 kB / 0.552 GB, free: 2.758 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.471e-05/0.2967, allocations: 43.73 kB / 0.552 GB, free: 2.715 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.2969, allocations: 116 kB / 0.5522 GB, free: 2.605 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2969, allocations: 0 / 0.5522 GB, free: 2.605 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2969, allocations: 0 / 0.5522 GB, free: 2.605 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.2969, allocations: 0 / 0.5522 GB, free: 2.605 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.0005163/0.2974, allocations: 426.6 kB / 0.5526 GB, free: 2.141 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.2974, allocations: 8.031 kB / 0.5526 GB, free: 2.133 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.944e-05/0.2975, allocations: 16.84 kB / 0.5526 GB, free: 2.117 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.2976, allocations: 200.1 kB / 0.5528 GB, free: 1.883 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.125e-06/0.2977, allocations: 4.375 kB / 0.5528 GB, free: 1.879 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.392e-05/0.2977, allocations: 8.328 kB / 0.5528 GB, free: 1.871 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.2978, allocations: 57.8 kB / 0.5528 GB, free: 1.809 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.2978, allocations: 3.984 kB / 0.5528 GB, free: 1.805 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.2978, allocations: 4 kB / 0.5529 GB, free: 1.801 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.2979, allocations: 0 / 0.5529 GB, free: 1.801 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.808e-05/0.2979, allocations: 27.92 kB / 0.5529 GB, free: 1.773 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004256/0.2984, allocations: 304.8 kB / 0.5532 GB, free: 1.426 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.2985, allocations: 42.56 kB / 0.5532 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.855e-05/0.2985, allocations: 16.94 kB / 0.5532 GB, free: 1.355 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.2985, allocations: 0 / 0.5532 GB, free: 1.355 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.2986, allocations: 38.5 kB / 0.5533 GB, free: 1.309 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 7.71e-07/0.2986, allocations: 0 / 0.5533 GB, free: 1.309 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008453/0.2994, allocations: 253.2 kB / 0.5535 GB, free: 1.055 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.2995, allocations: 51.41 kB / 0.5536 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002297/0.2997, allocations: 235.1 kB / 0.5538 GB, free: 0.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.2997, allocations: 25.7 kB / 0.5538 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.538e-05/0.2998, allocations: 112.1 kB / 0.5539 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.168e-05/0.2998, allocations: 27.73 kB / 0.5539 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.965e-05/0.2998, allocations: 25.66 kB / 0.554 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.3, allocations: 322.8 kB / 0.5543 GB, free: 228 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.297e-05/0.3001, allocations: 31.97 kB / 0.5543 GB, free: 196 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.906e-05/0.3001, allocations: 27.98 kB / 0.5543 GB, free: 168 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/0.3003, allocations: 81.05 kB / 0.5544 GB, free: 84 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.3003, allocations: 3.938 kB / 0.5544 GB, free: 80 kB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002215/0.3005, allocations: 113.5 kB / 0.5545 GB, free: 15.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.3005, allocations: 4 kB / 0.5545 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.3005, allocations: 0 / 0.5545 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.3005, allocations: 0 / 0.5545 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.691e-05/0.3006, allocations: 23.98 kB / 0.5545 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.3006, allocations: 3.938 kB / 0.5545 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.778e-05/0.3007, allocations: 19.92 kB / 0.5546 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.3007, allocations: 0 / 0.5546 GB, free: 15.91 MB / 414.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.0001118/0.3008, allocations: 138.8 kB / 0.5547 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.39e-05/0.3008, allocations: 11.95 kB / 0.5547 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002877/0.3011, allocations: 135 kB / 0.5548 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.3011, allocations: 0 / 0.5548 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.3011, allocations: 0 / 0.5548 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.3011, allocations: 7.938 kB / 0.5548 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005269/0.3017, allocations: 427.2 kB / 0.5553 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3017, allocations: 0 / 0.5553 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.564e-05/0.3017, allocations: 15.98 kB / 0.5553 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.3017, allocations: 7.938 kB / 0.5553 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.3017, allocations: 0 / 0.5553 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3017, allocations: 3.938 kB / 0.5553 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3017, allocations: 4.031 kB / 0.5553 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002662/0.302, allocations: 216.3 kB / 0.5555 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.893e-05/0.3021, allocations: 85 kB / 0.5556 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.3021, allocations: 4 kB / 0.5556 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.385e-05/0.3021, allocations: 8 kB / 0.5556 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.71e-05/0.3022, allocations: 7.984 kB / 0.5556 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.3022, allocations: 4 kB / 0.5556 GB, free: 14.74 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001539/0.3023, allocations: 179.2 kB / 0.5558 GB, free: 14.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3023, allocations: 0 / 0.5558 GB, free: 14.56 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002427/0.3026, allocations: 23.95 kB / 0.5558 GB, free: 14.54 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.001585/0.3042, allocations: 462.2 kB / 0.5562 GB, free: 14.24 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002334/0.3044, allocations: 71.94 kB / 0.5563 GB, free: 14.17 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.3044, allocations: 0 / 0.5563 GB, free: 14.17 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.339e-05/0.3045, allocations: 43.91 kB / 0.5563 GB, free: 14.13 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.3048, allocations: 19.67 kB / 0.5564 GB, free: 14.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005839/0.3054, allocations: 278.9 kB / 0.5566 GB, free: 13.81 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003928/0.3058, allocations: 0.7146 MB / 0.5573 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.793e-05/0.3059, allocations: 24.66 kB / 0.5573 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.658e-05/0.3059, allocations: 19.42 kB / 0.5574 GB, free: 13.02 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3059, allocations: 0 / 0.5574 GB, free: 13.02 MB / 414.1 MB Notification: Performance of Templates: time 0.00425/0.3102, allocations: 1.425 MB / 0.5588 GB, free: 11.61 MB / 414.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.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[1,3],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.table[4,1],t_new.table[4,2],t_new.table[4,3],t_new.table[5,1],t_new.table[5,2],t_new.table[5,3],t_new.u[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time